You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Dang Minh Phuong <mp...@ncs.com.sg> on 2002/10/30 11:37:23 UTC
Generate pdf on-the-fly???
Hi all,
In order to improve the performance, I want to generate pdf directly from
xml in memory instead of saving it to file and read it again. I am using
jaxb to manage my xml data. How can I pass my xml as java object to fop to
generate pdf???
Thanks
Re: Generate pdf on-the-fly???
Posted by Oleg Tkachenko <ol...@multiconn.com>.
Dang Minh Phuong wrote:
> In order to improve the performance, I want to generate pdf directly from
> xml in memory instead of saving it to file and read it again. I am using
> jaxb to manage my xml data. How can I pass my xml as java object to fop to
> generate pdf???
If your "xml as java object" is org.w3.dom.Document object, you can pass it to
fop as is, see Driver javadoc.
--
Oleg Tkachenko
eXperanto team
Multiconn Technologies, Israel