Using SAX with the SOM

 

[This topic discusses a feature that was only implemented for MSXML 6.0.]

SAX has two methods that return a schema object. The first is the schemaElementDecl method of the IMXSchemaDeclHandler interface. This method returns an XML Schema element declaration. This declaration is used to validate the element being parsed.

The second is the getTypeFromName method of the ISAXAttributes interface. This method returns an attribute type for an unhandled type declaration. You can use the ISchemaType and ISchemaComplexType interfaces to explore the other properties of the returned type.

See Also

SOM Concepts
SAX2 Reference