Skip to content

Could the transcription div have a unique subtype? #122

@geoffroy-noel-ddh

Description

@geoffroy-noel-ddh

As discussed in a meeting today with you @simonastoyanova and Jonathan, I mentioned that currently the annotator targets the transcription in the TEI file by elimination. I know it's not a subtype="simple-lemmatised" or "apparatus", etc. In another place I have a simpler selector like this /tei:TEI/tei:text/tei:body/tei:div[@type='edition'][not(@subtype)].

But none are very robust over time. If you ever add a new subtype or add a subtype to the transcription without telling us the selectors won't work any more.

I suggested you could introduce a unique subtype for the transcription. If you agree with that, do let me and the Crossreads B know when it is in place to avoid disrupting the current code.

Here's an example from ISic000125.xml, to illustrate the problem in targeting the transcription as opposed to other subtypes of editions. I'm simply proposing that a subtype="transcription" (or equivalent) is added in that first transcription edition div in all TEI files so we can select them in a more direct and robust way.

    <text>
        <body>
            <div type="edition" xml:space="preserve" xml:lang="la" resp="#TA #JP">
                <ab>
                    <lb n="1" xml:id="AMyAK"/><persName type="attested" xml:id="AMyAU"><name><w n="5" xml:id="AMyAe"><expan xml:id="AMyAo"><abbr xml:id="AMyAy">M</abbr><ex xml:id="AMyAΙ">arco</ex></expan></w></name> <g ref="#interpunct" xml:id="AMyAΤ" n="10">·</g> <name><w n="15" xml:id="AMyAε">Albio</w></name> <g ref="#interpunct" xml:id="AMyAο" n="20">·</g> <persName type="attested" xml:id="AMyBA"><name type="patronym"><w n="25" xml:id="AMyBK"><expan xml:id="AMyBU"><abbr xml:id="AMyBe">M</abbr><ex xml:id="AMyBo">arci</ex></expan></w></name></persName> <g ref="#interpunct" xml:id="AMyBy" n="30">·</g> <w xml:id="AMyBΙ" n="35"><expan xml:id="AMyBΤ"><abbr xml:id="AMyBε">f</abbr><ex xml:id="AMyBο">ilio</ex></expan></w> <g ref="#interpunct" xml:id="AMyCA" n="40">·</g> <name><w n="45" xml:id="AMyCK">Asi
                    <lb n="2" break="no" xml:id="AMyCU"/>atico</w></name></persName> <g ref="#interpunct" xml:id="AMyCe" n="50">·</g> <w xml:id="AMyCo" n="55"><expan xml:id="AMyCy"><abbr xml:id="AMyCΙ">vix</abbr><ex xml:id="AMyCΤ">it</ex></expan></w> <g ref="#interpunct" xml:id="AMyCε" n="60">·</g> <w xml:id="AMyCο" n="65"><expan xml:id="AMyDA"><abbr xml:id="AMyDK">a</abbr><ex xml:id="AMyDU">nnis</ex></expan></w> <g ref="#interpunct" xml:id="AMyDe" n="70">·</g> <num value="14"><w n="75" xml:id="AMyDo">XIIII</w></num>
                    <lb n="3" xml:id="AMyDy"/><persName type="attested" xml:id="AMyDΙ"><name><w n="80" xml:id="AMyDΤ">Philocalus</w></name></persName> <g ref="#interpunct" xml:id="AMyDε" n="85">·</g> <w xml:id="AMyDο" n="90">pater</w>
                    <lb n="4" xml:id="AMyEA"/><persName type="attested" xml:id="AMyEK"><name><w n="95" xml:id="AMyEU">Artemisia</w></name></persName> <g ref="#interpunct" xml:id="AMyEe" n="100">·</g> <w xml:id="AMyEo" n="105">mater</w>
                </ab>
            </div>
            <div type="edition" subtype="simple-lemmatized" resp="#RC">

Metadata

Metadata

Labels

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions