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). It includes a series of simple examples written in C. 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 |
|---|---|
|
Discusses the requirements for using MSXML, and describes how to install the MSXML components. |
|
|
Demonstrates how to create an XML DOM instance and load its content from an external XML data file. |
|
|
Demonstrates how to serialize an XML DOM object in a text file. |
|
|
Demonstrates how to perform XSL Transformations. |
|
|
Demonstrates how to create an XML DOM object programmatically, including processing instructions, comments, elements, attributes, CDATA sections, and text nodes. |
|
|
Demonstrates how to query a DOM node or node-set using XPath expressions. |
|
|
Demonstrates how to perform client requests of XML data from a web server. |
|
|
Demonstrates how to validate an XML document and/or fragment against an XML Schema. |