File: C:/Ruby27-x64/share/ri/2.7.0/system/REXML/Attribute/namespace-i.ri
U:RDoc::AnyMethod[iI"namespace:ETI"REXML::Attribute#namespace;TF:publico: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