JezK
Edit File: %5b%5d-i.ri
U:RDoc::AnyMethod[iI"[]:ETI"REXML::Attributes#[];TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"KFetches an attribute value. If you want to get the Attribute itself, ;TI"use get_attribute();To:RDoc::Markup::List: @type: NOTE:@items[o:RDoc::Markup::ListItem:@label[I" name;T; [o; ; [I"<an XPath attribute name. Namespaces are relevant here.;To;;[I"Returns;T; [o; ; [I"@the String value of the matching attribute, or +nil+ if no ;TI"Cmatching attribute was found. This is the unnormalized value ;TI"(with entities expanded).;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"Bdoc = Document.new "<a foo:att='1' bar:att='2' att='<'/>" ;TI"0doc.root.attributes['att'] #-> '<' ;TI"/doc.root.attributes['bar:att'] #-> '2';T:@format0: @fileI"lib/rexml/element.rb;T:0@omit_headings_from_table_of_contents_below000[ I"(name);T@'FI"Attributes;TcRDoc::NormalClass00