Microsoft XML SDK 2.6 - XML Reference

XML DOM Interfaces

This part of the XML Document Object Model (DOM) reference describes the programming interface syntax for C, C++, and Visual Basic developers. The following tables list the XML DOM programming interfaces by category.

XML DOM Base Interfaces

The following interfaces represent implementations of the XML DOM core objects. The interfaces include Microsoft extensions to support namespaces, data types, XML schemas, XSLT operations, asynchronous loading, and saving documents.

IXMLDOMDocument Represents the top node of the XML DOM tree.
IXMLDOMDocument2 Extension of IXMLDOMDocument that supports schema caching and validation features, as well as a way to turn on XPath support.
IXMLDOMNamedNodeMap Provides iteration and access by name to the collection of attributes. This interface includes support for namespaces.
IXMLDOMNode Represents a single node in the document tree; the base interface for accessing data in the XML object model. Valid node types are defined in the DOMNodeType enumeration. This interface includes support for data types, namespaces, DTDs, and XML schemas.
IXMLDOMNodeList Supports iteration and indexed access operations on the live collection of XMLDOMNode objects.
IXMLDOMParseError Returns detailed information about the last error, including the error number, line number, character position, and a text description.
IXMLHttpRequest Provides a scriptable interface for sending and receiving XML via HTTP, including the ability to communicate with servers that support DAV.
IXTLRuntime Implements methods that can be called from XSL style sheets.

XML DOM Interfaces

The following interfaces represent implementations of other XML DOM objects.

IXMLDOMAttribute Represents an attribute object.
IXMLDOMCDATASection Quotes or escapes blocks of text so that text is not interpreted as markup.
IXMLDOMCharacterData Provides text manipulation methods that are used by several objects.
IXMLDOMComment Represents the content of an XML comment.
IXMLDOMDocumentFragment Represents a lightweight object that is useful for tree insert operations.
IXMLDOMDocumentType Contains information associated with the document type declaration.
IXMLDOMElement Represents the Element object.
IXMLDOMEntity Represents a parsed or unparsed entity in the XML document.
IXMLDOMEntityReference Represents an entity reference node.
IXMLDOMImplementation Provides methods that are independent of any particular instance of the document object model.
IXMLDOMNotation Contains a notation declared in the DTD or schema.
IXMLDOMProcessingInstruction Represents a processing instruction, which XML defines to keep processor-specific information in the text of the document.
IXMLDOMSchemaCollection Represents a SchemaCache object.
IXMLDOMSelection Represents the list of nodes that match a given XSLPattern or XPath expression.
IXMLDOMText Represents the text content of an element or attribute.
IXSLProcessor Used for transformations with compiled stylesheets.
IXSLTemplate Used for caching compiled XSL templates.

The DOMNodeType enumeration lists all valid node types.

Header Files

If you have Microsoft Internet Explorer 5 installed, you can download the interface header files from the Web & Internet Samples download area on MSDN.

To download the header files

  1. In the left pane, click Headers and Libraries.
  2. Download IE 5.01 Headers & Libraries or IE 5.5 Headers & Libraries, and Win32 Headers & Libraries for Windows 2000. Save them to C:\Workshop.
  3. Start Visual C++. From the Tools menu, select Options and then Directories. The choice lists should show Win32 for Platform and Include files for Show directories for.
  4. Add C:\Workshop\Include and C:\Workshop\Include\NT5 to the top of the list of directories.
  5. Change Show Directories for to Library files.
  6. Add C:\Workshop\Lib and C:\Workshop\Lib\NT5 to the top of the list of directories.

See Also

XML DOM Objects