Hi guys, I am a bit novice to the subject of XML in Java.
After some time I got to read the data from xml to my Java objects.
Now I would like to make the opposite. Write an xml node from Java Object.

This is my xml :
Java Code:
<?xml version="1.0" encoding="UTF-8"?>
<Base>
<coin>
    <name>Srebro</name>
    <year>2009</year>
    <diameter>35</diameter>
</coin>

<coin>
    <name>Zloto</name>
    <year>2010</year>
    <diameter>40</diameter>
</coin>

</Base>
I would like to add the whole part from <coin> to </coin>.

Is it possible ? How to do it?
Thanks in advance

Adam