XmlMapping.custom_xml_part property. Returns the custom XML data part to which the parent structured document tag is mapped....#1</text><text>Text element #2</text></root>' xml_part = doc...#1</text><text>Text element #2</text></root>' , xml_part . data...