XSL is an extensible single-language XML style. XSL (short name: Extensible style single language, theeXtensibleStylesheetLanguage) is much more powerful than CSS style sheets. One of the main functions of XSL is to convert an XML document into an HTML file, and then deliver it to the browser. the browser displays the conversion result: XSL can be used to add display information to the XML document.
--------------------------------------------------------------------------------
Use XSL to display XML documents
XSL is a single language of XML scalable styles.
XSL (the eXtensible Stylesheet Language) is much more powerful than CSS style sheets. One of the main functions of XSL is to convert an XML document into an HTML file, and then deliver it to the browser. the browser displays the conversion result:
If you have Internet Explorer 6 or Internet Explorer 5 (or a later version), you can watch the XML file and the XSL style sheet.
Display result in IE6: View the result in IE 6
Display result in IE5: View the result in IE 5
Note the second line in the following code snippet:
Belgian Waffles
$5.95
two of our famous Belgian Waffles
650
The preceding section describes how to use XSL to display detailed XML data. For more information, see other related articles in the first PHP community!