org.w3c.dom.Comment domText = (org.w3c.dom.Comment) node;
return new TextImplEx("<!--" + domText.getData() + "-->", parent);
}
Element domEle = ((Element) node);
int indexOfColon = domEle.getTagName().indexOf(":");
NamespaceImpl ns;
String localname;
if (indexOfColon != -1) {
localname = domEle.getTagName().substring(indexOfColon + 1);
ns = new NamespaceImpl(domEle.getNamespaceURI(),
domEle.getTagName().substring(0, indexOfColon));
} else {
localname = domEle.getLocalName();
ns = new NamespaceImpl(domEle.getNamespaceURI(), domEle.getPrefix());
}
ElementImpl eleImpl =
new ElementImpl((DocumentImpl) this.getOwnerDocument(),
localname, ns, this.element.getOMFactory());