Example of Java-XML integration