Server IP : 66.29.132.122 / Your IP : 18.117.91.221 Web Server : LiteSpeed System : Linux business142.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : admazpex ( 531) PHP Version : 7.2.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /opt/alt/ruby18/share/ri/1.8/system/REXML/Element/ |
Upload File : |
--- !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