Try OpenEdge Now
skip to main content
Working with XML
Developing with XML in OpenEdge : Developing XML-enabled ABL applications with SAX : ABL support
 

ABL support

ABL implements SAX with three ABL object types:
*SAX-reader — Represents a parser object that reads an XML document
*SAX-writer — Represents an object used for writing an XML document as a stream of characters
*SAX-attributes — Contains any XML attribute values that may exist for the current XML element
The objects are defined with the CREATE SAX-READER, CREATE SAX-ATTRIBUTES, and CREATE SAX-WRITER statements. Methods and attributes on the objects provide the rest of the functionality.
If you provide a Document Type Definition document (DTD) or an XML Schema document, then ABL can perform the appropriate schema validation on SAX reads.
SAX support also includes definition of the callback methods expected by the SAX parser.