This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: Sorting and non-en_US indexes
- From: Jirka Kosek <jirka at kosek dot cz>
- To: David Cramer <dcramer at broadjump dot com>
- Cc: "docbook-apps at lists dot oasis-open dot org" <docbook-apps at lists dot oasis-open dot org>
- Date: Wed, 25 Sep 2002 22:47:34 +0200
- Subject: Re: DOCBOOK-APPS: Sorting and non-en_US indexes
- References: <97B71B827DFB2B448A73EC00E5DA0EE632427D@logos.inhouse.broadjump.com>
David Cramer wrote:
>
> Actually, I think AVTs are ok in lang on xsl:sort even in 1.0. The text
> of the spec isn't clear, but if the 'non-normative dtd' can be trusted,
> avts are ok:
> http://www.zvon.org/xxl/XSLTreference/W3C/xslt.html#dtd
>
> <!ELEMENT xsl:sort EMPTY>
> <!ATTLIST xsl:sort
> select %expr; "."
> lang %avt; #IMPLIED
> ^^^^^
> data-type %avt; "text"
> order %avt; "ascending"
> case-order %avt; #IMPLIED
> >
But XSLT 1.0 is clear in this issue, I think. See section 10:
<xsl:sort
select = string-expression
lang = { nmtoken }
data-type = { "text" | "number" | qname-but-not-ncname }
order = { "ascending" | "descending" }
case-order = { "upper-first" | "lower-first" } />
--
-----------------------------------------------------------------
Jirka Kosek
e-mail: jirka@kosek.cz
http://www.kosek.cz