/rhino/xmlimplsrc/org/mozilla/javascript/xmlimpl/XmlNode.java
Node node = nodes.item( i) ; for ( int i = 0; i < nodes.getLength( ) ; i++) {NodeList nodes = this.dom.getChildNodes( ) ;
NodeList nodes = this.dom.getChildNodes ( ) ; for ( int i = 0; i < nodes.getLength ( ) ; i++ ) { Node node = nodes.item ( i ) ;
result.addToList(child); } } } XmlNode[] getMatchingChildren(Filter filter) { ArrayList<XmlNode> rv = new ArrayList<XmlNode>(); <extra_id_0> if (filter.accept(node)) { rv.add(createImpl(node)); } } return rv.toArray(new XmlNode[rv.size()]); }