/rhino/xmlimplsrc/org/mozilla/javascript/xmlimpl/XMLList.java
if ( xmlValue != null) {
if ( xmlValue == null ) {
xmlValue = (XMLObject) value; } else { if (targetProperty == null) { xmlValue = newXMLFromJs(value.toString()); } else { xmlValue = item(index); <extra_id_0> XML x = item(0); xmlValue = x == null ? newTextElementXML(null, targetProperty, null) : x.copy(); } ((XML) xmlValue).setChildren(value); } }