Hi,

I'm trying to get the glossary.sort parameter to work in my PDF output as we 
are generating a document in multiple languages, so the order of the glossary 
terms changes, depending on the language.


I have added <xsl:param name="glossary.sort" select="0"></xsl:param>
 to the param.xsl in our customisation layer, but have made no other changes to 
the glossary in our customisation layer.

The result of the sort does not behave like I expected, or as it is documented 
at http://www.sagehill.net/docbookxsl/GlossarySort.html, unless I've 
misunderstood it.

My glossary is set up with a glossdiv for each letter in English. When I 
generate another language, the translations for the terms in the first glossdiv 
are in alphabetical order, but only within that glossdiv, and each subsequent 
glossdiv has sorted content but only within that block.

>From the information on the above html page, I got the impression that the 
>parent element container, in my case, the glossary, would be where the terms 
>were sorted. Have I misunderstood this?

You cannot add a glossterm directly to the glossary, so another child block 
element is needed. In order to alphabetise this the way I want, the only 
solution I can see is removing the individual glossdivs but one, and just add 
all glossterms to a single one, eliminating the possibility of having 
individual letters. On the website it says that 'There is currently no 
provision for generating letter titles to divide letter groups...etc.'

Has anyone done this to include the letters? Or could anyone provide me with a 
little more guidance on how to get this to work for me?

Any information would be helpful.

Kind Regards,

Laurie.

Laurie Burley
Sr. Tech Comm Spc.
Kofax U.K., Ltd.

201 Cambridge Science Park
Milton Road, Cambridge
CB4 0GZ
United Kingdom

Tel: +44 (0) 1223 226021
[email protected]


________________________________

This communication is only for the use of the intended recipient. It may 
contain confidential or proprietary information. If you are not the intended 
recipient or have received this communication in error, please notify the 
sender via phone and destroy this communication immediately.

Reply via email to