docbook: transformations: alphabetizing bibliographies
Subject:
Re: transformations: alphabetizing bibliographies
From:
Emma Jane Hogbin ####@####.####
Date:
8 Dec 2003 23:21:11 -0000
Message-Id: <20031208232047.GA6043@debian>
On Mon, Dec 08, 2003 at 05:30:13PM -0500, John R. Daily wrote:
> At (time_t)759482524 Saqib Ali wrote:
> > <xsl:sort
> > select=document/article/bibliography/bibilioentry[.=current()]"
> > order="ascending" />
>
> <xsl:template match="bibliography">
> <xsl:apply-templates>
> <xsl:sort select="biblioentry/title" data-type="text" order="ascending"/>
> </xsl:apply-templates>
> </xsl:template>
I don't really understand if I'm pasting that information into the right
place; however both yield errors...
<xsl:template match="bibliodiv">
<div xmlns="http://www.w3.org/1999/xhtml" class="{name(.)}">
<xsl:apply-templates/>
<xsl:sort select="document/article/bibliography/bibilioentry[.=current()]" data-type="text" or
der="descending"/>
</div>
</xsl:template>
runtime error: file /usr/share/sgml/docbook/stylesheet/xsl/nwalsh/xhtml/biblio.xsl line 61 element sort
xsl:sort : improper use this should not be reached
--
Emma Jane Hogbin
[[ 416 417 2868 ][ www.xtrinsic.com ]]