Release 10.1A: OpenEdge Development:
Messaging and ESB

> ## deleteSaxWriter procedure

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

> #### Syntax

>     PROCEDURE deleteSaxWriter.
>     INPUT PARAMETER hdl AS HANDLE.

> #### Applies to

> Message objects

> #### Notes

> - This procedure calls the 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 the 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" section.

Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095