I have a stylesheet that works perfectly fine with Saxon6.5.5 (XSLT 1).
However, when I tried to use the same stylesheet (with namespace
changed to xmlns:saxon="http://saxon.sf.net/") with SaxonB-9.1.7, I get the
Error at xsl:value-of on line 27 of proj9.xsl:
Static error in XPath expression supplied to saxon:evaluate: Undeclared variable in XPath
The error occurs in this context:
Can anyone help me get around this problem (other than switching back to XSLT 1.0 w/saxong) ?
I do use saxon:evaluate further down the stylesheet in a different context (i.e. not using the variable
$Member), and it works fine:
Here's part of the input XML file that I've been using for the above stylesheet:
View this message in context: Static error in XPath expression supplied to saxon:evaluate
Sent from the saxon-help mailing list archive at Nabble.com.