Reputation: 1
In my stylesheet that I try to debug in XMLspy, I have the following line:
xsl:for-each select="xalan:nodeset($Order)//Lines"
When I try to parse it in XMLSpy, I get the error: 'function 'xalan:nodeset' was not defined. I use the external XSL transform, but I think it`s not enough and I have to define it within my stylesheet.
I`d appreciate help on how to call this function locally on my laptop from the stylesheet.
Upvotes: 0
Views: 1559
Reputation: 116959
If you're not using the Xalan processor (and even if you are), replace xalan:nodeset()
with the more generic exsl:node-set()
- where xmlns:exsl="http://exslt.org/common"
.
This is assuming you're using XSLT 1.0. As mentioned in the comments, no node-set()
function is required in XSLT 2.0.
Upvotes: 2