/rhino/xmlimplsrc/org/mozilla/javascript/xmlimpl/XMLObjectImpl.java
if ( !attribute) {
if ( !attribute && !descendants ) {
return NOT_FOUND; } @Override public Ref memberRef(Context cx, Object elem, int memberTypeFlags) { boolean attribute = (memberTypeFlags & Node.ATTRIBUTE_FLAG) != 0; boolean descendants = (memberTypeFlags & Node.DESCENDANTS_FLAG) != 0; <extra_id_0> throw Kit.codeBug(); } XmlNode.QName qname = lib.toNodeQName(cx, elem, attribute); XMLName rv = XMLName.create(qname, attribute, descendants); rv.initXMLObject(this); return rv;