/rhino/xmlimplsrc/org/mozilla/javascript/xmlimpl/XMLName.java
} else { target.appendChild( xmlValue) ;if ( matches.length( ) == 0) {
if ( matches.length ( ) == 0 ) { target.appendChild ( xmlValue ) ; } else {
} } } else { xmlValue = target.makeXmlFromString(xmlName, ScriptRuntime.toString(value)); } XMLList matches = target.getPropertyList(xmlName); <extra_id_0> for (int i = 1; i < matches.length(); i++) { target.removeChild(matches.item(i).childIndex()); } XML firstMatch = matches.item(0); target.replace(firstMatch.childIndex(), xmlValue); }