What is XSL ???
XSL = Style Sheets for XML XSL describes how the XML document should be displayed!
XSL consists of three parts
XSLT - transforming XML documents
XPath - navigating in XML documents
XSL-FO - formatting XML documents
Why do we need XSL???Problem???
XML does not use predefined tags, therefore not well understood them.
< table > browser does not know how to display it.
< table > tag in HTML browser knows because HTML uses predefined tags
XSL describes how the XML document should be displayed!
---XSLT---
XSLT stands for Extensible Stylesheet Language Transformations
XSLT is used to transform XML documents into other kinds of documents--usually, but not necessarily, XHTML
XSLT uses two input files:
The XML document containing the actual data
The XSL document containing both the “framework” in which to insert the data, and XSLT commands to do so
---XPath---
XPath is a language for finding information in an XML document.
XPath is a major element in the XSLT standard. Without XPath knowledge you will not be able to create XSLT documents
In XPath, there are seven kinds of nodes: element, attribute, text, namespace, processing-instruction, comment, and document nodes.
---XSL-FO---
XSL-FO is about formatting XML data for output.
It is a language for formatting XML data.
XSL-FO and XSL the same thing
No comments:
Post a Comment