You can use either JAXP or JAXB API. Using JAXP you will parse xml documents and build text file on the fly. Using JAXB, you can convert xml data into java objects. Then you print objects using...