Varadharajan Sethuraman wrote:
Hi All,
I have one xml file mention below ...
*I want to generate the PDF in the same order .... (i mean first paragraph text, table and paragraph....)*
I'm sorry I dont think I understand your question. To process your xml into PDF using FOP you need to write an XSL stylesheet. There are plently of resources to help you with this task on the Net. See FOP's website for starters:
http://xml.apache.org/fop/resources.html#documents-xslt
To get you started, paragraphs can be processed by the following XSLT:
<xsl:template match="paragraph"> <fo:block> <xsl:apply-templates/> </fo:block> </xsl:template>
<paragraph> This text is displayed with Heading #1 </paragraph>
<table>
<table-row >
<table-cell>CELL 1</table-cell>
</table-row>
</table>
<paragraph>This text is displayed with Heading #2 </paragraph>
Chris
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
