Well, either FOP doesn't get namespaced SAX events or you're feeding not XSL-FO but something else. I can't tell from the code sample you posted.
Anyway please look at the ExampleXML2PDF.java in the examples/embedding directory starting with FOP version 0.20.5rc. The example does things a little differently since it uses JAXP directly, but it does exactly what you want. Also see the information at the bottom of the embedding page on the FOP website. On 18.03.2003 21:55:37 Koes, Derrick wrote: > > org.apache.fop.apps.FOPException: root must be root element > at org.apache.fop.fo.pagination.Root.(Root.java:52) > > I get this exception only very, very intermittently when I'm rendering to > PDF a document with many images. Can anyone help? > > I'm running embedded. Embedded code: <snip/> Jeremias Maerki --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
