Completed ImtLink class
Completed the ImtLink
class, and documented it and the ImtConsts
file using Doxygen. I'm building everything to be namespace-aware by default, which I think is the best approach. The QDom
functionality is working well for me so far. I've now started work on the ImtLinkSet
class, which is going to use a QSet
to manage a group of links, and provide rapid lookup and i/o functionality for a TEI <linkGrp>
.
I like the idea of using TEI <link>
elements to manage the relationships between <zone>
s and <text>
elements, but there's one gotcha: they can have as many target ids as they want, and it's not clear what that means. I'm going to think more carefully about this. Using <link>
and <linkGrp>
gives me much more flexibility in categorizing and grouping links, and that's important; however, I think users will probably also want the option to output the other linking mechanisms (@corresp
and @facs
), and the question then is whether I give them both (meaning that they might get out of sync), and whether I actually try to read the other linking types, or just stick with my clean and separate <linkGrp>
s.