DOM (Document Object Model)


  • DOM Characteristics 
  • DOM Node Tree and Node Types 
  • DOM & Java Interfaces 
  • DOM Operations 
    • Traversing DOM 
    • Manipulating DOM 
    • Creating a new DOM 
    • Writing out (Serializing) DOM 
  • Benefits and Drawbacks of DOM 
  • DOM Support in JAXP 1.1 T

DOM Characteristics 

  • Access XML document as a tree structure 
  • Composed of mostly element nodes and text nodes 
  • Can “walk” the tree back and forth 
  • Larger memory requirements 
    • Fairly heavyweight to load and store a large XML document 
  • Use it when for walking and modifying the tree


Download course content