XSL-FO stands for Extensible Stylesheet Language Formatting Objects. It is used to format XML data and is also a W3C recommendation.
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:
As usual they need to start with the version and the encoding declaration:
Namespace attribute can be written as:
What is XSL-FO Processors?
XSL-FO processors (e.g. XSL Formatter, Xinc Beta Release, Scriptura) are programs that format XSL document output.
Most of them can also output PDF documents, quality print, HTML etc.
XML Attributes
Explain XML Attributes with an example.
The attributes in XML provide additional information about elements. Take a look at the following example:
XML Elements vs. Attributes.
XML elements as well as attributes can be used to provide the same information about an entity in an XML database. The only difference lies in the way they are written. For example:
The same information can be provided in the element form as follows:
What are the problems with using XML attributes?
It is preferred storing the data using the XML elemental form as it becomes very convenient to access and modify the data. Also the use of attributes is limited as they cannot contain multiple values, cannot contain tree structures nor are expandable.

0 Comments:
Post a Comment