Home | 簡體中文 | 繁體中文 | 雜文 | 知乎專欄 | Github | OSChina 博客 | 雲社區 | 雲棲社區 | Facebook | Linkedin | 視頻教程 | 打賞(Donations) | About
知乎專欄多維度架構 | 微信號 netkiller-ebook | QQ群:128659835 請註明“讀者”

13.3. xreflabel / xref

		
<para  id="ChooseSCSIid"  xreflabel="choosing a SCSI id">The methods
for choosing a <acronym>SCSI</acronym> id are ...
</para>
...
<para>
See the paragraph on <xref  linkend="ChooseSCSIid"/>.
</para>
		
		
		
<para  id="ChooseSCSIid"  >The methods
for <phrase  id="SCSIxref">choosing a <acronym>SCSI</acronym> id</phrase>
are ...
</para>
...
<para>
See the paragraph on <xref  linkend="ChooseSCSIid"  endterm="SCSIxref"/>.
</para>
		
		

		
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
          "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
<book>
	<title>An Example Book</title>
<chapter id="ch01">
	<title>XRef Samples</title>
	<para>This paragraph demonstrates several features of<sgmltag>XRef</sgmltag>.</para>
	<itemizedlist>
		<listitem><para>A straight link generates the cross-reference text: <xref linkend="ch02"/>.</para></listitem>
		<listitem><para>A link to an element with an <sgmltag class="attribute">XRefLabel</sgmltag>:<xref linkend="ch03"/>.</para></listitem>
		<listitem><para>A link with an<sgmltag class="attribute">EndTerm</sgmltag>:<xref linkend="ch04" endterm="ch04short"/>.</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>