Version 0.9  What is XML4Ada95?  Installation  How-To  API  Download 

COUNTER
counter


Examples

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

DOMCount parses an XML-file and counts the number of elements.

DOMPrint

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

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.


Installing How to ... Programmers notes Examples License

e-Mail: denny@nodix.de

design shareright © 2002 Phlash  
inhalt © 2003-04 Zdenko Denny Vrandecic  
last update: 14.01.2004 website created by XML4Ada95 DocGen