Things the SOM Cannot Do

MSXML 5.0 SDK

Microsoft XML Core Services (MSXML) 5.0 for Microsoft Office - SOM Developer's Guide

Things the SOM Cannot Do

The following tasks require the use of additional methods, outside the SOM.

  1. The SOM cannot validate an XML instance document against a given XML Schema. You must use the validate method of the IXMLDOMDocument2 interface to perform this task. The SOM can, however, validate data types against an XML Schema item, such as an element or an attribute. The SOM does this via the isValid method of the ISchemaType interface.
  2. The SOM cannot modify a loaded XML Schema, or create a new XML Schema. You must use the DOM to perform these tasks. After you have made your modifications, the XML Schema can be loaded into a SchemaCache object to validate the XML. The SOM provides read-only access to the XML schema.
  3. Unlike the DOM, the SOM does not provide a search method for child nodes. For information about navigating to a child element, see Finding Child Elements of Top-Level Schema Elements.

See Also

Concepts