PI Event
Fired when a processing instruction section is encountered.
Syntax
public open class DefaultXmlEventListener : XmlEventListener { ... public override fun pi(e: XmlPIEvent) {} ... } public class XmlPIEvent { val text: String? }
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.