siggi
October 12, 2012, 11:43am
#1
Hello,
is there any possibility to set the Data in a form using an XML String?
The structure is already built, it’s just the data I need.
loading from a static XML file works flawlessly, but storing an XML file on the client is not an option.
Thank you in advance for your help!
Siggi
Darya
October 12, 2012, 12:55pm
#2
Hello
Here is a sample with for your question:
dhtmlx.com/docs/products/dht … tring.html
siggi
October 12, 2012, 1:14pm
#3
loadStructString loads an XML String containing the structure, if I am not mistaken.
I need to load the string just with the data, no structure.
Darya
October 12, 2012, 1:26pm
#4
siggi
October 12, 2012, 1:38pm
#5
Thank you for your reply.
Actually, this dos not help me. I need to load the xml string, not a url returning the string.
The string has valid formatting, as I have tested with a local xml file.
If I try to load() the String, he tries to open the String as an Url, which gloriously fails.
So what I am looking for is a loadStructString(), only without the Structure.
Darya
October 12, 2012, 3:00pm
#6
So, parse you XML manually and call setFormData()