Re: exslt:node-set differs between Xalan-J and XSLTC
Mukul Gandhi <[email protected]> Thu, 21 Oct 2010 21:11:14 +0530
| Newsgroups | gmane.text.xml.xalan.java.user |
|---|---|
| Message-ID | <[email protected]> |
On Thu, Oct 21, 2010 at 8:35 PM, Julian Reschke <[email protected]> wrote: > "The purpose of the exsl:node-set function is to return a node-set from a > result tree fragment. If the argument is a node-set already, it is simply > returned as is..." If you've a node-set already then what's the use of passing that again to node-set function? Why can't the original node-set be used as it is? The most important aspect of node-set function is to convert RTF to node-set, and that works fine with Xalan. Do you really need an identity conversion of a node-set to a similar node-set for practical needs? If yes, then is the type of input to node-set function known statically, before compilation of stylesheet -- if yes then I believe, another call to node-set with node-set as argument is not really needed; I think then we can just use the original node-set reference. -- Regards, Mukul Gandhi