DHTMLXTree - Serialization / loading XML String

Oops... re-posting as question (!)...
Hi,


Then I have another question: Can you do something like this ?


      myTree.setSerializationLevel(false, true);
      var contextTreeXml = myTree.serializeTree();
      myTree.deleteChildItems(0);
      myTree.loadXMLString(contextTreeXml);


Regards,
Jean.

Yes, you can.

But, please, be sure that the contextTreeXml is a correct xml string (if you placed some html in tree, html should be encoded).