dhtmlXTree loading html from xml file

Hi,

Here’s the code snippet:

<![CDATA[Classif. | Público & Sociedadeicon_edit.pngicon_delete.gificon_add.png]]>

the problem is that the text in the node appears as undefined.

if I load a tree with several childs the structure of the tree is loaded correctly but the text remains as undefined for all elements.

Can anyone tell me what I’m doing wrong?

Regards,
Pedro Pinto

Hello,

method setXMLAutoLoading sets path to script that will be used to load additional branches.
But it doesn’t load an initial structure:

The possible solution is:

Hi,

thx, I’ll fix that issue, but the main problem is in the XML output of the tag ain’t being considered … the nodes in the tree appear with the text “undefined”

Regards,
Pedro Pinto

Hello,

tag is supported in PRO edition.
Standard version allows to use only text attribute. You can also set style attribute to define style of the text.

Thanks for your help :slight_smile:

so once we buy the Enterprise version (it’s already approved internally), this XML structure will work, am I correct?

Regards,

Yes, you are right. Enterprise license provides PRO version.

There is the example of tag:
dhtmlx.com/docs/products/dht … _html.html