XML DOM Objects-Interfaces


This part of the XML Document Object Model (DOM) reference describes the programming object syntax. The first table lists the core objects/interfaces. The second table lists the implemented objects/interfaces.

The following objects/interfaces represent implementations of the XML DOM core objects/interfaces. The objects/interfaces include Microsoft extensions to support the following items and operations: namespaces, data types, XML schemas, Extensible Stylesheet Language (XSL), XSL Transformations (XSLT) operations, asynchronous loading, and the saving of documents.

IXMLDOMDocument/DOMDocumentRepresents the top node of the XML DOM tree.
IXMLDOMDocument2An extension of DOMDocument. This extension supports schema caching and runtime validation, and provides a way to switch on XML Path Language (XPath) support.
IXMLDOMNamedNodeMapEnables iteration and access, by name, to the collection of attributes. IXMLDOMNamedNodeMapincludes support for namespaces.
IXMLDOMNodeRepresents a single node in the document tree. IXMLDOMNode is the base interface for accessing data in the XML object model. This interface includes support for data types, namespaces, document type definitions (DTDs), and XML schemas.
IXMLDOMNodeListEnables iteration and indexed access operations on the live collection of IXMLDOMNode.
IXMLDOMParseErrorReturns detailed information about the last error, including the error number, the line number, the character position, and a text description.
IXMLHTTPRequestProvides client-side protocol support for communication with HTTP servers.

The following table represents implementations of other XML DOM interfaces.

IServerXMLHTTPRequest/ServerXMLHTTPProvides methods and properties that enable you to establish an HTTP connection between files or objects on different Web servers. This interface is derived from IXMLHTTPRequest.
IXMLDOMAttributeRepresents an attribute.
IXMLDOMCDATASectionQuotes or escapes blocks of text so that text is not interpreted as markup language.
IXMLDOMCharacterDataProvides text manipulation methods that are used by several objects.
IXMLDOMCommentRepresents the content of an XML comment.
IXMLDOMDocumentFragmentRepresents a lightweight object that is useful for tree insertion operations.
IXMLDOMDocumentTypeContains information associated with the document type declaration.
IXMLDOMElementRepresents the element.
IXMLDOMEntityRepresents a parsed or unparsed entity in the XML document.
IXMLDOMEntityReferenceRepresents an entity reference node.
IXMLDOMImplementationProvides methods that are independent of any particular instance of the document object model.
IXMLDOMNotationContains a notation declared in the DTD or schema.
IXMLDOMProcessingInstructionRepresents a processing instruction. XML defines this instruction to keep processor-specific information in the text of the document.
XMLSchemaCacheRepresents a set of namespace URIs.
IXMLDOMSchemaCollection/XMLSchemaCacheRepresents a SchemaCache object.
IXMLDOMSchemaCollection2/XMLSchemaCacheAn extension of IXMLDOMSchemaCollection.
IXMLDOMSelectionRepresents a list of nodes that match an XPath expression.
IXMLDOMTextRepresents the text content of an element or attribute.
IXSLProcessorUsed for performing transformations with cached XSL templates.
IXSLTemplateRepresents a cached XSL style sheet.

For a list of all valid node types, see XML DOM Enumerated Constants.