Mutability

One glaring omission in this chapter is the topic of modifying a DOM tree. That’s not an accident; working with DOM is a lot more complex than working with SAX. Rather than drowning you in information, I wanted to give a clear picture of the various node types and structures used in DOM. In the next chapter, in addition to looking at some of the finer points of DOM Levels 2 and 3, I’ll address the mutability of DOM trees, and in particular how to create DOM trees. So don’t panic—help is on the way!

Get Java and XML, Second 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.