dhtmlxFolders cddata

Hello,



in my xml content i have a folders and files that have a (%,�,&) chars ,Can i add a CDData section in the xml description of my dhtmlxFolders object,





Best regards

sabri,


Hello,


Yes, you can use CDATA inside tags in the xml.

So,
can i put

“<item name="CDATA[”+theRoots[i].toString()+“]" type="dir"/>”


but i have a result like in attachment :frowning:




Hello,


CDATA tag is placed as child node of some other tag for example:


<some …>


If & is part of tag attribute, it must be escaped: & -> &

Hello,
The problem is solved
thank’s a lot of

Sabri,