Try OpenEdge Now
skip to main content
Messaging and ESB
ABL - JMS API Reference : getSaxWriter function
 

getSaxWriter function

Creates a SAX-WRITER and sets the output destination to an internal longchar for intermediate storage.

Syntax

FUNCTION getSaxWriter (INPUT name) RETURNS HANDLE.

Applies to

Message objects

Notes

*The caller uses SAX-WRITER methods on the returned handle to create the XML document. (which will be written to the internal longchar).
*The name parameter is the name of the widget-pool to be used when creating the SAX-WRITER. The Unknown value (?) results in the use of the default pool.
*When XML creation is completed, call deleteSaxWriter procedure .
*Possible errors are returned by CREATE-SAX-WRITER or SET-OUTPUT-DESTINATION.

See also

createXMLMessage procedure, setX-Document procedure, getX-Document function, setSaxReader procedure, getSaxWriter function, deleteSaxWriter procedure
For more information, see the XMLMessage.