Problems in XML that we need to fix
I have basic location display working, although I couldn't figure out a way to get locations to display as part of a subfolder using controller.xql; going back up to index.xql in the root proved impossible, as the controller always wanted to use an index.xql that was in the subfolder. I might not give up on this yet -- I'll ask a question on the eXist list about it.
It's becoming apparent that there are a number of problems in the XML that will need to be fixed. I'm trying to arrange a period of at least 2 weeks when no changes are made to the db, so that I can reorganize the structure, fix all the problems, and then get the new version of the webapp working. Two weeks will be very tight indeed, so hopefully I can get more, but I think we have to start from a thorough revision of the markup and the documentation of it.
On the plus side, it seems that the experimental map is based on layers of raster tiles; there's a single SVG file containing the base image and the other layers, and I think we can use Inkscape and ImageMagick at the command line to generate all the tiles we need for our zoom layers. We should then be able to use OpenLayers for the display, which obviates the need for any server-side code.