use.id.function.xml 1.2 KB

1234567891011121314151617181920212223242526272829303132
  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. <refsynopsisdiv>
  16. <src:fragment xml:id="use.id.function.frag">
  17. <xsl:param name="use.id.function" select="1"/>
  18. </src:fragment>
  19. </refsynopsisdiv>
  20. <refsection><info><title>Description</title></info>
  21. <para>If 1, the stylesheets use the <function>id()</function> function
  22. to find the targets of cross reference elements. This is more
  23. efficient, but only works if your XSLT processor implements the
  24. <function>id()</function> function, naturally.</para>
  25. <para>THIS PARAMETER IS NOT SUPPORTED. IT IS ALWAYS ASSUMED TO BE 1.
  26. SEE xref.xsl IF YOU NEED TO TURN IT OFF.</para>
  27. </refsection>
  28. </refentry>