PI Event
Fired when a processing instruction section is encountered.
Syntax
shiprequest.on('PI', [callback])
Callback
The 'callback' is called when the 'PI' event is emited.
function(e){ }
The argument 'e' has the following properties:
e.text
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.