Extensible Stylesheet Language (XSL) Question:
Download Job Interview Questions and Answers PDF
What is XSL FO Documents? Explain XSL-FO Documents structure?
Answer:
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.w3.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
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.w3.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
Download XSL Interview Questions And Answers
PDF
Previous Question | Next Question |
Explain What is XSL-FO? | What is QTP testing process? |