/rhino/xmlimplsrc/org/mozilla/javascript/xmlimpl/XMLName.java
if ( xmlValue instanceof XMLList) {   for ( int i = 0; i < ( xmlValue.length( ) ) ; i++) {     XML xml = ( ( XMLList) ( xmlValue) ).item( i) ;     if ( xml.isAttribute( ) ) {       ( ( XMLList) ( xmlValue) ).replace( i, target.makeXmlFromString( xmlName, xml.toString( ) ) ) ;     }   } }
[Delete]
if (xmlValue instanceof XML) { if (((XML) xmlValue).isAttribute()) { xmlValue = target.makeXmlFromString(xmlName, xmlValue.toString()); } } if (xmlValue instanceof XMLList) { <extra_id_0> XML xml = ((XMLList) xmlValue).item(i); if (xml.isAttribute()) { ((XMLList) xmlValue) .replace(i, target.makeXmlFromString(xmlName, xml.toString())); } }