dhtmlxtree url userdata loading issue

Per your online document: dhtmlx.com/docs/products/doc … &type=smpl

I am interested in using your dhtmlxtree js components for creating an online bookmark. I tried to no avail loading an xml doc with a link e.g.





http://www.applianceblog.com/forums/view_topic.php?id=91&forum_id=3&jump_to=4913





If I’m not mistaken, it turned out to be the url link is not XML well formed around where “forum_id=…” is located. Is there anyway to work about this? On another note, is there anyway to load an xml tree from a database string vs. an xml file? Please advise. Thanks.

Valid has few reserved chars ( & < > ) which need to be replaced with entities or included in CDATA so you code will be correct as

http://www.applianceblog.com/forums/view_topic.php?id=91&forum_id=3&jump_to=4913


or




>>On another note, is there anyway to load an xml tree from a database string vs. an xml file? Please advise. Thanks.

Actually you need not static XML file, you can load data directly from server side url as
    mygrid.loadXML(“some.php”);
    ---------------- some.php -----------------
    <?php
       header(“Content-type:text/xml”);
       … connect to DB
       … get necessary data
       … output as XML

Latest version of dhtmlxTree (1.6) supports loading from JSON/CVS formats