Okay so I’m not sure if I’m understanding the creation of a tree from HTML correctly or not.
In a nutshell, I’ve created an unsorted list in HTML that I think I can display in a tree format? I’ve been reading the demo here:
And this is where the confusion comes in. I know by calling mytree.loadXML(file.xml) I can pass in an XML file and life is good. But how do I load my HTML list I’ve created and turn it into a tree? I also see the:
var myHTML = dhtmlXTreeFromHTML(id);
line being referenced, and I’m assuming it will store my HTML list in the ‘myHTML’ variable, but how do I then get it into the tree? I feel like I’m missing a step. There should be a mytree.loadHTML or something like that.