U:RDoc::AnyMethod[iI" each_element_with_attribute:EFI"/REXML::Element#each_element_with_attribute;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"IIterates through the child elements, yielding for each Element that ;TI"$has a particular attribute set.;To:RDoc::Markup::List: @type: NOTE: @items[ o:RDoc::Markup::ListItem: @label[I"key;T; [o; ; [I",the name of the attribute to search for;To;;[I" value;T; [o; ; [I"the value of the attribute;To;;[I"max;T; [o; ; [I"<(optional) causes this method to return after yielding ;TI")for this number of matching children;To;;[I" name;T; [o; ; [I";(optional) if supplied, this is an XPath that filters ;TI"the children to check.;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim; [I"Jdoc = Document.new "" ;TI"# Yields b, c, d ;TI"