• HCMC Blogs
  • Moses
  • Maint
  • Mariage
  • Admin
  • Academic
  • Depts
  • ScanCan
  • HumsSites
  • Projects
  • Pro-D
  • ColDesp
  • CanMys
  • LondonMap
  • AdaptiveDB
  • MoM
  • Cascade
  • Landscapes
  • Linguistics
  • CGWP
  • Endings
  • LEMDO
  • DVPP
  • Wendat
  • Announcements

Contact Us on 0800 123 4567 or info@example.com

MyNDIR

  • Front Page
  • Contact
  • Log in
  • « Reference popups now basically working
  • Added @type='tree' to name elements I'm looking for in doc files »

Working on display of reference information

Posted by mholmes on 18 May 2010 in Activity log

Today:

  • Integrated retrieval of reference information into search.xq (which is used to create the index page, and which may have a document id specified for display). Previously I had only got this working in item.xq, which is used for AJAX retrieval of a document for insertion into the existing page. The two XQuery files draw on the same core code in mdhUtils.xqm, but they construct their documents slightly differently.
  • Added processing for all elements that can contain @ref attributes pointing to reference information, so that they turn into spans with dotted underlines, and clicking on them calls a showReference JS function.
  • Added a reference popup (HTML in the XSLT, JS and CSS to match), added to the bottom of the page, modelled on the Mariage popup (but simpler because it never retrieves info by AJAX; all info is already in the page, added through XQuery).
  • Added rudimentary processing for some of the back matter references, in particular <listPerson>/<person>, to test the popup. It's working.

Next I need to add handlers for all the other kinds of lists that are being retrieved, and also some processing for basic TEI tags to improve the display of the popup.

This entry was posted by Martin and filed under Activity log.

MyNDIR

  • Home
  • Recently
  • Archives
  • Categories
  • Latest comments

Search

Categories

  • All
  • Activity log
  • Tasks

XML Feeds

  • RSS 2.0: Posts
  • Atom: Posts
What is RSS?

Recent Posts

  • Finding an obscure issue
  • First steps in generating HTML5
  • Standalone XML now building; code reorganized
  • Jenkins job set up; schema and validation build reworked
  • PAB moved to svn
  • Beginning Endings work
  • Meeting, confirmation of plan
  • Project plan, Endings-style
  • Tweaks to captions
  • Finished diagnostics, sent results

Sidebar 2

This is the "Sidebar 2" container. You can place any widget you like in here. In the evo toolbar at the top of this page, select "Customize", then "Blog Widgets".

This collection ©2026 by admin • Help • Online manual generator