Progress
External Program
Interfaces


SAX-READER Object

The application creates a SAX-READER object and uses it to control the XML parser.

The application can parse an XML document in one call or in multiple calls. For more information on this, see the "Parsing With One Call Or With Multiple Calls" section in this document.

When the application is finished parsing the XML document, Progress Software Corporation recommends that the application deletes the SAX-READER object.

The attributes and methods associated with the SAX-READER object are summarized in Table 12–1. For reference entries, see the Progress Version 9 Product Update Bulletin .

Table 12–1: SAX-READER Attribute and Method Summary 
This Attribute Or Method...
Lets You...
SET-INPUT-SOURCE() Method
Specify the XML input
SCHEMA-PATH Attribute
Specify a search path for the Document Type Definition (DTD) or any other external entities
HANDLER Attribute
Tell the parser where the callbacks reside
SUPPRESS-NAMESPACE-PROCESSING Attribute
VALIDATION-ENABLED Attribute
Toggle parser options
SAX-PARSE() Method
SAX-PARSE-FIRST() Method
SAX-PARSE-NEXT() Method
STOP-PARSING() Method
Start, continue, or stop parsing
LOCATOR-COLUMN-NUMBER Attribute
LOCATOR-LINE-NUMBER Attribute
LOCATOR-PUBLIC-ID Attribute
LOCATOR-SYSTEM-ID Attribute
PARSE-STATUS Attribute
Get the status of the parse
TYPE Attribute
Get the type of the object (which is always “SAX-READER”)
ADM-DATA Attribute
PRIVATE-DATA Attribute
UNIQUE-ID Attribute
Get or set information concerning this particular SAX-READER object


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095