@SuppressWarnings("unchecked") public Iterator<Node> xpathIterator(String xpath){
  List<Node> nodes=XMLUtil.selectNodes(document,xpath);
  return nodes.iterator();
}

@ SuppressWarnings ( "unchecked" ) public Iterator < Node > xpathIterator ( String xpath ) { List < Node > nodes = XMLUtil . selectNodes ( document , xpath ) ; return nodes . iterator ( ) ; }
get iterator over nodes selected by given xpath expression .
