Standard.BaseDataXMLinner_xmlOn this pageXML_Element.inner_xml inner_xml Documentation Gets the raw XML of the contents of the element, not including the outermost tag and attributes. Examples Get the inner XML of an element. XML_Document.from_text '<foo><bar>hello</bar></foo>' . root_element . inner_xml # => '<bar>hello</bar>'