O'Reilly logo

Do More with SOA Integration: Best of Packt by Doug Todd, Arun Poduval

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

XML Streaming and DOM

There are two programming models for working with XML documents i.e. document streaming and the document object model (DOM).

The DOM model involves creating in-memory objects representing an entire document tree and the complete document state. Once in memory, DOM trees can be navigated freely and parsed arbitrarily, and provide maximum flexibility. However, the cost of this flexibility is a potentially large memory footprint and significant processor requirements, as the entire representation of the document must be held in memory as objects for the duration of the document processing. This may not be an issue when working with small documents, but memory and processor requirements can escalate quickly with document size. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required