In this chapter, you were introduced to working with XML in Ajax, in particular, how to handle XML in JavaScript. You saw how to download XML and how to navigate through it in a number of ways to recover the data you want, using methods like nextSibling, previousSibling, and so on. You also saw how to handle whitespace and how to validate XML documents.