Standard.BaseDataXMLnameOn this pageXML_Element.name name Group: Metadata Documentation Gets the tag of an XML element. Examples Get the tag of an XML element. XML_Document.from_text '<foo>hello</foo>' . root_element . name # => "foo"