# File rexml/xpath_parser.rb, line 720 def following( node ) siblings = [node] while node.next_sibling node = node.next_sibling siblings << node end following = [] recurse( siblings ) { |node| following << node } following.shift #puts "following is returning #{puta following}" following end