Most us heard of XSL/XSLT, so what’s these really about, what can we use it? I want to share a simple demo which comes from “JavaScript: The Definitive Guide, 5th Edition”.
XSLT stands for XSL Transformations, and XSL stands for Extensible Stylesheet Language. XSL stylesheets are XML documents and can be loaded and parsed in the same way that any XML document can. Many modern browsers can style XML using either CSS or XSL stylesheets. If you specify a stylesheet in an xml-stylesheet processing instruction, you can load an XML document directly into the browser, and the browser styles and displays it. The requisite processing instruction might look like this:
<?xml-stylesheet