final XMLDocument document = ActiveXObject.buildXMLDocument(getWebWindow());
document.setParentScope(this);
final Iterator<HtmlElement> children = unknownElement.getHtmlElementDescendants().iterator();
if (children.hasNext()) {
final HtmlElement root = children.next();
document.jsxFunction_loadXML(root.asXml().trim());
}
result = document;
}
}
}