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