Progress
External Program
Interfaces
Understanding Progress SAX
If you have already used Progress DOM, you know it provides the 4GL objects X-DOCUMENT and X-NODEREF and their attributes and methods, all of which are documented in the Progress Language Reference .
Similarly, Progress SAX interface provides two 4GL objects, SAX-READER and SAX-ATTRIBUTES, and their attributes and methods.
In addition, Progress SAX lets you do the following: provide callbacks for it to invoke, toggle validation and namespace processing, parse an XML document with one call or multiple calls, monitor the state of the parse, and detect and handle errors.
These topics are discussed in the following sections:
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |