xsl-list
[Top] [All Lists]

Re: [xsl] Problem with version of XSL(Please reply soon)

2007-11-28 05:12:30
On 28/11/2007, lakshmi mrudula <mrudula_lakshmi(_at_)yahoo(_dot_)com> 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/

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--