The speed-freaks will say that taking a detour via a DOM or JDOM is suboptimal. Granted, directly generating SAX events may seem more difficult at first, but it's definitely faster as fewer objects are constructed and garbage collected. But given FOP's speed it probably doesn't matter much.
On 25.11.2003 19:26:51 Chris Pratt wrote: > Even better than converting it to a stream, you can use the > org.jdom.transform.JDOMSource as the XML Source parameter to the > Transformation process. Or if your XML is already XSL-FO, you can use the > org.jdom.output.SAXOutputter class to directly interface with the fop > Driver. Jeremias Maerki --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
