Terminates the SAX-WRITER and deletes the SAX-WRITER handle created by getSaxWriter function.

Syntax

PROCEDURE deleteSaxWriter.
INPUT PARAMETER hdl AS HANDLE. 

Applies to

Message objects

Notes

  • This procedure calls setLongText procedure to place the XML created by the SAX-WRITER calls into the XMLMessage.
  • The caller then sends the XMLMessage using the appropriate OpenEdge Adapter for SonicMQ calls.
  • An error is returned if the specified handle is not a SAX-WRITER handle, by setLongText procedure, and by DELETE OBJECT.

See also

createXMLMessage procedure, setX-Document procedure, getX-Document function, setSaxReader procedure, getSaxWriter function, deleteSaxWriter procedure

For more information, see the XMLMessage.