Chapter 15. XML IN JAVASCRIPT AND AJAX
Chapter 14 introduced Ajax and showed how it works inside web browsers. Normally, Ajax applications pass information back and forth between a web browser and a webserver. When a user drags a Google map, for example, the browser sends information to the server about how the user is dragging the map. The server then returns map-related information for the browser to interpret and display.
Information passed back and forth between a web browser and a webserver can take many forms. This chapter discusses the form used by Ajax: XML.
In this chapter you will learn:
What XML is and why it's useful
How to format information using XML
How to use JavaScript to read XML documents
What browser-compatibility issues relate to ...
Get The Book of JavaScript, 2nd Edition 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.