Tree not loading and browser console showing XML Parsing Err

Hi,
I’m using dhtmlxSuite_v51 for my project and I want load a tree from XML.
Using JS, I initialized the tree it seems fine but on my JSP page the tree is not loading.
Please see the code below,

javascript

var tourTree; function loadTourTree(){ tourTree = new dhtmlXTreeObject('tourListTree','100%','100%',0); tourTree.setImagePath(applicationPath+"/common/tools/dhtmlxSuite_v51/codebase/imgs/dhxtree_material"); tourTree.enableSmartXMLParsing(true); tourTree.enableCheckBoxes(true); tourTree.enableSmartXMLParsing(true); tourTree.enableTreeLines(true); tourTree.enableDragAndDrop(true); tourTree.parse(tourXml,"xml"); }

 var tourXml = '<s:property value="tourXml" />';  //loads from java struts model

JSP

[code]


[/code]

Error in browser consile

Please help…

You need to load the xml in the supporting format:
docs.dhtmlx.com/tree__syntax_te … attemplate