dojox.wire.XmlWire._setValue
dojo.require("dojox.wire.XmlWire");
defined in dojox/wire/XmlWire.js
This method first uses a root node passed in 'object' argument and 'path' property to identify an attribute, a text or elements. If an intermediate element does not exist, it creates an element of the tag name in the 'path' segment as a child node of the current node. Finally, 'value' argument is set to an attribute or a text (a child node) of the leaf element.
parameter | type | description |
---|---|---|
object | Node | A root node |
value | String | A value to set |