An example XQuery main module

This topic contains the XQuery main module example.xq.

The main module is broken down to highlight its component sections, including the following:
Note: After writing your main module, make sure you save it to the directory specified in the --xquery_path flag.