]> git.stg.codes - stg.git/blob - doc/xslt/params/glossary.sort.xml
Ticket 26. The 'return -1' removed, 'else' added for the
[stg.git] / doc / xslt / params / glossary.sort.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="glossary.sort">
7 <refmeta>
8 <refentrytitle>glossary.sort</refentrytitle>
9 <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
10 </refmeta>
11 <refnamediv>
12 <refname>glossary.sort</refname>
13 <refpurpose>Sort glossentry elements?</refpurpose>
14 </refnamediv>
15
16 <refsynopsisdiv>
17 <src:fragment xml:id="glossary.sort.frag">
18 <xsl:param name="glossary.sort" select="0"/>
19 </src:fragment>
20 </refsynopsisdiv>
21
22 <refsection><info><title>Description</title></info>
23
24 <para>If non-zero, then the glossentry elements within a
25 glossary, glossdiv, or glosslist are sorted on the glossterm, using
26 the current lang setting.  If zero (the default), then
27 glossentry elements are not sorted and are presented
28 in document order.
29 </para>
30
31 </refsection>
32 </refentry>