On 18 Dec 2008, at 23:45, Patterson, Gregory Michael wrote:
Right, so currently I'm feeding the xml and an example style sheet
in to the
FOP and it's working as expected. What I'm asking is, what forms can
the
Style sheet be in? I already have the xsl sheet like this for other
purposes:
<snip />
So, do I need to re-write a stylesheet similar to the second one for
each doc I need to convert to PDF
Even if I have full stylesheets (like the first shown) already
written out.
Thanks again.
Short answer: yes, if you want FOP to create the PDF.
The 'full' stylesheets you're referring to, they produce HTML+CSS
which could obviously be converted to PDF in other ways (using
Acrobat, for example).
If you were to produce XHTML, then there are stylesheets around to
transform that into an XSL-FO document, but HTML+CSS is not XML so
cannot be fed as input to an XSLT processor (nor FOP).
Cheers
Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]