PDA

View Full Version : From string to dataset...


3.14
05-11-2004, 11:05 AM
...i wonder if a function which does exactly the opposite of "serialize()" exists?

3.14
05-11-2004, 11:06 AM
i.e. i pass the following string as argument:
<node><toto/><tutu>text</tutu></node>
and it fills the dataset with the matching data

antun
05-11-2004, 12:22 PM
There is not such a method, but I have filed a feature request for one. In the meantime, you know you can create nodes using datapointers, as well as the datapath.p sytnax that allows you to create LzDataElement objects in JavaScript.

-Antun