On Mon, 2023-03-13 at 10:53 +0100, Martina Filosa wrote:
> Attached you will find a full document with the encoding of a
> bilingual seal (obverse Greek, reverse Latin).
In my display[1], the file as it stands (with no @xml:lang on the
textpart divs), the obv and rev are both displayed. If I add @xml:lang
(grc and lat respectively) to the textpart divs, the display does not
change at all.
Which is what I'd expect from the code - the language pruning that is
performed does not operate on the inscriptions, specifically:
tei:div[@type='edition']
tei:div[@type='edition']//tei:div[@type='textpart']
tei:div[@type='edition']//tei:ab
tei:foreign
tei:div[@type='translation']
I understand from your original message that after adding the xml:lang
attributes, the whole inscription is no longer displayed? Does this
happen if you have an @xml:lang on only one of the textpart divs?
For reference, when I have the following, it displays as if the
@xml:lang attributes were not there (though the underlying HTML
includes the language codes):
<div type="edition" subtype="editorial" xml:space="preserve">
<div type="textpart" subtype="face" n="obv" rend="linear"
xml:lang="grc">
<ab>
<lb n="1"/>Γεν
<lb n="2" break="no"/>ναδί
<lb n="3" break="no"/>ου
</ab>
</div>
<div type="textpart" subtype="face" n="rev" rend="linear"
xml:lang="lat">
<ab>
<lb n="4"/><expan><abbr>com</abbr><ex>itis</ex></expan>
<lb n="5"/><expan><abbr>Sacr</abbr><ex>arum</ex></expan>
<lb n="6"/><expan><abbr>L</abbr><ex>argitionum</ex></expan>
</ab>
</div>
</div>
[1] My config.xmap has the following:
<epidoc-edition-type>interpretive</epidoc-edition-type>
<epidoc-edn-structure>sample</epidoc-edn-structure>
<epidoc-external-app-style>iospe</epidoc-external-app-style>
<epidoc-image-loc>/images/</epidoc-image-loc>
<epidoc-internal-app-style>none</epidoc-internal-app-style>
<epidoc-leiden-style>panciera</epidoc-leiden-style>
<epidoc-line-inc>5</epidoc-line-inc>
<epidoc-verse-lines>on</epidoc-verse-lines>
Jamie