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

Here should go questions about transforming XML with XSLT and FOP.
JohnA
Posts: 1
Joined: Thu Jan 24, 2008 6:21 pm
Location: MD

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

Post 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.
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Post 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
Post Reply