method

match

ruby latest stable - Class: REXML::XPath
match(element, path=nil, namespaces=nil, variables={})
public

Returns an array of nodes matching a given XPath.