What is XSL-FO Documents? - XML

What is XSL-FO Documents? Explain XSL-FO Documents structure

XSL-FO documents are XML files (.fo / .fob OR .xml – for being accessible by XML editors) with output information about the layout and contents.

Document Structure:
As usual they need to start with the version and the encoding declaration:
<?xml version="1.0" encoding="ISO-8859-1"?>
<fo:root> </fo:root>

Namespace attribute can be written as:
<fo:root xmlns:fo="http://www.abc.org/1999/XSL/Format"> ----------------- Root element of XSL-FO documents. You can have the whole document within these tags.
<fo:layout-master-set> ---------------- Contains page templates
<fo:simple-page-master> ---------------- Contains a single page template
<fo:page-sequence> ------------------------ Describes the page contents
What is XSL-FO Processors? - XML
XSL-FO processors (e.g. XSL Formatter, Xinc Beta Release, Scriptura) are programs that format XSL document output.......
Explain XML Attributes with an example - XML
The attributes in XML provide additional information about elements. Take a look at the following example:.......
XML Elements vs. Attributes - XML
XML elements as well as attributes can be used to provide the same information about an entity in an XML database......
Post your comment