xml.StaxWriter.processingInstruction

Writes a XML ProcessingInstruction to the StaxWriter stream

Syntax

processingInstruction(
   target STRING,
   data STRING )
  1. target defines the target of the Processing Instruction, cannot be NULL.
  2. data defines the data of the Processing Instruction, or NULL.

Usage

This method writes a XML ProcessingInstruction to the StaxWriter stream, where target is the target of the Processing Instruction, which cannot be NULL. data is the data of the Processing Instruction, or NULL.

In case of error, the method throws an exception and sets the STATUS variable. Depending on the error, a human-readable description of the problem is available in the SQLCA.SQLERRM register. See Error handling in GWS calls (STATUS).