I've elected to store the "transcriptional" boolean in the form of a <desc> tag like this, inside the <rendition> element:
<desc>transcriptional</desc>
I have this correctly saving and reloading from the file; what isn't done yet is the distinction between the use of @facs and @corresp for linking. I'll have to do this by giving the annotation list a method pointer which can be set to point to TAnnCatList.GetTranscriptionalFromCatID method. I'll have to make sure that binding is set up by the TIMTDoc, in its Create method. Then the annotation list can find that information and decide which attribute it needs to use when saving the file.
I had assumed that the decision to link an annotation using @facs or @corresp, depending on the "transcriptional" setting of its category, would be a simple one, but it turns out to be slightly more complicated than I had hoped. Ironically, this is because I have good object-orientated code with separation of concerns; annotations write themselves to the output document, at the behest of their annotation list, and neither they nor their annotation list know anything about the category object except its CategoryID, which is known to the annotation list object. Therefore the neither the annotation nor the annotation list which manages it have any way to know directly whether @facs or @corresp should be used.
When we're reading documens back in, this is no problem; the annotation can check for @facs, and if it's not there, check for @corresp. I already have that code written and working. The problem is only in writing out the files. I really don't want to undermine the clean separation of the objects, so I'll probably have to create some kind of callback function that the annotation list can use to query the category, to find out what kind of thing it is.
An added complication, though, is that there is no useful place to store the category's type (transcriptional or not) in the <rendition> element which is used to store category information. My (rather vague) plan had been to have the category infer its own nature by looking at the attribute used by annotations linked to it, but this is actually a bit circular, and even if it worked, it would leave us in a situation where we couldn't save the state of this boolean without there actually being an annotation in that category. That's obviously unacceptable; documents are regularly saved with categories that don't yet have annotations in associated with them, and we can't afford to throw away category data when this happens. So I'm going back to the drawing board (or the TEI schema).
Corrections entered for these two articles; Lange still has an over-long abstract, so JT will need to edit it down to keep it from wrapping to the next page. Now working on Helgason, but that seems to be a bit chaotic, and it's difficult to know what to do about some of the problems.
Because Beckett hated to be recorded, this short clip on YouTube may be of interest to Beckett afficionados. Some commentators have noted his rural Irish accent here. Rubbish. His is a typical upper middle-class Dublin accent, often associated with the professional, urban Irish Ascendancy class.
This Beckett clip reminded me of another YouTube classic: Pitch 'n' Putt with Joyce and Beckett, a short short from Bórd Scannán na hEireann (Irish Film Board) in which Beckett and Joyce play pitch and putt while waiting for someone to show up...
- We are all in the dumps
- For diamonds are trumps
- The kittens have gone to St. Paul's!
- The baby is bit
- The moon's in a fit
- And the houses are built
- Without walls.
Started a blog for the Map of London project, and added JJ and MC as bloggers to this blog.
Numerous previous postings for work done on this project can be found in the depts blog, they will typically be prepended with "MapOfLondon"