Chapter 22. XML and XSLT


In this chapter, we’re going to take a look at using JavaScript with XML and XSLT. You’re probably familiar with XML, Extensible Markup Language, at least in name. In XML, you can create your own markup tags, such as <PERSON> or <PHONE_NUMBER>. You may not be so familiar with XSLT, Extensible Style Sheet Language Transformations, however. Using XSLT, you can transform XML documents into other formats such as HTML or plain text—or other HTML documents with a different organization. We’ll take a look at both in this chapter.

Note that although the Netscape Navigator can work with XML to some extent, the Internet Explorer already ...

Get Inside JavaScript now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.