public NodeList getAt ( String name ) { NodeList answer = new NodeList ( ) ; for ( Object child : this ) { if ( child instanceof Node ) { Node childNode = ( Node ) child ; Object temp = childNode . get ( name ) ; if ( temp instanceof Collection ) { answer . addAll ( ( Collection ) temp ) ; } else { answer . add ( temp ) ; } } } return answer ; }
Provides lookup of elements by non - namespaced name .