DocumentBuilder.is_at_end_of_structured_document_tag property. Returns true if the cursor is at the end of a structured document tag....= 1 , character_index = 1 ) # 2 - Move to the first character...NodeType . STRUCTURED_DOCUMENT_TAG , 2 , True ) . as_structured_document_tag...