Syntax

Invoked when the XML parser detects a processing instruction.

Procedure

PROCEDURE ProcessingInstruction:
  DEFINE INPUT PARAMETER target AS CHARACTER.
  DEFINE INPUT PARAMETER data   AS CHARACTER.
  ...
END PROCEDURE.

Method

METHOD PUBLIC VOID ProcessingInstruction(INPUT target AS CHARACTER, 
                                         INPUT data   AS CHARACTER): 
  ... 
END METHOD.
target
A character string indicating the target of the processing instruction.
data
A character string indicating the data associated with the processing instruction. If the processing instruction has no data, the length of the string is zero.
Note: A processing instruction can appear before or after a root element.