# Use Cases

Saxon runs all the XQuery Use Cases with the exception of the STRONG use case, which is designed to exercise schema-aware query processors.

The relevant queries (some of which have been corrected from those published by W3C) are included in the Saxon distribution (folder `use-cases`) together with a batch script for running them. A few additional use cases have been added to show features that would otherwise not be exercised.

Also included in the distribution is a query `samples/query/tour.xq`. This is a query that generates a knight's tour of the chessboard. It is written as a demonstration of recursive functional programming in XQuery. It requires no input document. You need to supply a parameter on the command line indicating the square where the knight should start, for example `start=h8`. The output is an HTML document.

Expand |