In JAVA I copy nodes from one XML document to another new document using importNode. In original document there is an xmlns defined, but in output document I would like to not have xmlns defined per each element that I copied. How to do it?
Share
Using javax.xml.transform.Transformer with XSL defined as below seems to be a good solution: