O'Reilly logo

Sams Teach Yourself XML in 10 Minutes by Andrew H. Watt

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

XSLT Basics

XSLT is designed to be used with XML documents to transform data into a form appropriate for presentation in a particular context or into an alternate XML structure. In this chapter, you examine the basics of how to use XSLT to create HTML documents.

The output from an XSLT transformation can be another XML format (this is discussed in Chapter 11, “XSLT—Transforming XML Structure”), HTML documents (the main subject of this chapter), or plain text (not discussed in this book).

Why XSLT Is Needed

XML was originally intended to be transmitted across the Web, but since XML 1.0 was finalized in 1998, the implementation of XML in Web browsers has been slow and patchy. XML’s failure to take over the Web browser does not mean that it is ...

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