Started work on TOC / doclist generation code
Posted by mholmes on 18 Sep 2007 in Activity log
I'm working on a script called contents.xq which will retrieve a list of documents from the db based on a very flexible series of parameters, and return them as a well-formed TEI document containing a <listBibl> of <biblStruct>s. The basics are in place, but I'm stuck on one really annoying detail: I'd like to include the request URL from which the data was generated, and I can't find a way to get that information, or pass it into the XQuery. I'm sure it's possible through the sitemap, but I can't figure it out yet. If it proves too difficult, I can probably pass it into the transformation instead.