Sample: CreateDOMDocument

| CreateDOMDocument |

CreateDOMDocument, illustrates how you can create a DOM tree in memory from scratch. It then reports the 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

    cd xerces-c2_3_0-linux/samples/data
    CreateDOMDocument
    The tree just created contains: 4 elements.

Copyright © 2003 The Apache Software Foundation. All Rights Reserved.