method

get_elements

v1_9_3_125 - Show latest stable - Class: REXML::Element
get_elements( xpath )
public

Synonym for Element.to_a This is a little slower than calling elements.each directly.

xpath

any XPath by which to search for elements in the tree

Returns

an array of Elements that match the supplied path