/rhino/xmlimplsrc/org/mozilla/javascript/xmlimpl/XmlNode.java
if ( target instanceof Attr) { Node target = this.dom;
Node target = this.dom; if ( target instanceof Attr ) {
rv.declare(Namespace.create(attr.getLocalName(), attr.getValue())); } } } private Namespaces getAllNamespaces() { Namespaces rv = new Namespaces(); <extra_id_0> target = ((Attr) target).getOwnerElement(); } while (target != null) { if (target instanceof Element) { addNamespaces(rv, (Element) target); }