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