1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE article PUBLIC "-//Boost//DTD BoostBook XML V1.0//EN" "http://www.boost.org/tools/boostbook/dtd/boostbook.dtd">
3 <article id="anchor_test" last-revision="DEBUG MODE Date: 2000/12/20 12:00:00 $"
4 xmlns:xi="http://www.w3.org/2001/XInclude">
5 <title>Anchor Test</title>
6 <section id="anchor_test.anchors">
9 <anchor id="a1"/>A paragraph containing several anchors. <anchor id="a2"/>We
10 want to make sure they appear in the correct place. <anchor id="a3"/>
12 <bridgehead renderas="sect3" id="anchor_test.anchors.h0">
13 <phrase id="anchor_test.anchors.this_heading_shouldn_t_pick_up_the_previous_anchor"/><link
14 linkend="anchor_test.anchors.this_heading_shouldn_t_pick_up_the_previous_anchor">This
15 heading shouldn't pick up the previous anchor</link>
18 <bridgehead renderas="sect3" id="anchor_test.anchors.h1">
19 <phrase id="anchor_test.anchors.this_heading_should_pick_up_the_previous_anchor"/><link
20 linkend="anchor_test.anchors.this_heading_should_pick_up_the_previous_anchor">This
21 heading should pick up the previous anchor</link>
24 <bridgehead renderas="sect3" id="anchor_test.anchors.h2">
25 <phrase id="anchor_test.anchors.and_this_one"/><link linkend="anchor_test.anchors.and_this_one">And
29 <bridgehead renderas="sect3" id="anchor_test.anchors.h3">
30 <phrase id="anchor_test.anchors.also_this_one"/><link linkend="anchor_test.anchors.also_this_one">Also
34 <bridgehead renderas="sect3" id="anchors.finally_this">
39 <section id="anchor_test.section_anchor">
40 <title><anchor id="a9"/>Section Anchor</title>
41 <section id="anchor_test.nested_section">
42 <title><anchor id="a10"/>Nested Section</title>
46 <section id="anchor_test.conditional_section_anchor">
47 <title><anchor id="a12"/>Conditional Section Anchor</title>
49 <section id="anchor_test.lists">
50 <title>Lists</title> <anchor id="a14"/>
64 Nested List <anchor id="a15"/>
78 <anchor id="a16"/>Nested Item 3
91 <section id="anchor_test.anchors_in_templates">
92 <title>Anchors in templates</title>
94 <anchor id="t1"/>Some text.
97 <anchor id="t2"/>Text content
100 <section id="anchor_test.anchors_in_syntax_highlighted_code">
101 <title>Anchors in syntax highlighted code</title>
102 <programlisting><phrase role="keyword">int</phrase> <anchor id="s1"/><phrase role="identifier">main</phrase><phrase role="special">()</phrase> <phrase role="special">{}</phrase>
105 <section id="anchor_test.nested_anchors">
106 <title>Nested anchors</title>
107 <table frame="all" id="anchor_test.nested_anchors.t0">
108 <title>Table with anchors</title>
123 <anchor id="table1"/>Cell 1
130 <anchor id="table2"/>Cell 2
137 Cell 3<anchor id="table3"/>