]> git.stg.codes - stg.git/blob - doc/xslt/params/use.id.function.xml
Ticket 37. The changePolicy() parameter added in the struct
[stg.git] / doc / xslt / params / use.id.function.xml
1 <refentry xmlns="http://docbook.org/ns/docbook"
2           xmlns:xlink="http://www.w3.org/1999/xlink"
3           xmlns:xi="http://www.w3.org/2001/XInclude"
4           xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
5           xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
6           version="5.0" xml:id="use.id.function">
7 <refmeta>
8 <refentrytitle>use.id.function</refentrytitle>
9 <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
10 </refmeta>
11 <refnamediv>
12 <refname>use.id.function</refname>
13 <refpurpose>Use the XPath id() function to find link targets?</refpurpose>
14 </refnamediv>
15
16 <refsynopsisdiv>
17 <src:fragment xml:id="use.id.function.frag">
18 <xsl:param name="use.id.function" select="1"/>
19 </src:fragment>
20 </refsynopsisdiv>
21
22 <refsection><info><title>Description</title></info>
23
24 <para>If 1, the stylesheets use the <function>id()</function> function
25 to find the targets of cross reference elements. This is more
26 efficient, but only works if your XSLT processor implements the
27 <function>id()</function> function, naturally.</para>
28 <para>THIS PARAMETER IS NOT SUPPORTED. IT IS ALWAYS ASSUMED TO BE 1.
29 SEE xref.xsl IF YOU NEED TO TURN IT OFF.</para>
30
31 </refsection>
32 </refentry>