Provides access to the SAX parser to stream an XML document into the object. The SAX-reader object, used with the SAX interface, corresponds to the X-document object of the Document Object Model (DOM) interface, but presents a very different programming interface.

Syntax

SAX-reader-handle [ :attribute  | :method ]
SAX-reader-handle
A variable of type HANDLE.
attribute
An attribute of the SAX-reader object.
method
A method of the SAX-reader object.

Attributes

ADM-DATA attribute ENTITY-EXPANSION-LIMIT attribute EVENT-HANDLER-OBJECT attribute
HANDLE attribute HANDLER attribute INSTANTIATING-PROCEDURE attribute
LOCATOR-COLUMN-NUMBER attribute LOCATOR-LINE-NUMBER attribute LOCATOR-PUBLIC-ID attribute
LOCATOR-SYSTEM-ID attribute NONAMESPACE-SCHEMA-​LOCATION attribute PARSE-STATUS attribute
PRIVATE-DATA attribute SCHEMA-LOCATION attribute SCHEMA-PATH attribute
STRICT-ENTITY-RESOLUTION attribute SUPPRESS-NAMESPACE-​PROCESSING attribute TYPE attribute
UNIQUE-ID attribute VALIDATION-ENABLED attribute

Methods

ADD-SCHEMA-LOCATION( ) method SAX-PARSE( ) method
SAX-PARSE-FIRST( ) method SAX-PARSE-NEXT( ) method
SET-INPUT-SOURCE( ) method STOP-PARSING( ) method

See also

CREATE SAX-READER statement, SAX-attributes object handle