The different parsing approaches

  • "Stream" parsing
    • Doesn't load whole document into memory
    • Only current parsed node accessible
    • Editing not possible
  • Parse into a "tree"
    • Loads whole document into memory
    • "Random" access possible
    • Editing of XML possible
 
PHP Extensions and parsing approaches © copyright 2004  Bitflux GmbH