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.
  (*Chris*)

----- Original Message ----- 
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, November 25, 2003 2:03 AM
Subject: Re: special characters


> There's a nice way to manipulate XML Data with the JDOM API :
> http://www.jdom.org
>
> Starting from strings, you can easily create a JDOM tree object and then
> output it to a stream (and then transform your xsl-fo tree). You don't
> have to worry about special characters. You just have to care for the size
> of your tree, which musn't be too big, for memory reasons.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to