Modify XML file in Java using DOM parser

In one of the earlier post we saw How to parse an XML using DOM parser. In this post we will see how to modify XML file in Java using DOM parser. We can add, update and delete any nodes/elements in XML

Read More

XML parsing using SAX parser in java

In java we have multiple ways to parse XML. We will see steps for XML parsing using SAX parser in java in this post. What are SAX parsers? SAX parsers are event based parsers. SAX parsers parse the XML line by line,

Read More

XML parsing using DOM parser in java

In java we have multiple ways to parse XML. We will see steps for XML parsing using DOM parser in java in this post. What are DOM parsers? DOM parsers are parsers that load the complete XML into memory and create a

Read More