View
My XML file after it has been made presentable by my XSL program
Example of Sorting done by XSL
Example of If execution by XSL
Example of choose execution by XSL
Because XML does not use predefined tags (we can use any tags we want), the meanings of these tags are not understood, which means that a tag table could mean an HTML table, a piece of furniture, or something else. A browser does not know how to display an XML document. Therefore there must be something in addition to the XML document that describes how the document should be displayed; and that is XSL!
XSL consists of three parts:
XSLT (a language for transforming XML documents)
XPath (a language for defining parts of an XML document)
If you don't understand the meaning of this, think of XSL as a language that can transform XML into XHTML, a language that can filter and sort XML data, a language that can define parts of an XML document, a language that can format XML data based on the data value, like displaying negative numbers in red, and a language that can output XML data to different devices, like screen, paper or voice.
XSL is a standard recommended by the World Wide Web Consortium. The first two parts of the language (XSLT and XPath) became a W3C Recommendation in November 1999. The full XSL Recommendation including XSL formatting became a W3C Recommendation in October 2001. XSLT is a language for transforming XML documents into other XML documents. XPath is a language for defining parts of an XML document.
XSLT is the most important part of the XSL Standard. It is the part of XSL that is used to transform an XML document into another XML document, or another type of document that is recognized by a browser. One such format is XHTML. Normally XSLT does this by transforming each XML element into an XHTML element. XSLT can also add new elements into the output file, or remove elements. It can rearrange and sort elements, and test and make decisions about which elements to display, and a lot more. A common way to describe the transformation process is to say that XSL uses XSLT to transform an XML source tree into an XML result tree.
In the transformation process, XSLT uses XPath to define parts of the source document that match one or more predefined templates. When a match is found, XSLT will transform the matching part of the source document into the result document. The parts of the source document that do not match a template will end up unmodified in the result document. Even though XSL consists of three different parts with three different names, the general term XSL is normally used to cover all.
View My XML file after it has been made presentable by my XSL program
Example of Sorting done by XSL
Example of If execution by XSL
Example of choose execution by XSL