Fix for an XSLT bug, and biblio retrieval code added
I came across a bug due to competing template matches in the XSLT for titles, when clicking on the XHTML link for individual documents. This was presumably caused by my quick ad-hoc fix for the previous <title> problem. I've now simplified the handling of <title>s, dividing them into those which have @ref attributes (which need to be turned into links), and those which don't. The former are handled as part of a larger template that deals with the whole class of elements which need to be linked from their @ref attributes, and the latter handles all other <title> elements.
I've also added retrieval code for the bibliography in each document -- for each <bibl> in the bibliography in back, the the XQuery now pulls back the corresponding <biblStruct> element from biblio.xml. These are not yet being rendered, though; I'm waiting for PAB to tell me where and how they should be displayed.