why is sax parsing faster than dom parsing ? and how does stax work?
Assuming you do nothing but parse the document, the ranking of the different parser standards is as follows: 1. StAX is the fastest The event is reported to you 2. SAX is next It does everything StAX does plus the content is realized automatically (element name, namespace, attributes, …) 3. DOM is last It does … Read more