I have an xml document as a TiXmlDocument object, and I'd like to make a copy of it in RAM. Any suggestions on the best way to do this?
TiXmlDocument::Clone( ) sounds interesting, but does it do a deep copy? I want to copy the entire xml tree, not just a single node.
Any hints, folks?
-Roy
Log in to post a comment.
I have an xml document as a TiXmlDocument object, and I'd like to make a copy of it in RAM. Any suggestions on the best way to do this?
TiXmlDocument::Clone( ) sounds interesting, but does it do a deep copy? I want to copy the entire xml tree, not just a single node.
Any hints, folks?
-Roy