/rhino/xmlimplsrc/org/mozilla/javascript/xmlimpl/XMLLibImpl.java
return parse(s);
if ( s.length ( ) > 0 && s.charAt ( 0 ) == '<' ) { return parse ( s ) ; } else { return newXML ( XmlNode.createText ( options, s ) ) ; }
} if (object instanceof org.w3c.dom.Node) { org.w3c.dom.Node node = (org.w3c.dom.Node) object; return newXML(XmlNode.createElementFromNode(node)); } String s = ScriptRuntime.toString(object); <extra_id_0> } final XML newTextElementXML(XmlNode reference, XmlNode.QName qname, String value) { return newXML(XmlNode.newElementWithText(options, reference, qname, value)); } XMLList newXMLList() { return new XMLList(this, this.globalScope, this.xmlListPrototype);