U:RDoc::AnyMethod[iI"[]:EFI"REXML::Element#[];TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"+Fetches an attribute value or a child.;To:RDoc::Markup::BlankLine o;
; [I"AIf String or Symbol is specified, it's treated as attribute ;TI"Ename. Attribute value as String or +nil+ is returned. This case ;TI"'is shortcut of +attributes[name]+.;T@o;
; [I";If Integer is specified, it's treated as the index of ;TI"!child. It returns Nth child.;T@o:RDoc::Markup::Verbatim; [ I";doc = REXML::Document.new("")
;TI"+doc.root["attr"] # => "1"
;TI"+doc.root.attributes["attr"] # => "1"
;TI"+doc.root[1] # => ;T:@format0:
@fileI"lib/rexml/element.rb;T:0@omit_headings_from_table_of_contents_below000[ I"(name_or_index);T@TI"Element;TcRDoc::NormalClass00