DOMGETRESULT

LANSA Integrator

DOMGETRESULT

The optional keyword DOMGETRESULT specifies how the style sheet transformation result will be stored.

The transformation process requires the input FunctionXML source to be read into an in-memory XML DOM object and the style sheet to be applied to this DOM.

Currently due to outbound fragment handling requirements, the XML result is read and converted to a String for later fragment merging.

Streaming the result out to a file is still valid, as only memory for the DOM is required for this type of transform and the result file content to String conversion is done at a later stage.

The default value for the DOMGETRESULT keyword is *STRING.

The DOMGET and DOMGETRESULT setting are used by commands like SEND for Outbound XML processing.

DOMGETRESULT

*UTF8

XML transform is kept as UTF-8 encoded bytes.

*STRING

XML transform is kept as a String object.

*FILE

XML transform is steamed out to a temporary file.

 

Example

 

SERVICE_LOAD DOMGET(*FILE) DOMGETRESULT(*FILE)