Example for article Parsing and Generating XML with Java.