Java XML Tutorial for Developers

In Java, there are many parser’s and technologies available to process and generate XML documents. The most commonly used technologies are DOM SAX JDOM JAXB Each has its own merits and demerits. It is important to determine the context and pick the best one for… Read More

Convert Properties file to XML in Java

In Java, you can store a properties file in XML format. This is not know to many developers and knowing this is handy. Here is an example demonstrating the use of this. Java Source

Output

Reference http://docs.oracle.com/javase/1.5.0/docs/api/java/util/Properties.html