IN THIS CHAPTER
Using the XML object
Adding elements and attributes
Serializing XML objects to text
We discuss techniques for transmitting XML between client and server in Chapter 39, "Ajax, E4X, and XML" (on the CD).
Briefly, XML is a markup language designed to contain and transmit textual data. It consists of nested elements marked up with three types of tag—matching begin- and end-tags
and empty-element tags
Elements can contain attributes, which are name/value pairs that reside within the opening or empty tag:
<fax location="home" call-first="true">123-456-7890</fax>;
Unlike HTML and XHTML, in which element and attribute name choices are constrained ...