Standard.BaseDataXMLinner_xmlOn this pageXML_Document.inner_xml inner_xml Documentation Gets the raw XML of the document. Examples Get the inner XML of the document. XML_Document.from_text '<foo><bar>hello</bar></foo>' . inner_xml # => '<foo><bar>hello</bar></foo>'