WRITE-PROCESSING-INSTRUCTION( ) method
- Last Updated: January 18, 2024
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
WRITE-PROCESSING-INSTRUCTION( ) method
Creates a processing instruction node in an XML document represented by a SAX-writer object.
Return type: LOGICAL
Applies to: SAX-writer object handle
Syntax
|
- 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:
|
This method does not change the WRITE-STATUS attribute.