xml.StaxWriter.processingInstruction

Writes an XML ProcessingInstruction to the StaxWriter stream

Syntax

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

Usage

Writes an XML ProcessingInstruction to the StaxWriter stream, where target is the target of the Processing Instruction, 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).