| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 | <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="generate.consistent.ids"><refmeta><refentrytitle>generate.consistent.ids</refentrytitle><refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo></refmeta><refnamediv><refname>generate.consistent.ids</refname><refpurpose>Generate consistent id values if document is unchanged</refpurpose></refnamediv><refsynopsisdiv><src:fragment xml:id="generate.consistent.ids.frag"><xsl:param name="generate.consistent.ids" select="0"/></src:fragment></refsynopsisdiv><refsection><info><title>Description</title></info><para>When the stylesheet assigns an id value to an output element,the generate-id() function may be used.  That function may notproduce consistent values between runs.  Version controlsystems may misidentify the changing id values as changesto the document.</para><para>If you set this parameter's value to 1, then thetemplate named <literal>object.id</literal> will replacethe use of the function generate-id() with<literal><xsl:number level="multiple" count="*"/></literal>.This counts preceding elements to generate a unique number forthe id value.</para><caution><para>This param does not associate permanent unique id valueswith particular elements.The id values are consistent only as long as the documentstructure does not change.If the document structure changes, then the countingof elements changes, and all id values afterthe first such change may be different, even when there isno change to the element itself or its output.</para></caution><para>The default value of this parameter is zero, so generate-id() is usedby default.</para></refsection></refentry>
 |