<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>component.label.includes.part.label</title><link rel="stylesheet" type="text/css" href="../reference.css"><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><link rel="home" href="../index.html" title="DocBook XSL Stylesheets: Reference Documentation"><link rel="up" href="labels.html" title="Automatic labelling"><link rel="prev" href="label.from.part.html" title="label.from.part"><link rel="next" href="xslt.html" title="XSLT Processing"><link rel="copyright" href="copyright.html" title="License"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">component.label.includes.part.label</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="label.from.part.html">Prev</a> </td><th width="60%" align="center">Automatic labelling</th><td width="20%" align="right"> <a accesskey="n" href="xslt.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="component.label.includes.part.label"></a><div class="titlepage"></div> <div class="refnamediv"><h2><span class="refentrytitle">component.label.includes.part.label</span></h2><p> component.label.includes.part.label — Do component labels include the part label? </p></div> <div class="refsynopsisdiv"><h2>Synopsis</h2> <a name="component.label.includes.part.label.frag"></a><pre class="programlisting"><xsl:param name="component.label.includes.part.label" select="0"></xsl:param></pre> </div> <div class="refsection"><a name="idp4046576"></a><h2>Description</h2> <p>If non-zero, number labels for <a href="http://docbook.org/tdg5/en/html/chapter.html"><code class="sgmltag-element">chapter</code></a>, <a href="http://docbook.org/tdg5/en/html/appendix.html"><code class="sgmltag-element">appendix</code></a>, and other component elements are prefixed with the label of the part element that contains them. So you might see Chapter II.3 instead of Chapter 3. Also, the labels for formal elements such as <a href="http://docbook.org/tdg5/en/html/table.html"><code class="sgmltag-element">table</code></a> and <a href="http://docbook.org/tdg5/en/html/figure.html"><code class="sgmltag-element">figure</code></a> will include the part label. If there is no part element container, then no prefix is generated. </p> <p> This feature is most useful when the <a href="../html/label.from.part.html"><em class="parameter"><code>label.from.part</code></em></a> parameter is turned on. In that case, there would be more than one <a href="http://docbook.org/tdg5/en/html/chapter.html"><code class="sgmltag-element">chapter</code></a> <span class="quote">“<span class="quote">1</span>”</span>, and the extra part label prefix will identify each chapter unambiguously. </p> </div> </div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="label.from.part.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="labels.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="xslt.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">label.from.part </td><td width="20%" align="center"><a accesskey="h" href="../index.html">Home</a></td><td width="40%" align="right" valign="top"> XSLT Processing</td></tr></table></div></body></html>