Converts XSL-FO to PDF
- To produce a PDF file from this XML file, we need an XSLT stylesheet that converts the XML to XSL-FO
- FOP when it reads the generated XSL-FO document and formats it to a PDF document.
1.Download Apache FOP
http://xmlgraphics.apache.org/fop/download.html
2.Create name.xml and add the following line..
4. After run command
fop -xml name.xml -xsl name2fo.xsl -pdf name.pdf
Now name.pdf file created..

No comments:
Post a Comment