Load XML error

Hi All,
I’m loading my tree from XML which is coming from the DB. When I load the tree I get a pop up message saying “Error type: DataStructure Description: XML refers to not existing parent”. I use this tree in all the pages and this error is repeatedly coming on every page. It would be great if someone provides a solution for this.

Thanks and Regards,
Murali Meriga

Hi,

please check the article docs.dhtmlx.com/doku.php?id=othe … orrect_xml

Hi Alexandra,
The XML structure is proper. If I use a smaller tree I don’t face this issue. But, if tree is big I see this alert popping up. Any suggestions?

Check that root is correct:

tree=new dhtmlXTreeObject(“treeID”,“100%”,“100%”,0);

Okay,
In my case the tree id is dynamic but I’m using tree=new dhtmlXTreeObject(“treeID”,“100%”,“100%”,0); I guess that might be causing this. Will check that out. Thanks for the info :slight_smile: