/rhino/xmlimplsrc/org/mozilla/javascript/xmlimpl/XmlNode.java
if ( referenceDom instanceof Document) node = ( ( Document) node).getDocumentElement( ) ;
if ( node instanceof Document ) node = ( ( Document ) node ) .getDocumentElement ( ) ;
return XmlNode.createImpl(e); } static XmlNode createText(XmlProcessor processor, String value) { return createImpl(processor.newDocument().createTextNode(value)); } static XmlNode createElementFromNode(Node node) { <extra_id_0> return createImpl(node); } static XmlNode createElement(XmlProcessor processor, String namespaceUri, String xml) throws org.xml.sax.SAXException { return createImpl(processor.toXml(namespaceUri, xml)); }