I am reading an XML file using XQuery and want to insert some nodes / elements and generate a new XML file. How can i do this?
I tried using the replace () function, but it looks like all my XML tags are removed when I call doc () to load my document. So the call to replace () is not good if my XML tags are removed.
Any help? Are there other technologies that I can use?
source
share