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