Linux heracles.o2switch.net 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64
/
opt
/
alt
/
ruby27
/
share
/
ri
/
system
/
REXML
/
Attribute
/
//opt/alt/ruby27/share/ri/system/REXML/Attribute/namespace-i.ri
U:RDoc::AnyMethod[iI"namespace:ETI"REXML::Attribute#namespace;TF:privateo:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"<Returns the namespace URL, if defined, or nil otherwise;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"e = Element.new("el") ;TI")e.add_namespace("ns", "http://url") ;TI""e.add_attribute("ns:a", "b") ;TI"#e.add_attribute("nsx:a", "c") ;TI"5e.attribute("ns:a").namespace # => "http://url" ;TI"-e.attribute("nsx:a").namespace # => nil ;T:@format0o; ; [I"GThis method always returns "" for no namespace attribute. Because ;TI"<the default namespace doesn't apply to attribute names.;T@o; ; [I"4From https://www.w3.org/TR/xml-names/#uniqAttrs;T@o; ; [I">> the default namespace does not apply to attribute names;T@o;; [ I""e = REXML::Element.new("el") ;TI"0e.add_namespace("", "http://example.com/") ;TI",e.namespace # => "http://example.com/" ;TI"e.add_attribute("a", "b") ;TI"'e.attribute("a").namespace # => "";T; 0: @fileI"lib/rexml/attribute.rb;T:0@omit_headings_from_table_of_contents_below000[ I"(arg=nil);T@(FI"Attribute;TcRDoc::NormalClass00