← Prev in month ← Prev in thread

sorting a bibliography

From
Emma Jane Hogbin <>
Date
2003-12-10T17:20:42+00:00
ID
20031210172700.GA2741@debian
Thread
sorting a bibliography
Hi,

I'm currently working on a document for the Linux Documentation Project.
Alas, I am a lazy author (or perhaps that should read: moderately horrid
at alphabetical correctness) but moderately good with google. I have a 
gaggle of items in my bibliography, but they are not in order.

I'd like to tweak my biblio.xsl (nwalsh) file so that each <bibliodiv /> 
is sorted alphabetically by <biblioentry /><title /> when the document is
output to XHTML.

/usr/share/sgml/docbook/stylesheet/xsl/nwalsh/xhtml/biblio.xsl
contains:
<xsl:template match="bibliodiv">
  <div xmlns="http://www.w3.org/1999/xhtml" class="{name(.)}">
    <xsl:apply-templates>
         <xsl:sort select="bibilioentry/title" data-type="text" order="descending"/>
    </xsl:apply-templates>
  </div>
</xsl:template>

Although this throws up no errors, it does not sort the bibliography by
title in the output XHTML file.

Thank you for any help you may be able to give me,
emma

-- 
Emma Jane Hogbin
[[ 416 417 2868 ][ www.xtrinsic.com ]]
← Prev in month ← Prev in thread