I am Krishna Srinivasan working as Software Engineer in Bangalore,India.My interest is everything related to Java,Google and Opensource products. Apart from my tech work, I love listening music, watching movies and reading books.
Streaming API for XML, simply called StaX, is an API for reading and writing XML Documents. Why need another XML Parsing API when we already have SAX (Simple API for XML Parsing) and DOM (Document Object Model)? Both SAX and DOM parsers have their own advantages and disadvantages and StaX provides a solution for the disadvantages that are found in both SAX and DOM. It is not that StaX replaces SAX and DOM. read full article