dojox.wire.ml.XmlElement.setPropertyValue
dojo.require("dojox.wire.ml.util");
defined in dojox/wire/ml/util.js
If 'property' starts with '@', 'value' is set to the attribute. If 'property' specifies "text()", 'value' is set as the first child text. If 'value' is a string, a child element of the tag name specified with 'property' is created and 'value' is set as the first child text of the child element. Otherwise, 'value' is set to as child elements.
parameter | type | description |
---|---|---|
property | String | A property name |
value | String|Array | A property value |