Was this helpful?
WriteProcessingInstruction Method
WriteProcessingInstruction is a low-level method that writes an XML processing instruction to the file previously opened by WriteStartDocument().
This method has the following syntax:
integer = XMLDocument.WriteProcessingInstruction(target = varchar(256),
          data = StringObject)
This method has the following parameters:
target
(Required) Specifies the target name of the processing instruction
data
(Required) Specifies the data of the processing instruction
If the method is successful, it returns ER_OK; otherwise, it returns ER_FAIL. Descriptions of system constant values and their numeric equivalents are listed in Error Codes.
Last modified date: 06/25/2024