Summary

There are many methods you can use to extract the data from XML files and create collections of nodes based on selection criteria. This hour collected them into tables.

The Document Object Model splits the XML data into four objects: the document, node, nodeList, and parseError objects. The complete list of all properties and methods of the document, node, and nodeList objects were presented in this hour. The methods that are used to create nodes were all demonstrated. Since the parseError object was covered in detail in an earlier hour, the methods and properties weren't examined.

Get Sams Teach Yourself XML in 24 Hours 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.