Index of /guides/xml/examples/xslfo

[ICO]NameLast modifiedSizeDescription

[PARENTDIR]Parent Directory  -  
[   ]hello-page.xml2005-12-08 21:19 586  
[   ]fop.bat2005-12-08 22:03 615  
[TXT]make-fo.csh2005-12-08 21:16 809  
[   ]hello-page-html.xsl2005-12-08 21:30 1.0K 
[TXT]README.html2005-12-08 21:12 1.2K 
[   ]hello-page.fo2005-12-08 21:05 1.4K 
[   ]hello-page.pdf2005-12-08 21:16 1.4K 
[   ]hello-page-xslfo.xsl2005-12-08 21:14 1.6K 

XSL/FO Examples

XSL/FO Examples

Simple XML -> PDF. The trick is to put XSL/FO instructions in the XSLT stylesheet and then give the *.xml and the *.xsl file to a FO processor like Apache FOP. Some more examples and minimal doc may follow. Examples should with Apache FOP 0.20.5. E.g. use the instruction:

java org.apache.fop.apps.Fop -xml input.xml -xsl style-sheet.xsl output.pdf
See also Index of /tecfa/teaching/formcont/webmaster2005/programme and dig around in the directory.

If you run into trouble, translate first into xsl-fo. Have a look at it and try to understand what you did wrong. E.g. if you use saxon:

saxon hello-page.xml hello-page-xslfo.xsl > hello-page.fo


Last modified: Thu Dec 08 21:12:47 Europe de l'Ouest 2005
D.K.S.