datatype-xml-debug.js revision b9436848b51ee2b4f04b9217e74172c5a05ce276
/**
* The DataType utility provides a set of utility functions to operate on native
* JavaScript data types.
*
* @module datatype
*/
/**
* XML submodule.
*
* @class DataType.XML
* @static
*/
XML = {
/**
* Returns string name.
*
* @method toString
* @return {String} String representation for this object.
*/
toString: function() {
return "DataType.XML";
},
/**
* Converts data to type XMLDocument.
*
* @method parse
* @param data {String} Data to convert.
* @return {XMLDoc} XML Document.
* @static
*/
var xmlDoc = null;
try {
}
}
catch(e) {
try {
}
}
catch(e) {
Y.log("Could not parse data " + Y.dump(data) + " to type XML Document: " + e.message, "warn", Number.toString());
}
}
}
return xmlDoc;
}
};