Hi I would really like to make use of the XSLT node-set() function.
Does anyone know if/how this is possible with mod-xml2?
The node-set() function will allow me to convert a Result Tree Fragment
(XML created and stored inside a variable) into a proper Node Set, so
that it can be re-used as input to other templates or XPath queries.
http://www.exslt.org/ has implementations of node-set() for many XSLT
processors, but I could not get any working in mod-xslt2.
[ I also couldn't find a working node-set() function for Mozilla's built
in XSLT processor, Transformiix. :-/ ]
Is mod-xslt2 supposed to implement XSLT standard 1 or standard 2? The
latter suggests that the node-set() function should be built-in. (Some
XSLT processors have even decided to implement RTFs as NodeSets.)
Whilst I agree that overuse of node-set() will result in poorer
performance than a better designed set of templates, there are also
situations where it is unavoidable, and very useful.
For example, does anyone know of another way by which I may accept a
string of XML as a CGI parameter, and then appy-templates to that XML,
or query it with XPath?
Thanks, Joey UK.
PS, iff I find a solution, then this page may become more interesting!