IDLffXMLSAX Properties
IDLffXMLSAX objects have the following properties in addition to properties inherited from any superclasses. Properties with the word "Yes" in the "Get" column of the property table can be retrieved via IDLffXMLSAX::GetProperty. Properties with the word "Yes" in the "Init" column of the property table can be set via IDLffXMLSAX::Init. Properties with the word "Yes" in the "Set" column in the property table can be set via IDLffXMLSAX::SetProperty.
Note
For a discussion of the property description tables shown below, see About Object Property Descriptions.
Objects of this class have the following properties.
FILENAME
A string containing the filename of the XML file being parsed.
Note
This property is only available during a parse operation.
NAMESPACE_PREFIXES
A Boolean value indicating whether namespace prefixes are enabled. Namespace prefixes are enabled if this property is set to true. By default, namespace prefixes are disabled.
PARSER_LOCATION
A two-element array containing the approximate location of the parser within the entity being parsed. The first element of the array is set to the line number and the second element is set to the column number.
Note
This property is only available during a parse operation.
PARSER_PUBLICID
A string containing the Public ID for the entity being parsed, if it is available. If the Public ID is not available, an empty string is returned.
Note
This property is only available during a parse operation.
PARSER_URI
A string containing the base URI (System ID) for the entity being parsed, if it is available. If the value is available, it is always an absolute URI. If the System ID is not available, an empty string is returned.
Note
This property can be used to identify the document or external entity in diagnostics, or to resolve relative URIs. However, it is only available during a parse operation.
SCHEMA_CHECKING
An integer value to indicating the type of validation the parser should perform. XML Schemas describe the structure and allowed contents of an XML document. Schemas are more robust than, and are envisioned as a replacement for, DTDs. By default, the parser will validate the parsed XML file against the specified schema, if one is provided. If no schema is provided, no validation will occur. Possible values are:
VALIDATION_MODE
An integer value indicating the type of XML validation that the parser should perform. XML Document Type Definitions (DTDs) describe the structure and allowed contents of an XML document. By default, the parser will validate the parsed XML file against the specified DTD, if one is provided; if no DTD specification is provided, no validation will occur. Possible values are: