xsl-list
[Top] [All Lists]

Re: Tree from directory listing

2004-12-16 03:16:39
Can anyone tell me how that fits into the XSLT 1
recommendation?

node-set function is not part of XSLT 1.0 spec. It
will be treated as an extension function..
>
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..

I think this will not work in XSLT 1.0 . key function
requires some document *node* to operate on. It will
not work on RTFs.. XSLT 2.0 I believe treats RTFs as
node sets..

I tested it and you are right. I guess the node-set function treats the document fragment as a document opened with document().

No node-set function, no nodes from the fragment in your key...

Cheers,
Geert

--~------------------------------------------------------------------
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>