Load a String instead of an XML File

Hi :slight_smile:

I’ve a problem with data loading. In my application, i set all the datas in an hidden input, to call it then in the javascript. So in fact, i try to load a string in the load() method, formatted in xml, instead of loading an xml file.

But i found that setting string in the load() method does not work, but loading an xml file with the same datas works perfectly.

So, is there a way to load datas using an xml string ?

You can use “parse” instead of “load”

docs.dhtmlx.com/doku.php?id=dhtm … uler_parse

really thanks, dunno why I didn’t see this method :confused:

But i have to handle that I’ve xslt + cdata, and this does not load anything and give me an xslt error (about close tag after setting CDATA tag :s)

Anyway, big thanks :slight_smile: