|
Pre Knowledge Required
About XSLT
XSLT stands for XSL Transformations. It is used to transform an XML document into another XML document. XSLT is the most crucial part of XSL. XSLT uses XPath to navigate in XML documents and with the help of XSLT you can add/remove elements and attributes to or from the output file. You can also sort or rearrange the elements, perform tests and make decisions about which elements to display and hide, and a many more things you can do. XSLT is a W3C Recommendation. In the simple word you can say that XSLT transforms an XML source-tree into an XML result-tree. XSLT uses XPath to find information in an XML document. XPath is used to navigate through elements and attributes in XML documents.
Browser Support
Almost All major browser support to XML, XSLT and XPath. For Example:
- Mozilla Firefox
- Internet Explorer
- Google Chrome
- Opera
- Apple Safari
Style Sheet Declaration
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
OR
<xsl:transform version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
|