What is XSL
-
XSLT: transforming XML document
-
XPath: navigating XML document
-
XSL-FO: formatting XML document
-
The XML source document is parsed into an XML source tree
-
Use XPath to define templates that match parts of the source tree
-
Use XSLT to transform the matched parts and put the transformed information into a result tree
-
The result tree is output as a result document
XSLT
XSLT = XSL Transformations
xslt is used to transform an xml document into another xml document, or other type of document that can be recognied by a browser, like html and xhtml. Normally xslt does this by transforming each xml element into an (x)html element.
With xslt you can add/remove elements and attributes to or from the output file. You can also rearrange and sort elements, perform tests and make decisions about which elements to hide and display, and a lot more.
XPath
xslt uses xpath to find information in an xml document. Xpath is used to navigate through elements and attributes in xml document.