XML Language / DOM and Sax Parsers

DOM Parser
It is used to convert xml file to a tree like structure and can access the elements of the xml file. Document builder factory helps the DOM parser to generate a tree for XML file.

HTML DOM
SAX Parser
It is used to convert xml file to a tree like structure and can access the elements of the xml file. Document builder factory helps the SAX parser to generate a tree for XML file. In SAX you can also identify part of the tags, elements, start and end tags.

HTML DOM output


Home     Back