Try OpenEdge Now
skip to main content
Working with XML
Reading XML Documents with the Simple API for XML (SAX) : ABL SAX and WebSpeed

ABL SAX and WebSpeed

This section describes how to use ABL SAX with WebSpeed applications. To use SAX with WebSpeed applications:
1. Check that the WEB-CONTEXT object's IS-XML attribute is TRUE. This indicates that the WebSpeed transaction server recognizes that an XML document was posted to it.
Note: The WEB-CONTEXT object's VALIDATE-XML attribute applies only to DOM, not to SAX.
2. After you create the SAX-reader object, run the SET-INPUT-SOURCE( ) method as follows:
At this point, proceed with the WebSpeed application as if it were any other ABL SAX application.
* Example code: reading XML data using WebSpeed
* SAX and the AppBuilder