PI Event
Fired when a processing instruction section is encountered.
Syntax
type TPIEvent = procedure PI(Sender: TObject; const Text: String) of object;property OnPI: TPIEvent read FOnPI write FOnPI;
Remarks
The PI event is fired whenever a processing instruction section (<? ..text... ?>) is found in the document.
The full text of the processing instruction is provided by the Text parameter.