Try OpenEdge Now
skip to main content
Working with XML
Reading XML Documents with the Simple API for XML (SAX) : SAX API reference : SAX callback reference : ProcessingInstruction
 
ProcessingInstruction
Invoked when the XML parser detects a processing instruction.

Syntax

PROCEDURE ProcessingInstruction:
DEFINE INPUT PARAMETER target AS CHARACTER.
DEFINE INPUT PARAMETER data AS CHARACTER.
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 instructions can appear before or after a root element.