The following sample demonstrates the Extensible Stylesheet Language Transformer (XSLT). The XSLT takes an XML (data) document and an XSL (stylesheet) document and outputs an HTML page which displays the data as defined by the stylesheet.
The sample displays the same data (found in catalog.xml) in two different ways according to the stylesheet you use (either booklist1.xsl or booklist2.xsl). Alternatively, you can define your own XML and XSL documents and perform custom transformations.
Run this Sample with booklist1.xsl
Run this Sample with booklist2.xsl
Run a Customized XSLT Sample
|