The DOMCount sample parses an XML file and prints out a count of the number of
elements in the file. To run DOMCount, enter the following
To use the validating parser, use
Here is a sample output from DOMCount
 |  |  |
 | cd xerces-c-1_1_0-linux/samples/data
DOMCount -v personal.xml
personal.xml: 20 ms (37 elems) |  |
 |  |  |
The output of both versions should be same.
 | The time reported by the system may be different, depending on your
processor type. |