Open stenskjaer opened 7 years ago
My immediate thoughts on this are:
@n
. <note>
. A note is not conceptually as close to the lemma as I would like, and adding a @type
attribute looks to me a bit like that attribute is used for creating pseudo-elements to fill out gaps in the schema although maybe the element that it is attributed does not really represent what it contains. What I mean is: A <note>
is a note, not a lemma. I see how this might lead to "@type
-soup".Another way of approaching this is to loose the hardcoded text and use a reference in stead. I wonder whether @prev
or maybe @corresp
could be used. I don't quite know which I prefer right now. @prev
has the name going for it, but we use that differently in other contexts (which I think are more correct, namely as a reference to previous element). @corresp
on the other hand seems sufficiently vague in the TEI handbook that it could fit ("(corresp) points to elements that correspond to the current element in some way." http://www.tei-c.org/release/doc/tei-p5-doc/en/html/ref-att.global.linking.html). It could then look like this:
... et sunt <seg xml:id="arbitrary-id-asf2o">IIII<hi rend="superscript">or</hi></seg>
<app>
<lem corresp="#arbitrary-id-asf2o"/>
<rdg wit="#B"></rdg>
</app> proprietates ...
The processor would then fetch the content of that element. There may be problems with this approach, but I see the following advantages:
This issue was reported by Majorie Burghart. She wrote:
As I have already told Jeffrey, I beg to disagree with the use of
@n
to store the desired lemma to be displayed, when the readings are an omission. On principle, using an attribute for that is not fitting well with the idea behind TEI P5: you might need some more precise encoding in this desired lemma, and therefore it should be stored in an element rather than an attribute. Just a basic example, off the top of my head:I'm not particularly recommending this element, but in my own editions I use a with an attribute @type="altLem" (alternative lemma).
When this element is present, it is displayed instead of the contents of, which can be useful not only for additions, but also for whatever situation when you want to change the lemma (for instance, when the lemma is veeeery long and you just want to display a couple of words at the beginning and end, with an ellipsis in the middle).