Saxonica.com

Example applications for .NET

The /samples/cs directory contains four sample applications written in C#, designed to illustrate use of the Saxon API available in the Saxon.Api namespace. These are:

The main value of these samples is in reading the source code rather than in actually running them; however, running them is also a good check that your installation has been set up correctly. a quick look at the comments in the source should enable you to see how they are executed. Note that they all require the environment variable SAXON_HOME to be set to the directory where Saxon is installed: this is used to find the sample data files.