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