Hour 16. Parsing XML with the DOM
It simply isn't possible to write a book about XML while avoiding the DOM, or Document Object Model. The truth is that the DOM won't lead you down the path to insanity, although I can certainly respect Mr. Kay's opinion since I've struggled with the DOM myself from time to time. For this reason, you shouldn't think of the DOM as the end-all tool to XML processing for the Web. It's just one of many tools that you should have in your XML development arsenal, ready to engage when needed. This hour explores the DOM and the basics of how it is used. In doing so, you learn how it provides a set of interfaces that can be used to represent an entire XML document programmatically. This hour discusses
|