Subject: Re: [xsl] Daisy chaining XSLT and also how can I check whether the XSLT processor supports a specific extension (specifically, ext:node-set)? From: "Martin Honnen martin.honnen@xxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Wed, 7 Aug 2024 15:48:18 -0000 |
On 07/08/2024 17:36, ohaya ohaya@xxxxxxxxx wrote: > > > From those threads above, it sounds like what I thinking of doing is > POSSIBLE, but one of the requirements is the availability of an extension: > > ext:node-set > > So I wanted to find out: > > a) How can I check that the XSLT processor supports that extension?B > Is there like a small XSLT that I can test that would tell me whether > or not the XSLT processor that is running the XSLT supports that > ext:node-set extension? > Use https://www.w3.org/TR/xslt-10/#function-function-available to check from within XSLT if a certain function is available. Most XSLT 1.0 processors support exsl:node-set in the namespace http://exslt.org/common, with the exception of older Microsoft products like MSXML or XslTransform which instead support a node-set extension function in a Microsoft namespace. Not sure about Xalan, I think the Java product has support for a Xalan specific namespace as well as the EXSLT namespace.
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Daisy chaining XSLT and also , ohaya ohaya@xxxxxxxx | Thread | Re: [xsl] Daisy chaining XSLT and a, David Carlisle d.p.c |
[xsl] Daisy chaining XSLT and also , ohaya ohaya@xxxxxxxx | Date | Re: [xsl] Daisy chaining XSLT and a, David Carlisle d.p.c |
Month |