This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
That is the kind of question you should be able to answer for yourself with existing web resources. For instance, a google search for "java xml tutorial" will turn up this Sun tutorial on XML in java. Bill