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