Chapter 22. XML and XSLT

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 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.