Re: [xep-support] Who to use XSLT with Java-implementation

From: Bastian Kroll <bk@classwizard.com>
Date: Wed Nov 21 2007 - 03:52:26 PST

Hi Dave,
thanks for your fast support.
I know this two steps. And im thinking, that the java-call is not correct,
because XEP seems to not making the XSL transforming and is now only parsing
the XML, wich is without FO-tags an - correctly - get the error.

Fact is: There is - the command-line call is working - no error in the
syntax of the files.

So I think Ill need another java-call to make the XSL transformation. I
dontt want to make this in 2 steps, because I have also XML-Files without
XSLT and want to have in my java-source only one call. I only want to use
the stylesheets, when there is a xsl-href in the XML file I want to render
with XEP.

Bbest regards
Bastian Kroll

> Von: Dave Pawson <dave.pawson@gmail.com>
> Antworten an: <xep-support@renderx.com>
> Datum: Wed, 21 Nov 2007 10:43:44 +0000
> An: <xep-support@renderx.com>
> Betreff: Re: [xep-support] Who to use XSLT with Java-implementation
>
> On 21/11/2007, Bastian Kroll <bk@classwizard.com> wrote:> Hi,> Ive got a
> problem wih using XSLT-Stylesheets.> First my szenario:> I have a XML-File,
> from this file I call the XSL-Stylesheet. When Im using> the command-line
> with> java -jar /<path_to_the_xep>/xep.jar -xml
> /<path_to_the_xml>/Pageheader.xml> Its running well without errors.
> Think of it as two steps.1. Convert the XML to xsl-fo2. Convert the xsl-fo to
> PDF using xep
>>> Now I have a Java-Programm and want XEP to use the stylesheet as well. The>
>>> call is:> But now Im getting a Exception>
>>> com.renderx.xep.lib.FormatterException: Invalid XSL FO source: 1 error
>>> found> during validation> Ive got no Iidea, how to make XEP to use the XSL
>>> Transformation. Can> anybody give me some help?> In the attachment is my
>>> XML- an XSL-File.
> If you run Saxon as the step 1then XEP as step 2you will find out where the
> error is.
> If you want to run both together, read about the xep command line
> parametersbut I'd suggest you get used to a two step process until you are
> used towhat is happening.
>
> HTH
>
>
>
>
> -- Dave PawsonXSLT XSL-FO FAQ.http://www.dpawson.co.uk
> -------------------
> (*) To unsubscribe, send a message with words 'unsubscribe xep-support'
> in the body of the message to majordomo@renderx.com from the address
> you are subscribed from.
> (*) By using the Service, you expressly agree to these Terms of Service
> http://www.renderx.com/terms-of-service.html

-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo@renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/terms-of-service.html
Received on Wed Nov 21 04:23:35 2007

This archive was generated by hypermail 2.1.8 : Wed Nov 21 2007 - 04:23:36 PST