On Wed, 18 Feb 2004, Hennebelle wrote: > Hi, > > I use OJB 0.9.7 and for my project, I want to generate a PDF file with the > data of a query. > I want to use FOP for generate a PDF file directly with an XML stream. > > I think to keep a collection with my query and put them in an XML stream but > it can take a lot of memory to create. > Have you done this before ? Have you just create an XML flow after a query ? > Or can OJB create an XML stream ? > > Thanks in advance for your answer.
If the data you expect is small, you should use dom4j as it is quite easy to use and powerful, and there should be an easy way to directly process the DOM with FOP. If you have a lot of data, then perhaps you might want to have a look at XML Pull (http://www.xmlpull.org/index.shtml) and its implementations (e.g. http://www.kxml.org/), though I don't know whether it integrates easily with FOP. Hope that helps, Tom --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
