[Laszlo-user] addNode question
Daniel Williams
dwilliams at datainventory.com
Wed Jan 30 19:52:27 PST 2008
Hello,
I'm want to create a dynamic dataset in my Laszlo application. But I'm
missing something simple when I'm adding multi able attributes to a node.
My code:
var v1 = 'a';
var v2 = 'b';
dpTemp.addNode('datastore', '{id:v1,data:v2}');
The XML should look like this.
<datastore id="a" data="b"/>
But I'm getting this.
<datastore>{id:v1,data:v2}</datastore>
Thanks up front.
-Daniel
More information about the Laszlo-user
mailing list