Page 1 of 1

Description: The URI http://saxon.sf.net/ does not identify

Posted: Thu Jan 24, 2008 6:25 pm
by JohnA
I am trying to use a saxon:evaluate function in my xsl.

<xsl:value-of select="saxon:evaluate(concat('//whereused/structures/structure[name=','BAPIEKPO',']/name'))"
xmlns:saxon="http://saxon.sf.net/"/>

However when I try this I get the error:
Description: The URI http://saxon.sf.net/ does not identify an external Java class

What do I need to do to be able to access the xslt functions in the XSL.

Thanks in advance for any help.

Posted: Thu Jan 24, 2008 6:49 pm
by sorin_ristache
Hello,

If you use saxon:evaluate() as an XSLT 2.0 extension of Saxon (xmlns:saxon="http://saxon.sf.net/") you have to run your XSLT stylesheet with the Saxon 9 processor, that is set Saxon 9 in the Transformer combo box of the transformation scenario edit dialog. If you use saxon:evaluate() as an XSLT 1.0 extension of Saxon (xmlns:saxon="http://icl.com/saxon") you have to run the stylesheet with the Saxon 6.5 processor. I think you mismatched the XSLT version with the Saxon version.


Regards,
Sorin