Next phase of work
I've taken a local copy of the whole application off the server, so I can work on it without messing with the server install. If this project turns out to run long-term, it should really be ported to eXist 1.4, but that seems impractical right now; there's a lot of stuff in there (such as FOP, and XUpdate) which will need special attention, and there's no time. For that reason, I'm going to continue working on the existing webapp.
My first task is to simplify the bibliography code, by moving from a biblStruct to a bibl system. I'll leave the existing biblStruct handling code in place, because I don't want to have to re-encode the existing articles, but the time saved by using bibl is so significant that it'll be worth writing a bit more XSLT to handle it.