Example applications for .NET
/samples/cs directory contains four sample applications written in C#,
designed to illustrate use of the Saxon API available in the
XsltExamples, which shows a variety of ways of invoking XSLT transformations from C#
XQueryExamples, which similary shows different ways of running XQuery
XPathExample, a simple application using XPath to find words within a data file such as
SchemaExample, which shows how to compile and verify a schema, and use it to validate
an instance document and generate a typed document instance in the XDM data model.
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.