The WRITE command serializes the document object in preparation for the SEND command.
Syntax:
Command | Keyword | Value | Developer notes |
|---|---|---|---|
WRITE | INDENT | *YES | Optional. Indent XML content. |
*NO | Default. | ||
INDENT-AMOUNT | integer | Optional. Indent XML amount. | |
DOCTYPE | value | Optional. Include XML <!DOCTYPE> element. | |
PUBLIC | value | Conditional. The optional public component of the XML DOCTYPE declaration. | |
OMIT-DECLARATION | *YES | Optional. Omit the XML declaration. | |
*NO | Default. | ||
BINDTRACE | *YES | Optional. Trace the outbound bind result. | |
*NO | Default. | ||
FILTER | Optional. See FILTER. |
Example
WRITE INDENT(*YES) BINADTRACE(*YES)