StructuredDocumentTagRangeStart.remove_self_only method. Removes this range start and appropriate range end nodes of the structured document tag, but keeps its content inside the document tree.... markup . StructuredDocumentTa ( doc , aw . markup . SdtType...PLAIN_TEXT ) range_end = aw . markup . StructuredDocumentTa ( doc...