Previous Next

WRITE-PROCESSING-INSTRUCTION( ) method
Creates a processing instruction node in an XML document represented by a SAX-writer object.
Return type:
Applies to:
 
Syntax 
WRITE-PROCESSING-INSTRUCTION ( target, data )
target
A CHARACTER or LONGCHAR expression evaluating to the target of the processing instruction.
data
A CHARACTER or LONGCHAR expression that evaluates to the data associated with the processing instruction.
Call this method to add a processing instruction node to the XML document. You can add processing instructions at any time. The SAX-writer object creates the processing instruction by enclosing the CHARACTER expression in open and close processing instruction markers (<? and ?>). For example:
 
<?xml version="1.0"?>
This method does not change the WRITE-STATUS attribute.

Previous Next
© 2013 Progress Software Corporation and/or its subsidiaries or affiliates.