]> granicus.if.org Git - docbook-dsssl/commitdiff
dd support for sorting glossary entries
authorBob Stayton <bobs@sagehill.net>
Sat, 6 Jan 2007 18:13:12 +0000 (18:13 +0000)
committerBob Stayton <bobs@sagehill.net>
Sat, 6 Jan 2007 18:13:12 +0000 (18:13 +0000)
xsl/params/glossary.sort.xml [new file with mode: 0644]

diff --git a/xsl/params/glossary.sort.xml b/xsl/params/glossary.sort.xml
new file mode 100644 (file)
index 0000000..6ad7963
--- /dev/null
@@ -0,0 +1,29 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="glossary.sort">
+<refmeta>
+<refentrytitle>glossary.sort</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>glossary.sort</refname>
+<refpurpose>Sort glossentry elements?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='glossary.sort.frag'>
+<xsl:param name="glossary.sort" select="0"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If non-zero, then the glossentry elements within a
+glossary or glosslist are sorted on the glossterm, using
+the current lang setting.  If zero (the default), then
+glossentry elements are not sorted and are presented
+in document order.
+</para>
+
+</refsect1>
+</refentry>