SAX Parsing
SAX parsers use a callback mechanism to parse XML. Applications register a ContentHandler to receive the parsing events. Although this is a little more complicated, it's more efficient because there's no need to build any data structures.
http://browserinsight2.lunaimaging.com:8090/ref/xml/sax.xtp