xsl-list
[Top] [All Lists]

RE: Tree from directory listing

2004-12-16 03:14:19
By the way, I realize that it opens an alternative to the 
node-set function! Wrap your fragment in 
some obscure element name (or just use some namespace) and 
add a key that only matches that element. 
Should work, I guess..

No, it doesn't. In XSLT 1.0 (sans xx:node-set()) you are only allowed to do
two things with an RTF, namely to copy it using xsl:copy-of and to use it in
a context where a string would be accepted. That means that a node in an RTF
can never become the context node, which means that you can't select within
an RTF using the key() function.

Nice try.

Michael Kay
http://www.saxonica.com/


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>