Using XQuery for Web Applications

Simple Examples

Small examples to demonstrate development of web applications using XQuery:

Number guessing game
A simple application implemented in just one XQuery file.
Number guessing game with HTML templates
A second version which uses HTML templating for a clean separation of code and view.

Advanced Examples

Shakespeare
Demonstrates advanced full text query features, keywords in context display, using AJAX to dynamically load query results.