method

first

v1_9_2_180 - Show latest stable - Class: REXML::XPathParser
first( path_stack, node )
public

Performs a depth-first (document order) XPath search, and returns the first match. This is the fastest, lightest way to return a single result.

FIXME: This method is incomplete!