collect( xpath=nil, &block ) public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/rexml/element.rb, line 908
    def collect( xpath=nil, &block )
      collection = []
      XPath::each( @element, xpath ) {|e|
        collection << yield(e)  if e.kind_of?(Element)
      }
      collection
    end
Register or log in to add new notes.