Various fixes to XSLT and decisions on markup

21/06/12

Permalink 05:09:43 pm, by mholmes, 240 words, 86 views   English (CA)
Categories: Activity log; Mins. worked: 420

Various fixes to XSLT and decisions on markup

Changes and decisions are being tracked both in SVN and in Flow, so I'm not going to go into as much detail as I'd like to on the blog, but basically today we:

  • Implemented many XSLT changes, some relating to the handling of punctuation following quotation marks. This now applies to the <quote> and <title level="a"> elements, but will in future also apply to <soCalled>, <mentioned>, and possibly others.
  • Made a decision to use the U+2019 exclusively for apostrophes. This means creating a way to type it, which I've done using Code Templates in Oxygen and documented on Flow; a transformation to add it into all the documents, which I'll do tomorrow; and a Schematron rule to enforce it, which I'll add tomorrow (along with adding Schematron to the head of every file).
  • Fixed some TOC rendering issues and normalized some document structures for complex documents that need TOCs.
  • Found a bug in (I think) eXist, or maybe Saxon, whereby the @xml:id of the final child::text of a <group> is apparently inaccessible to XSLT. I don't know how or why this is the case, but it's making TOC rendering problematic. One solution would be to update the version of Saxon in the web application to see if that fixes it; if not, try the same algorithm in XQuery to see if eXist is really having an issue.

Pingbacks:

No Pingbacks for this post yet...

Map Of London

This project allows literary and scholarly works (primary and secondary) to be associated with locations in London, providing the reader with a richer understanding of the works.

Reports

May 2013
Sun Mon Tue Wed Thu Fri Sat
 << <   > >>
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31  

XML Feeds