In that case, do you still think that it is better to use the SAX approach?

 
I have no idea what the requirements of your project are. I was just making sure you are aware of the trade-offs.
 

Regards,

Michael Kay
http://www.saxonica.com/
http://twitter.com/michaelhkay