Subject: Re: [xsl] Could not select the text() of both parent & child nodes simultaneously From: Michael Kay <mike@xxxxxxxxxxxx> Date: Wed, 16 Jun 2010 15:43:34 +0100 |
My understanding on recent installation manual was the open source version (saxonhe9-2-0-5j.zip - Saxon9 Home Edition? ) does not support XPath/XSLT features. This download does not have Path/XSLT jars such as saxon9-xpath.jar, saxon9-jdom.jar supplied in Saxon 9.1. Otherwise, please provide the correct link to download Saxon9 Home Edition.
How to turn off type checking in XSLT 2.0 by updating<xsl:stylesheet version="2.0" (line 2) to prevent the following exception from occurring:You can probably achieve the required effect by converting the java-type:definition.Sport object to a string using the string() function. However, as I said before, it's worth looking to see whether you really need to use Java objects in this way. I don't think your use of Java extensions was apparent in the code that you showed us, so we can't tell whether it makes sense or not. As with other integration features like the JDOM interface, some of the Java extensibility mechanisms that were present in Saxon-B 9.1 and earlier releases are now available only in the Professional Edition.
Error on line 83
XPTY0004: Cannot compare java-type:definition.Sport to xs:string
Michael Kay Saxonica
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Could not select the text, David Carlisle | Thread | Re: [xsl] Could not select the text, Michael Kay |
Re: [xsl] XSL Processing to avoid r, David Carlisle | Date | Re: [xsl] Open source XML and XSLT , Florent Georges |
Month |