/rhino/xmlimplsrc/org/mozilla/javascript/xmlimpl/XmlNode.java
createImpl( attrs.item( i) ).renameNode( QName.create( attrs.item( i) .lookupNamespaceURI( localName) ,
createImpl ( attrs.item ( i ) ) .renameNode ( QName.create ( attrs.item ( i ) .getNamespaceURI ( ) ,
String prefix = this.dom.getPrefix(); QName after = QName.create(this.dom.getNamespaceURI(), this.dom.getLocalName(), null); renameNode(after); NamedNodeMap attrs = this.dom.getAttributes(); for (int i = 0; i < attrs.getLength(); i++) { if (attrs.item(i).getPrefix().equals(prefix)) { <extra_id_0> attrs.item(i).getLocalName(), null)); } } } private void declareNamespace(Element e, String prefix, String uri) {