Summary

This chapter has covered the basics of using XML with JavaScript and Ajax:

  • What XML is used for

  • How to format XML documents

  • How Ajax applications use XML to share data

  • How to process XML with JavaScript

  • How to deal with cross-browser XML issues

The chapter has also given you more details about some objects you've already encountered:

  • How to use the split() method to divide a string into parts

  • How to use the push() method to add an element to the end of an array

  • How to use em in a cascading style sheet to make the size of something proportional to the font being used

Now that you know how to perform Ajax calls from the browser, and how to format XML documents and process them with JavaScript, it's time to complete the Ajax cycle and learn about server-side ...

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.