5.13.7 WRITE
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
|
value
|
Optional. Indent XML amount. Default is 0. If the amount is not zero then indent is enabled.
|
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) BINDTRACE(*YES)