Just depends on what you're trying to accomplish when you're parsing the XML (ie, are you searching it for specific nodes, or building something based on a single pass through the whole tree). You tailor your application to use one or the other given the requirements and resources.
DOM recreates the tree in memory and forces you to walk through it, step by step, to find what you want. SAX lets you look for specific nodes as you wander, but does it all in one pass. So that's usually the guide for determining, in the real world, which one to use.
Hope it helps.
Theodore Jonathan Casser
SCJP/SCSNI/SCBCD/SCWCD/SCDJWS/SCMAD/SCEA/MCTS/MCPD... and so many more letters than you can shake a stick at!
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com