docbook: transformations: alphabetizing bibliographies


Previous by date: 8 Dec 2003 22:30:15 -0000 Re: transformations: alphabetizing bibliographies, Saqib Ali
Next by date: 8 Dec 2003 22:30:15 -0000 Re: transformations: alphabetizing bibliographies, Emma Jane Hogbin
Previous in thread: 8 Dec 2003 22:30:15 -0000 Re: transformations: alphabetizing bibliographies, Saqib Ali
Next in thread: 8 Dec 2003 22:30:15 -0000 Re: transformations: alphabetizing bibliographies, Emma Jane Hogbin

Subject: Re: transformations: alphabetizing bibliographies
From: "John R. Daily" ####@####.####
Date: 8 Dec 2003 22:30:15 -0000
Message-Id: <200312082230.hB8MUDBs019020@ms-smtp-03-eri0.ohiordc.rr.com>

At (time_t)759482524 Saqib Ali wrote:

> <xsl:sort
> select=document/article/bibliography/bibilioentry[.=current()]"
> order="ascending" />

Here's a modified example from "XSLT for Dummies", my favorite
quick-hit reference book.  Note that I don't understand
bibliographies, so I've simplified (and probably broken) the
select; also note that in order this to work, there'd
have to be a way to call the original bibliography template, or
this would have to be incorporated into a replacement template.

<xsl:template match="bibliography">
  <xsl:apply-templates>
    <xsl:sort select="biblioentry/title" data-type="text" order="ascending"/>
  </xsl:apply-templates>
</xsl:template>

-John


Previous by date: 8 Dec 2003 22:30:15 -0000 Re: transformations: alphabetizing bibliographies, Saqib Ali
Next by date: 8 Dec 2003 22:30:15 -0000 Re: transformations: alphabetizing bibliographies, Emma Jane Hogbin
Previous in thread: 8 Dec 2003 22:30:15 -0000 Re: transformations: alphabetizing bibliographies, Saqib Ali
Next in thread: 8 Dec 2003 22:30:15 -0000 Re: transformations: alphabetizing bibliographies, Emma Jane Hogbin


  ©The Linux Documentation Project, 2014. Listserver maintained by dr Serge Victor on ibiblio.org servers. See current spam statz.