XQuery/Wikibook list of code links

Motivation
This Wikibook contains links to code samples executed on a University server. We need to keep track of all the links so that we can ensure that they remain live, so that all links can be executed by a test bed and to support changes to the directory structure or filenames.

Approach
The script is similar to the index script at the beginning, to get the list of pages in the book. Then it fetches each page and extracts the anchor tags where href contains ".xq". This is a bit loose and includes some false positives. The WikiBook page is linked from the page title and the actual URL is listed.


 * Code links