docbook: transformations: alphabetizing bibliographies
Subject:
Re: transformations: alphabetizing bibliographies
From:
Saqib Ali ####@####.####
Date:
8 Dec 2003 22:00:59 -0000
Message-Id: <Pine.GSO.4.55.0312081337540.16010@sjgcs1.stsj.seagate.com>
John,
Will something like the following work???
<xsl:sort
select=document/article/bibliography/bibilioentry[.=current()]"
order="ascending" />
Thanks.
Saqib Ali
-------------
http://validate.sf.net <---- HTML/XHTML/DocBook Validator
On Mon, 8 Dec 2003, John R. Daily wrote:
> At (time_t)759481298 Emma Jane Hogbin wrote:
>
> > I know virtually nothing about manipulating XML documents; however, I'm
> > wondering how hard it would be to have a customized XSLT (?) that sorted
> > the bibliography in one of my documents so that it was alphabetically
> > correct.
>
> xsl:sort is probably what you want, but I'd have to do some
> experimentation as time permits to figure out how best to leverage
> it.
>
> What do you want to sort by? Will words like "The" be pushed to
> the back of the title (assuming you want to sort by title)?
>
> -John
>
>
> ______________________
> http://lists.tldp.org/
>
>