if (nNode.getNodeType() == Node.ELEMENT_NODE && nNode.getNodeName().equals(Report.XML_NODE_REPORT))
{
eElement = (Element) nNode;
if (eElement.getAttribute(Report.XML_ATT_DEFINITIONVER).compareTo(Report.XML_DEFINITION_VERSION) < 0)
{
throw new TemplateLoadException("File defining report must be compatible with version " + Report.XML_DEFINITION_VERSION + " or lower");
}
}
// Obtiene las propiedades del informe
Element root = doc.getDocumentElement();