Hi Ismaeil,

I think Bhawana suggested: DB-JDBC-XML-XSL-FO-FOP->PDF,
this includes the additional xml document representation, but puts the
XSL:FO instructions outside your java, which would by "bypassed"
by java generated FO documents (your below mentioned construction)
It probably boils down to an efficiency decision, but the appealing
part of the xsl/xslt layer is the open architecture for applications you
might not even think of right now.

markus

-----Urspr�ngliche Nachricht-----
Von: Ismaeil, Sameh Z <[EMAIL PROTECTED]>
An: '[EMAIL PROTECTED]' <[EMAIL PROTECTED]>
Datum: Dienstag, 30. April 2002 17:25
Betreff: RE: Building a FO document with FOP


>Thanks Bhawana,
>
>This is not exactly what I mean. I don't have XML data documens, I'm trying
>to build a pure XSL:FO document through code, not transform an existing XML
>to FO. It will go like this:
>Data (from DB) --(Java code)--> FO document --(render with FOP)--> PDF
>
>Any clue?
>
>-----Original Message-----
>From: Katiyar, Bhawana [mailto:[EMAIL PROTECTED]
>Sent: Tuesday, April 30, 2002 5:05 PM
>To: [EMAIL PROTECTED]
>Subject: RE: Building a FO document with FOP
>
>
>I guess it is better to build them as XML documents and use xsl:fo to
>transform them to FO documents. It is much easier. You could use the XML to
>render HTML, RTF or any other format. FOP programming is also much easier,
>as you shift all the java programming burden of building the FO document to
>FOP.
>Bhawana
>
>-----Original Message-----
>From: Ismaeil, Sameh Z [mailto:[EMAIL PROTECTED]
>Sent: Tuesday, April 30, 2002 10:37 AM
>To: '[EMAIL PROTECTED]'
>Subject: Building a FO document with FOP
>
>
>Hello All,
>
>We are trying to build FO documents through Java code, these documents will
>be rendered with FOP. I would like to know whether it is recommended to
>build them using the FOP classes that represent FO elements (FONode/FObj
and
>its decendants), or whether it is better to build them as XML docuemnts and
>use FOP for rendering only.
>
>Thanks in advance
>

Reply via email to