function verifyXML(oXML) {
	if (oXML.parseError.errorCode == 0) {
		// sin errores
	} 
	else {
		var str = "An error occurred!!\n" +
		"Description: "+ oXML.parseError.reason + "\n" +
		"File: "+ oXML.parseError.url + "\n" +
		"Line: "+ oXML.parseError.line + "\n" +
		"Line Position: "+ oXML.parseError.linePos + "\n" +
		"Source Code: "+ oXML.parseError.srcText;
		alert(str);
	}
}

