// return temp;
// }
InputStream stream = null;
try {
String id = "" + System.currentTimeMillis() + ".html"; //$NON-NLS-1$ //$NON-NLS-2$
IModelManager manager = StructuredModelManager.getModelManager();
stream = new ByteArrayInputStream(getGeneratedHTML().getBytes());
IDOMModel model = (IDOMModel) manager.getModelForRead(id, stream,
null);
Element root = model.getDocument().getDocumentElement();
Element resultEle = (Element) DOMUtil.cloneNodeDeepIgnoreError(
getDestDocument(), root);
model.releaseFromRead();