The package contains three simple examples. After you extracted the package, you will find them in the path 'samples'.
The examples shall illustrate some mechanisms of using the XML4Ada95-package, thus helping you in understanding its usage.
Here is a list of the examples.
DOMCount parses an XML-file and counts the number of elements.
DOMPrint parser an XML-file and prints all elements (just their names), intented hierarchically to illustrate the DOMTree as it is built in memory. Anything but elements is ignored in this example, but you can easily expand it.
validate takes an XML-file, parses it and checks it against either a DTD or a Schema, whatever is specified in the XML-document. The DTD or Schema must be avaiable and at hand for the program. All errors encountered will be written to the standard output.
How to ...