This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: [docbook-apps] sorting a bibliography
- From: Emma Jane Hogbin <emmajane at xtrinsic dot com>
- To: docbook-apps at lists dot oasis-open dot org
- Date: Wed, 10 Dec 2003 13:15:31 -0500
- Subject: Re: [docbook-apps] sorting a bibliography
- References: <20031210172700.GA2741@debian> <00d601c3bf46$9f9ba720$6401a8c0@slimbob>
- Reply-to: Emma Jane Hogbin <emmajane at xtrinsic dot com>
On Wed, Dec 10, 2003 at 09:54:13AM -0800, Bob Stayton wrote:
> The problem was selection and context. Try this one:
Thanks, that works! (Almost)
One of the sections is still not being correctly sorted though.
The output is:
Linux Documentation Project (LDP) FAQ
CVS .
CVS--Concurrent Versions System .
CVS: Project Management .
Learning About CVS .
But the markup is identical to the other bibliodivs...
http://xtrinsic.com/geek/articles/output.html#bibliography (warning:
250K!)
http://xtrinsic.com/geek/articles/references.xml (it's only a fragment
of the much, much longer document)
to sample the weirdness. It's especially a problem in the longer
bibliodivs.
> In this version, it selects the non-biblioentry children
> of the bibliodiv to process first,
> so your bibliodiv title doesn't get sorted. Then it selects the
> biblioentry elements for sorting. For the sort, the context is
> each biblioentry element, so specify its child "title" in the
> select attribute.
It'll take me a number of readings to understand this. I'm generally good
with the DOM and SQL select statements, but I don't grok that paragraph
yet. It's ok though, I understand what it's doing, I just don't understand
the language yet.
> And I think you want order="ascending", right?
D'oh! Yes. :)
emma
--
Emma Jane Hogbin
[[ 416 417 2868 ][ www.xtrinsic.com ]]
To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.