Try OpenEdge Now
skip to main content
Working with XML
Writing XML Documents with the Simple API for XML (SAX)
 

Writing XML Documents with the Simple API for XML (SAX)

This chapter assumes that you are familiar with Reading XML Documents with the Simple API for XML (SAX).
A SAX-writer is an ABL object that streams (writes) an XML document to a specified target using the built-in support for the SAX API. ABL methods and attributes allow you to easily set up and control the XML write. This chapter describes the SAX-writer.
* SAX-writer overview
* Creating a SAX-writer
* Configuring a SAX-writer
* Writing an XML document
* Examples
* Handling namespaces
* Handling errors