Subject: Re: [xsl] Problem with version of XSL(Please reply soon) From: "Andrew Welch" <andrew.j.welch@xxxxxxxxx> Date: Wed, 28 Nov 2007 12:11:59 +0000 |
On 28/11/2007, lakshmi mrudula <mrudula_lakshmi@xxxxxxxxx> wrote: > We have the an XSL that is given below. When we try > to run this file using Stylus studio, it works fine. > Its able to convert the input XML. But when we try to > execute the same XSL using java code in eclipse and > pointing to the same XML converters.jar of Stylus, its > giving the following exception: > > TransformerConfigurationException > ERROR: 'line 194: Unsupported XSL element > 'for-each-group'.' > FATAL ERROR: 'Could not compile stylesheet' In Stylus Studio you are using an XSLT 2.0 processor, but in your Java app you are using an XSLT 1.0 processor. The solution is to use an XSLT 2.0 processor (such as Saxon 9) in your application. I make that 4mins - soon enough for you? -- Andrew Welch http://andrewjwelch.com Kernow: http://kernowforsaxon.sf.net/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Problem with version of XSL(P, lakshmi mrudula | Thread | Re: [xsl] Problem with version of X, lakshmi mrudula |
[xsl] Problem with version of XSL(P, lakshmi mrudula | Date | Re: [xsl] Problem with version of X, Owen Rees |
Month |