|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: using exsl:node-set()
What processor are you using? I would personally recommend Saxon which
implements the exslt node-set() function built into the architecture. But every
other major processor either implements all or portions of the exslt functions
or variations there of, which, other than namespace and syntax of the function
names, perform the needed functionality you are looking for. This is not to
suggest that the templates available at exslt.org are of no use... many of them
will serve your needs quite well. But the node-set() function can not be
implemented using an XSLT template. But it's the hard work and efforts of the
exslt group that helped convince many of the processor vendors to build the
outlined functionality directly into the processors themselves. By looking at
the documentation that came with your processor you are more than likely to find
exact details that outline how to implement that processors implementation of
the node-set() function.
An example using Saxon: <xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:exsl="http://exslt.org/common"
extension-element-prefixes="exsl">and then implement it in your stylesheet by using the namespace:function combination: <xsl:variable name="foo"> ...logic to build temporary tree </xsl:variable> <xsl:apply-templates select="exsl:node-set($foo)"/> Best of luck! <M:D/> :: Saxon.NET general public early beta will be available Tuesday, July 27th :: :: DISCLAIMER: All efforts have been made to ensure a quality beta release :: :: None-the-less, this is an early beta release that should only be used :: :: in test environments for the purpose of testing performance and helping :: :: to locate potential bugs and performance bottlenecks. With this in mind :: :: PLEASE DO NOT CONSIDER THIS RELEASE READY FOR PRODUCTION IMPLEMENTATION! :: Markus Hanel wrote: hallo, I make something wrong! I want to use the exsl:node-set() function but at www.exsl.org there is no download of the exsl.node-set.xsl stylesheet. But in the main download there are two stylesheets: exsl.node-set.1.xsl and exsl.node-set.2.xsl, but this not works.
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








