Authored by: Nellie Jones Viewed:
396 times so far
The purpose of XSL-FO
The purpose of XSL-FO is to provide a mechanism for formatting XML data for print, screen and other output media. XSL-FO, also known simply as XSL, is a specification of the World Wide Web Consortium and is closely related to XSLT. However, whereas XSLT is most often used for transforming XML into HTML or other XML structures, XSL-FO is most often used for formatting XML for print.
How XSL-FO Works
Transforming XML for print is accomplished by transforming an XML document to a Formatting Objects (FO) document, which itself is XML-based, via XSLT. The formatting objects processor is able to read the FO document and transform it for different types of print output. The most common and best supported print output is currently Adobe PDF.