ABL SAX and WebSpeed

This topic 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:
    hSAX-reader:SET-INPUT-SOURCE("HANDLE", WEB-CONTEXT).

At this point, proceed with the WebSpeed application as if it were any other ABL SAX application.