if (log.isDebugEnabled())
log.debug("Try to catch an Element with ID " + id + " and Element was " + selectedElem);
}
//Set resultSet = dereferenceSameDocumentURI(selectedElem);
XMLSignatureInput result = new XMLSignatureInput(selectedElem,new CachedXPathAPIHolder());
result.setExcludeComments(true);
//log.debug("We return a nodeset with " + resultSet.size() + " nodes");
result.setMIMEType("text/xml");