Release 10.1A: OpenEdge Development:
Messaging and ESB

> ## 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 the 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" section.

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