[DOM] How to insert a new node ?
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 :
I would like to add the whole part from <coin> to </coin>.
<?xml version="1.0" encoding="UTF-8"?>
Is it possible ? How to do it?
Thanks in advance