>>Or if your XML is already XSL-FO, you can use the
>>org.jdom.output.SAXOutputter class to directly interface with the fop

What do you mean by this? The generated XML is just that -- a bunch of tags and 
values. Do you mean that when the FO style sheet is applied to an XML, the 
result is another XML? Is this what you mean by 'already XSL-FO'?


-----Original Message-----
From: Chris Pratt [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 25, 2003 1:27 PM
To: [EMAIL PROTECTED]
Subject: Re: special characters


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]


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

Reply via email to