Aren't DOM and SAX just different ways of handling an XML document? You can use one or the other depending on how you want to use the XML data but the data structure is pretty much independent of the method of reading it. I think the short answer would be "Yes." However, there are certain situations where one is more appropriate than the other. DOM is memory intensive but highly flexible. SAX sacrifices some of the flexibility in favor of efficiency. I'm no expert in XML though, so please correct me if I'm wrong.