O'Reilly logo

Real World XML by Steven Holzner

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using XSLT Stylesheets in XML Documents

You use XSLT to manipulate documents, changing and working with their markup as you want. You can use XSLT to translate XML into formatted HTML that is readily viewed, for example. Or, you can change XML into plain text, or another restructured XML document, or even a JavaScript document. XSLT provides a way of gaining access to the content of XML documents and building new documents that use and manipulate that content. For that reason, it's worthy of our study.

One of the most common transformations is from XML documents to HTML documents, and that's the kind of transformation we'll see in the examples in this chapter.

To create an XSLT transformation, you need two documents: the document to transform ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required