saxonica.com

Use Cases

Saxon runs all the XQuery Use Cases.

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 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 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.