on_pi Event
Fired when a processing instruction section is encountered.
Syntax
class SAMLPIEventParams(object): @property def text() -> str: ... # In class SAML: @property def on_pi() -> Callable[[SAMLPIEventParams], None]: ... @on_pi.setter def on_pi(event_hook: Callable[[SAMLPIEventParams], None]) -> None: ...
Remarks
The on_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.