http://xml.apache.org/http://www.apache.org/http://www.w3.org/

Xerces Project

Overview
Charter
Release Info
Advisories
Download

Xerces-C++ 3.3.0
Installation
Build Instructions

Programming
Samples
FAQs

API Reference
DOM C++ Binding
Migration Guide

Feedback
Bug-Reporting
Mailing Lists

Source Repository
Applications

CreateDOMDocument
 

The CreateDOMDocument example illustrates how you can create a DOM tree in memory from scratch. It then reports the number of elements in the tree that was just created.

Running CreateDOMDocument
 

The CreateDOMDocument sample illustrates how you can create a DOM tree in memory from scratch. To run CreateDOMDocument, enter the following

CreateDOMDocument

Here is a sample output from CreateDOMDocument

CreateDOMDocument
The tree just created contains: 4 elements.



Copyright © 1999-2017 The Apache Software Foundation. All Rights Reserved.