Is there a possibility to remove root element of xml file? How can I do this in Java? My xml file looks like this:
<root>
<body>
....
</body>
</root>
I already tried to parse it by Sax and ok I implement this, but I found out that SAX doesn't allow to write code to xml file(I read that is really hard). Have you got any idea how to get content from root tag and write it to new document with body as parent?