Document	parsedDom				= parser.getDocument();
Document	theRealDom 			= (Document)	theSource.getDomDocument(theRequestContext);
Element		theRealElement	= (Element)		theRealDom.getDocumentElement();
parsedDom.replaceChild(theRealElement.cloneNode(true), theElement);
