YUI.add("datatype-xml-format",function(e,a){var t=e.Lang;e.mix(e.namespace("XML"),{format:function(e){try{return t.isUndefined(e.getXml)?t.isUndefined(XMLSerializer)?void 0:(new XMLSerializer).serializeToString(e):e.getXml()}catch(a){return e&&e.xml?e.xml:t.isValue(e)&&e.toString?e.toString():""}}}),e.namespace("DataType"),e.DataType.XML=e.XML},"patched-v3.18.7");