# File rexml/xpath.rb, line 36 def XPath::match element, path=nil, namespaces=nil parser = XPathParser.new parser.namespaces = namespaces path = "*" unless path parser.parse(path,[element]) end