Duration: 20:53 minutes
Summary: This video continues our discussion of XML. This application starts by loading the Books XML file. By doing so, we can populate a dropdown list that contains the book ids. When the user selects an id from the dropdown, the book information is displayed in the labels below. When the document is loaded we loop over the elements and add the ids to the Items dropdown collection. When the user selects an id from the dropdown list, we use the document’s getElementById which gives us the node with that specific id. Knowing the node, we are able to read the child nodes and populate the labels.