I have a org.w3c.dom.Document. To generate the xml is no problem. But how can I generate json out of the document ? this is the code to get the xml string
...