Hi,
If the size of the xml file that you parse is very huge, the best option to parse that xml is neither through DOM nor through SAX.
The best option is available through SAX Extensions which uses SAX as well as filters.
You can read Brett McLaughlin's xml tip at IBM developerworks
here Hope it helps..