Search progress, and more on xslt 2 and namespaces
Created a basic search form. I still don't really have a clear idea of what type of things people will want to search for, so it's basic at the moment.
In the process, I had to revisit the xslt2/xhtml issues discussed earlier, because although these are (basically) solved for the display of documents and images from the collection, the site meta-pages (Home, TOC, Search, Instructions etc.) still use the old XSLT 1.0 system. The solution of constructing all HTML elements using the <xsl:element>
constructor is not optimal here, because these pages have large blocks of raw HTML code which is included using an <html_block>
wrapper element, the contents of which are copied to the output. Elements copied like this end up with the infuriating xmlns=""
attributes.
I don't have a solution for this yet, but I do have a good, clear test case with this site, and because none of these XSLT stylesheets make any use (yet) of xpath-default-namespace, we can try using that, and figuring out what's really happening with namespaces and mime types.