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

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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 Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553

Installer Maker for LiveCode:
http://qery.us/468

Buy my new book Programming LiveCode for the Real Beginner 
http://qery.us/3fi


LiveCode on Facebook:
https://www.facebook.com/groups/runrev/

On 6/16/2014 16:07, Martin Koob wrote:

I think you can do it this way.

put revXMLtext(tTreeID) into tXMLdata
put revXMLCreateTree(tXMLdata,false,true,false) into tTreeIDCopy

Martin



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode