XSLT (Magic xpi 4.7)
The XSLT component facilitates the transformation of XML documents. In the process, the original document remains unchanged. The newly created document can be in the XML format, or it may be in an entirely different format, such as HTML.
XSLT is an acronym for Extensible Stylesheet Language Transformation. This is a standard transformation language that is used to transform XML documents to another text-based format, such as:
-
HTML/WML – This format can be used in web presentations.
-
XML – This is used to transform between schemas.
-
Text – This output can be in any arbitrary format.
XSL-FO is an acronym for Extensible Stylesheet Language-Formatting Objects. XSL-FO is part of the XSLT specification that converts XML to a user-friendly media format, such as PDF, SVG, TXT, AWT, MIF, and PS.
In essence, XSL-FO lets you define how you want to paginate and print an XML content in a specific format, for example PDF.
The Formatting Object Processor (FOP) accepts a Formatting Object (FO) document, and converts it to the desired format, such as PDF. The FO document contains both the layout and formatting information as well as the content. The desired output format is not defined in the FO document, but is passed by the program directly to the FOP processor.
XSLT – Configuration
XSLT – Error Handling