Skip to content

Instantly share code, notes, and snippets.

@hcayless
Created May 21, 2020 13:30
Show Gist options
  • Save hcayless/6eac86652be6f318e8f520ab9bf83c38 to your computer and use it in GitHub Desktop.
Save hcayless/6eac86652be6f318e8f520ab9bf83c38 to your computer and use it in GitHub Desktop.
"Assertive" annotation mock-up
<TEI xmlns="http://www.tei-c.org/ns/1.0">
<teiHeader>
<fileDesc>
<titleStmt>
<title>Title</title>
</titleStmt>
<publicationStmt>
<p>Publication Information</p>
</publicationStmt>
<sourceDesc>
<p>Information about the source</p>
</sourceDesc>
</fileDesc>
</teiHeader>
<text>
<body>
<div type="edition">
<div type="textpart" subtype="chapter" n="1" xml:id="c1">
<p n="1" xml:id="c1p1">
<seg n="1" xml:id="c1p1s1">Gallia est omnis divisa in partes tres, quarum unam incolunt Belgae, aliam
Aquitani, tertiam qui ipsorum lingua Celtae, nostra Galli appellantur.</seg>
<seg n="2" xml:id="c1p1s2">Hi omnes lingua, institutis, legibus inter se differunt. Gallos ab Aquitanis
Garumna flumen, a Belgis Matrona et Sequana dividit.</seg>
<seg n="3" xml:id="c1p1s3">Horum omnium fortissimi sunt Belgae, propterea quod a cultu atque humanitate
provinciae longissime absunt, minimeque ad eos mercatores saepe commeant atque ea quae
ad effeminandos animos pertinent important,</seg>
<seg n="4" xml:id="c1p1s4">proximique sunt Germanis, qui trans Rhenum incolunt, quibuscum continenter bellum
gerunt. Qua de causa Helvetii quoque reliquos Gallos virtute praecedunt, quod fere
cotidianis proeliis cum Germanis contendunt, cum aut suis finibus eos prohibent aut ipsi
in eorum finibus bellum gerunt.</seg>
<seg n="5" xml:id="c1p1s5">[Eorum una, pars, quam Gallos obtinere dictum est, initium capit a flumine
Rhodano, continetur Garumna flumine, Oceano, finibus Belgarum, attingit etiam ab
Sequanis et Helvetiis flumen Rhenum, vergit ad septentriones.</seg>
<seg n="6" xml:id="c1p1s6">Belgae ab extremis Galliae finibus oriuntur, pertinent ad inferiorem partem
fluminis Rheni, spectant in septentrionem et orientem solem.</seg>
<seg n="7" xml:id="c1p1s7">Aquitania a Garumna flumine ad Pyrenaeos montes et eam partem Oceani quae est ad
Hispaniam pertinet; spectat inter occasum solis et septentriones.]</seg>
</p>
</div>
</div>
</body>
</text>
<TEI type="annotations">
<teiHeader>
<fileDesc>
<titleStmt>
<title>My Annotations</title>
</titleStmt>
<publicationStmt>
<authority>Me</authority>
</publicationStmt>
<sourceDesc>
<p>Annotations generated by...</p>
</sourceDesc>
</fileDesc>
</teiHeader>
<standOff>
<listAnnotation>
<!-- Asserts that the name 'Gallia' should be replaced with 'Gallia' wrapped in a <placeName>-->
<annotation>
<assert target="#string-range(c1p1s1,0,6)"><placeName ref="https://pleiades.stoa.org/places/993">Gallia</placeName></assert>
</annotation>
<!-- Asserts that the string 'Garumna' should be deleted. -->
<annotation>
<assert target="#string-range(c1p1s2,98,112)"/>
</annotation>
<!-- Asserts that a <supplied> tag should be inserted at the indicated position -->
<annotation>
<assert target="#string-index(c1p1s2,130)"> <supplied reason="lost">flumen</supplied></assert>
</annotation>
</listAnnotation>
</standOff>
</TEI>
</TEI>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment