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