Hello people,
I am a newbie to xsl:fo.. and no wonder it is full of confusion to me.
I started off with an example ..
the following is the code..
<?xml version="1.0" encoding="UTF-8"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
<fo:layout-master-set>
<fo:simple-page-master page-master-name="my-page">
<fo:region-body margin="1in"></fo:region-body>
</fo:simple-page-master>
</fo:layout-master-set>
<fo:page-sequence >
<fo:flow flow-name="xsl-region-body">
<fo:block> Hello World</fo:block>
</fo:flow>
</fo:page-sequence>
</fo:root>
This would print Hello world in the PDF Format.
I beleive the following about xsl:fo..
XML + XSL --> XSL:FO--(xsl:fo processor)-->Final Output.
My questions are as follows:
1.How do we write the XSL to produce the above XSL:FO file? I am quite ok with
writing xsl style sheets but do not know how to write xsl to produce xsl:fo..
Please assume that i know nothing about xsl:fo.
I am very much interested to learn this subject.I hope i would be able to do
good in xsl:fo with your help
Thank you very much.
Subbu
--------------------------------------------------------------
Sent with "Me-Mail", Boltblue's FREE mobile messaging service.
http://www.boltblue.com
|