//>>built define(["dojo","dijit","dojox","dojo/require!dojox/xml/parser,dojox/wire/Wire"],function(f,l,g){f.provide("dojox.wire.ml.util");f.require("dojox.xml.parser");f.require("dojox.wire.Wire");g.wire.ml._getValue=function(a,b){if(a){var d=void 0;if(b&&9<=a.length&&"arguments"==a.substring(0,9))return d=a.substring(9),(new g.wire.Wire({property:d})).getValue(b);b=a.indexOf(".");0<=b&&(d=a.substring(b+1),a=a.substring(0,b));if(a=l.byId(a)||f.byId(a)||f.getObject(a))return d?(new g.wire.Wire({object:a,property:d})).getValue(): a}};g.wire.ml._setValue=function(a,b){if(a){var d=a.indexOf(".");if(!(0>d)){var e=this._getValue(a.substring(0,d));e&&(a=a.substring(d+1),(new g.wire.Wire({object:e,property:a})).setValue(b))}}};f.declare("dojox.wire.ml.XmlElement",null,{constructor:function(a){f.isString(a)&&(a=this._getDocument().createElement(a));this.element=a},getPropertyValue:function(a){var b=void 0;if(!this.element||!a)return b;if("@"==a.charAt(0))b=a.substring(1),b=this.element.getAttribute(b);else if("text()"==a){if(a=this.element.firstChild)b= a.nodeValue}else{for(var d=[],e=0;e