Modify XML

In my installer project, I needed to modify an existing configuration file in XML format. For this example, I have decided to use org.w3c.dom and javax.xml.xpath to show how you can locate, and modify elements in an XML document. First we need to create an object »