Hi,

Dabkoski, Derrill a écrit :
> I am attempting to upgrade to FOP 0.93 from 0.20.  Unfortunately I am
> getting a ValidationException saying I need to put fo:root at the top.
> My first element is an xsl element, but the first fo: element is
> fo:root.  This is exactly the same format as the examples in the fop
> examples package, for example:
> fop-0.93/examplesfo/fo-reference/xml2pdf.xsl

This is an XSLT stylesheet and not an XSL-FO file. If you want to
convert an XML file into PDF using your XSLT stylesheet, you must do the
following:

fop -xml file.xml -xsl stylesheet.xsl -pdf result.pdf


HTH,
Vincent


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to