[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] keys and idrefs - XSLT2 request?


Subject: RE: [xsl] keys and idrefs - XSLT2 request?
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Wed, 10 Oct 2001 12:05:15 +0100

>
> Rather, if the saxon:tokenize approach works, why not do it
> that way? The
> introduction of a node-set() function makes it much more
> conceivable in
> XSLT 2.0 to introduce arbitrary node sets on demand. So XSLT
> 2.0 needs an
> equivalent to saxon:tokenize.
>
Yes, I think if you have tokenize() which turns a string into a sequence of
strings, then it will be easy to define xsl:key use="tokenize(@attr)". In
fact, if you have a schema that declares @attr to be a sequence data type,
then you won't even need to do this, you'll get the sequence automatically.

Mike Kay


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



Current Thread
Keywords