Hello,
many thanks for the answers, I did it this way and it's working fine :-)
Regards
Juergen Lippold
public void generatePdfFile(String xmlTemplate,
Collection tableData,
String xslFileName,
Stri
de Made Fresh DailyT
- Original Message -
From: "Juergen Lippold" <[EMAIL PROTECTED]>
To: ">" < <[EMAIL PROTECTED]>
Sent: Tuesday, May 21, 2002 4:22 AM
Subject: embedded FOP from Document to PDF
Hello,
I have no Problems reading the XML and the XSL-file an
"Juergen Lippold" <[EMAIL PROTECTED]>
> It would be nice to start the conversion directly with the
> org.w3c.dom.Document in memory and the XSL-File from harddisk.
Look here for a code sample. You can pass whatever Source subclass
you want to the transformer object, including a DOMSource.
http:
On Tue, 2002-05-21 at 11:15, Juergen Lippold wrote:
> Hi,
>
> hey that fine, but how can I give the xsl-document to the driver?
Thats easy.
Create your driver.
Call "getContentHandler()".
Use this content handler to fire sax events on.
Use your DOM and xsl with your favourite xml+xsl libraries t
Hi,
hey that fine, but how can I give the xsl-document to the driver?
Thanks
Juergen Lippold
>>> [EMAIL PROTECTED] 21.05.2002 10.34 Uhr >>>
It is. Have a look at http://xml.apache.org/fop/embedding.html. This
page describes how to embedd FOP into your own applications. The info on
this page m
It is. Have a look at http://xml.apache.org/fop/embedding.html. This
page describes how to embedd FOP into your own applications. The info on
this page may already be ahead of time (reflecting changes to logging for
the next release), so you may have to consult the docs directory in the
distributi
Hello,
I have no Problems reading the XML and the XSL-file and directly generating the
PDF-output.
That works fine. But in my application I'm filling the XMl-file, writing it to the
harddisk and then starting the FOP-conversion. It would be nice to start the
conversion directly with the org.w3