33 lines
1.2 KiB
XML
33 lines
1.2 KiB
XML
<refentry xmlns="http://docbook.org/ns/docbook"
|
|
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
xmlns:xi="http://www.w3.org/2001/XInclude"
|
|
xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
|
|
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
|
version="5.0" xml:id="rootid">
|
|
<refmeta>
|
|
<refentrytitle>rootid</refentrytitle>
|
|
<refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
|
|
</refmeta>
|
|
<refnamediv>
|
|
<refname>rootid</refname>
|
|
<refpurpose>Specify the root element to format</refpurpose>
|
|
</refnamediv>
|
|
|
|
<refsynopsisdiv>
|
|
<src:fragment xml:id="rootid.frag">
|
|
<xsl:param name="rootid" ></xsl:param></src:fragment>
|
|
</refsynopsisdiv>
|
|
|
|
<refsection><info><title>Description</title></info>
|
|
|
|
<para>If <parameter>rootid</parameter> is not empty, it must be the
|
|
value of an ID that occurs in the document being formatted. The entire
|
|
document will be loaded and parsed, but formatting will begin at the
|
|
element identified, rather than at the root. For example, this allows
|
|
you to process only <tag>chapter</tag> 4 of a <tag>book</tag>.</para>
|
|
<para>Because the entire document is available to the processor, automatic
|
|
numbering, cross references, and other dependencies are correctly
|
|
resolved.</para>
|
|
|
|
</refsection>
|
|
</refentry>
|