[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: RE: DOCBOOK-APPS: Sorting and non-en_US indexes
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 > David > -----Original Message----- > From: Dave Pawson [mailto:dpawson@nildram.co.uk] > Sent: Wednesday, September 25, 2002 1:00 PM > To: Jirka Kosek; David Cramer > Cc: docbook-apps@lists.oasis-open.org > Subject: Re: DOCBOOK-APPS: Sorting and non-en_US indexes > > > At 10:41 25/09/2002, Jirka Kosek wrote: > > >> > >> In my test doc, which has <book lang="ja">, this seems to > work. Is this > >> the 'right' way to do it? > > > >Yes, this is a correct way to get language for current element. The > >problem is, that in lang attribute of xsl:sort you can't use > expressions > >(AVTs) if you want to be strictly comform to the XSLT 1.0 spec. Some > >processors support this, but it can't be added to standard > distribution > >for this reason. :-( > > Is this a feature that might be useful to others, hence should > be requested for xslt 2.0? > > regards DaveP. > > >
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC