Saxon runs all the W3C XQuery Use Cases.
The relevant queries (some of which have been corrected from those published by W3C) are
included in the
saxon-resources download (folder
use-cases) together with batch
scripts for running them. A few additional use cases have been added to show features that
would otherwise not be exercised. A separate script is available for running the STRONG use
cases since these require Saxon-EE.
Also included in the
saxon-resources download 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,
start=h8. The output is an HTML document. For more details, see
the Knight's Tour sample information.