I'm creating a tool that parses XML file into XMLDocument object. I'm using browser implementation of xml parser e.g.:
new DOMParser().parseFromString(text,"text/xml");
For some reason I should to have a copy of current XMLDocument object in another variable.
The question is - how to make deep clone of parsed xml object?
Thanks!
Aucun commentaire:
Enregistrer un commentaire