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