But in both the places we are referring to the same
stylus jars. What difference it is going to make with
the code and stylus when both are referrring to the
same jars.
That too we cannot use Stylus 2.0 processor.
--- Andrew Welch <andrew(_dot_)j(_dot_)welch(_at_)gmail(_dot_)com> wrote:
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>
--~--
Send instant messages to your online friends http://au.messenger.yahoo.com
--~------------------------------------------------------------------
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>
--~--