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.
