Using the DOM with the SOM
The DOM has two methods that return schema objects. The first is the getDeclaration method of the IXMLDOMSchemaCollection2 interface. This method returns an XML Schema declaration. This declaration is used to validate the DOM node parameter sent to the method. The XML Schema declaration is returned as a schemaItem
object. You can query the schemaItem
using the SOM ISchemaItem interface.
The second is the getSchema method of the IXMLDOMSchemaCollection2 interface. This method returns an ISchema
object. You can obtain more information about the schema object by using the ISchema interface.
See Also
Concepts | XML DOM Objects/Interfaces