A Basic HTML Transformation

In running this and the following examples, you will need an XML application that is capable of displaying the results. Several XML editors on the market will do the job just fine. However, one easy way to run the following examples and display the results is to use an XML-capable browser, such as the W3C’s Amaya browser or Microsoft’s Internet Explorer version 5 or greater.

To run the examples in this chapter

1.
Copy the XML (with an .xml file extension) and XSLT (with an .xsl file extension) documents into your working directory.
2.
Modify the <?xml-stylesheet ?> processing instruction in the XML document instance to refer to the XSLT file. If both files are in the same directory, you should be able to just list ...

Get Special Edition Using XSLT now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.