Re: Duplicating XML tree

2014-06-16 Thread Mark Schonewille
Hi Martin, I was hoping to copy the tree directly. I thought of your solution and I could also load the tree from file twice in this particular case, but I'd rather copy an existing tree directly if possible. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineeri

Re: Duplicating XML tree

2014-06-16 Thread Martin Koob
I think you can do it this way. put revXMLtext(tTreeID) into tXMLdata put revXMLCreateTree(tXMLdata,false,true,false) into tTreeIDCopy Martin -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Duplicating-XML-tree-tp4680494p4680495.html Sent from the

Duplicating XML tree

2014-06-16 Thread Mark Schonewille
Hi, I have an XML tree in memory, loaded with revXMLCreateTreeFromFile. Now I want to make a copy of the tree. I could load it from file again, but it seems more logical to me to duplicate the existing tree, something like revXMLCopyTree, but that function doesn't seem to exist. Is there a co