public Element getURIAsType(String uri) throws IOException { Element result = null; try { result = XMLTools.getElement( getRootElement(), ID_XPATH + uri + "'" + OR_CONTAINS_NAMES + uri + "']", nsContext); } catch (XMLParsingException e) { LOG.logError(e); } return result; }