Program with DOM in C/C++ Using Smart Pointer Class Wrappers

MSXML 5.0 SDK

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

Program with DOM in C/C++ Using Smart Pointer Class Wrappers

This tutorial is intended for C/C++ developers interested in writing XML applications using the DOM APIs as implemented in Microsoft XML Core Services (MSXML) 5.0 for Microsoft Office. It includes a series of simple examples written in C and tested using Microsoft Visual C++ 6.0. The objective is to provide a quick and practical orientation, so that you can start to write your own XML applications.

These demonstrations are task-oriented, and are simplified for clarity. Therefore, their implementation is not always optimized.

This tutorial consists of the following demonstrations.

How Do I? Description
Get Ready to Work with MSXML (Smart) Discusses the requirements for using MSXML, and describes how to install the MXSML components.
Load an XML DOM Object from an XML File (Smart) Demonstrates how to create an XML DOM instance and load its content from an external XML data file.
Save an XML DOM Object to a File (Smart) Demonstrates how to serialize an XML DOM object in a text file.
Perform XSL Transformations (Smart) Demonstrates how to perform XLS Transformations.
Create an XML DOM Object Dynamically (Smart) Demonstrates how to create an XML DOM object programmatically, including processing instructions, comments, elements, attributes, CDATA sections, and text nodes.
Query DOM Nodes (Smart) Demonstrates how to query a DOM node or node-set using XPath expressions.
Make XML Requests Over HTTP (Smart) Demonstrates how to perform client requests of XML data from a web server.
Validate an XML Document or (Smart) Demonstrates how to validate an XML document and/or fragment against an XML Schema.