5 4 9 WRITE

LANSA Integrator

5.4.9 WRITE

The WRITE command is only used with the InboundXMLBind, OutboundXMLBind, InboundJSONBind and OutboundJSONBind handlers.

The WRITE command serializes the document object in preparation for the SEND command.

Syntax:

Command

Keyword

Value

Developer notes for Command/Keyword/Value

WRITE

INDENT

*YES

Optional. Indent XML content.

*NO

Default.

INDENT-AMOUNT

value

Optional. Indent XML amount.
Default. 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.