# File rexml/xpath_parser.rb, line 442 def all_descendants nodeset rv = [] nodeset.each { |node| if node.kind_of? Parent rv += node.to_a rv += all_descendants( node.to_a ) end } rv end