Try OpenEdge Now
skip to main content
Working with XML
Writing XML Documents with the Simple API for XML (SAX) : Creating a SAX-writer
 

Creating a SAX-writer

Use the CREATE SAX-WRITER statement to create a SAX-writer and assign its handle to a handle variable.
CREATE SAX-WRITER handle[ IN WIDGET-POOL pool-name][ NO-ERROR ]
Here is an example:
DEFINE VARIABLE hSAXWriter AS HANDLE NO-UNDO.
CREATE SAX-WRITER hSAXWriter.