/rhino/xmlimplsrc/org/mozilla/javascript/xmlimpl/XML.java
if ( isElement( ) || this.node.isAttributeType( ) ) return true;
if ( isText ( ) || this.node.isAttributeType ( ) ) return true;
XMLObjectImpl copy() { return newXML(this.node.copy()); } @Override boolean hasSimpleContent() { if (isComment() || isProcessingInstruction()) return false; <extra_id_0> return !this.node.hasChildElement(); } @Override boolean hasComplexContent() { return !hasSimpleContent(); }