Blog Archives

Parse XML using SAX in Java

XML stands for eXtended Markup Language. SAX (Simple API for XML) is an event-based sequential access parser API for XML documents. SAX is an alternative to the DOM parser. The DOM parser operates on the document as a whole, whereas

Tagged with: , ,
Posted in Java

Parse XML using DOM in Java

XML and DOM XML stands for eXtended Markup Language. The Document Object Model (DOM) is a standardized representation for HTML and XML. Here we show how to use Java DOM Parser to process XML documents. The following is an example

Tagged with: , , , ,
Posted in Java