Standard.BaseDataXMLtextOn this pageXML_Element.text text Group: Selections Documentation Gets the text (non-markup) contents of the element and its descendants, if any. Examples Get the text content of an element. XML_Document.from_text '<foo>hello</foo>' . root_element . text # => "hello"