Subject: Re: Tree from directory listing
From: Geert Josten <Geert.Josten@xxxxxxxxxxx>
Date: Thu, 16 Dec 2004 11:16:39 +0100
|
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
|