# File rexml/xpath.rb, line 42 def XPath::each element, path=nil, namespaces=nil, &block parser = XPathParser.new parser.namespaces = namespaces path = "*" unless path element = [element] unless element.kind_of? Array parser.parse(path, element).each( &block ) end