EndElement Event
Fired when an end-element tag is encountered.
Syntax
type TEndElementEvent = procedure ( Sender: TObject; const Element: String ) of Object;
property OnEndElement: TEndElementEvent read FOnEndElement write FOnEndElement;
Remarks
The EndElement event is fired when the end of an element is found in the document.
The element name is provided by the Element parameter.