As far as I've seen, there is no map method on REXML::XPath.