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 Revolution - User mailing list archive at Nabble.com.