2 <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
3 <book><title>An Example Book</title><chapter id="ch01"><title>XRef Samples</title><para>
\r
4 This paragraph demonstrates several features of
\r
5 <sgmltag>XRef</sgmltag>.
\r
6 </para><itemizedlist><listitem><para>A straight link generates the
\r
7 cross-reference text: <xref linkend="ch02"/>.
\r
8 </para></listitem><listitem><para>A link to an element with an
\r
9 <sgmltag class="attribute">XRefLabel</sgmltag>:
\r
10 <xref linkend="ch03"/>.
\r
11 </para></listitem><listitem><para>A link with an
\r
12 <sgmltag class="attribute">EndTerm</sgmltag>:
\r
13 <xref linkend="ch04" endterm="ch04short"/>.
\r
14 </para></listitem></itemizedlist></chapter><chapter id="ch02"><title>The Second Chapter</title><para>Some content here</para></chapter><chapter id="ch03" xreflabel="Chapter the Third"><title>The Third Chapter</title><para>Some content here</para></chapter><chapter id="ch04"><title>The Fourth Chapter</title><titleabbrev id="ch04short">Chapter 4</titleabbrev><para>Some content here</para></chapter></book>