Routines (alphabetical) > Object Classes > File Format Object Classes > IDLffXMLSAX

# IDLffXMLSAX

Superclasses | Subclasses | Creation | Properties | Methods | Version History

An IDLffXMLSAX object uses an XML SAX level 2 parser. The XML parser allows you to read an XML file and store arbitrary data from the file in IDL variables. The parser object’s methods are callbacks. These methods are called automatically when the parser encounters different types of XML elements or attributes.

Note: To use the XML parser, you must write a subclass of this object class, overriding the object methods as necessary to process the data in a specific XML file or files.

The IDLffXMLSAX object encapsulates the Xerces validating XML parser; see http://xml.apache.org for details.

## Superclasses

None

## Subclasses

You must write a subclass of this object, overriding object methods as necessary to retrieve information from the XML file.

## Creation

See IDLffXMLSAX::Init

## Properties

Objects of this class have the following properties. See IDLffXMLSAX Properties for details on individual properties.

- FILENAME
- NAMESPACE_PREFIXES
- PARSER_LOCATION
- PARSER_PUBLICID
- PARSER_URI
- SCHEMA_CHECKING
- VALIDATION_MODE

## Methods

This class has the following methods:

- IDLffXMLSAX::AttributeDecl
- IDLffXMLSAX::Characters
- IDLffXMLSAX::Cleanup
- IDLffXMLSAX::Comment
- IDLffXMLSAX::ElementDecl
- IDLffXMLSAX::EndCDATA
- IDLffXMLSAX::EndDocument
- IDLffXMLSAX::EndDTD
- IDLffXMLSAX::EndElement
- IDLffXMLSAX::EndEntity
- IDLffXMLSAX::EndPrefixMapping
- IDLffXMLSAX::Error
- IDLffXMLSAX::ExternalEntityDecl
- IDLffXMLSAX::FatalError
- IDLffXMLSAX::GetProperty
- IDLffXMLSAX::IgnorableWhitespace
- IDLffXMLSAX::Init
- IDLffXMLSAX::InternalEntityDecl
- IDLffXMLSAX::NotationDecl
- IDLffXMLSAX::ParseFile
- IDLffXMLSAX::ProcessingInstruction
- IDLffXMLSAX::SetProperty
- IDLffXMLSAX::SkippedEntity
- IDLffXMLSAX::StartCDATA
- IDLffXMLSAX::StartDocument
- IDLffXMLSAX::StartDTD
- IDLffXMLSAX::StartElement
- IDLffXMLSAX::StartEntity
- IDLffXMLSAX::StartPrefixmapping
- IDLffXMLSAX::StopParsing
- IDLffXMLSAX::UnparsedEntityDecl
- IDLffXMLSAX::Warning

## Version History

5.6 | Introduced