PK œqhYî¶J‚ßF ßF ) nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/
| Dir : /proc/self/root/opt/alt/ruby18/share/ri/1.8/system/REXML/Element/ |
| Server: Linux cloud.virginhosting.lk 4.18.0-477.27.2.lve.el8.x86_64 #1 SMP Wed Oct 11 12:32:56 UTC 2023 x86_64 IP: 128.140.68.198 |
| Dir : //proc/self/root/opt/alt/ruby18/share/ri/1.8/system/REXML/Element/namespace-i.yaml |
--- !ruby/object:RI::MethodDescription
aliases: []
block_params:
comment:
- !ruby/struct:SM::Flow::P
body: Evalutas to the URI for a prefix, or the empty string if no such namespace is declared for this element. Evaluates recursively for ancestors. Returns the default namespace, if there is one.
- !ruby/object:SM::Flow::LIST
contents:
- !ruby/struct:SM::Flow::LI
label: "prefix:"
body: the prefix to search for. If not supplied, returns the default namespace if one exists
- !ruby/struct:SM::Flow::LI
label: "Returns:"
body: the namespace URI as a String, or nil if no such namespace exists. If the namespace is undefined, returns an empty string
type: :NOTE
- !ruby/struct:SM::Flow::VERB
body: " doc = Document.new("<a xmlns='1' xmlns:y='2'><b/><c xmlns:z='3'/></a>")\n b = doc.elements['//b']\n b.namespace # -> '1'\n b.namespace("y") # -> '2'\n"
full_name: REXML::Element#namespace
is_singleton: false
name: namespace
params: (prefix=nil)
visibility: public