Element/Tag | Usage | Example | Rendition | ||||||
---|---|---|---|---|---|---|---|---|---|
att | attribute name | <att>place</att> | @place | ||||||
cit | blockquote with bibliographic reference | <cit> <quote source="quoteref7"> <supplied>A</supplied>ccount books are among the most common but least accessible primary sources for historians<gap/> </quote> <ref type="bibl" xml:id="quoteref7" target="#mcgaw85">McGaw 1985</ref> </cit> | [A]ccount books are among the most common but least accessible primary sources for historians … (McGaw 1985) | ||||||
code | short inline code example | <p>A mixed content model such as <code>(#PCDATA | a | model.b)*</code> might be expressed as follows</p> | A mixed content model such as (#PCDATA | a | model.b)* might be expressed as follows | ||||||
eg | non-XML code example | <eg>
$('#teiHolder').data('modVers', {
xmlFile: 'data/teiFile.xml'
annotations: 'data/annotations.json',
fixFirst: false,
fullscreen: false,
height: 300,
ids: 'a,b,c',
witnesses: 'v1,v2'
});
</eg> |
$('#teiHolder').data('modVers', {
xmlFile: 'data/teiFile.xml'
annotations: 'data/annotations.json',
fixFirst: false,
fullscreen: false,
height: 300,
ids: 'a,b,c',
witnesses: 'v1,v2'
});
| ||||||
egXML | XML example code |
<egXML xmlns="http://www.tei-c.org/ns/Examples">
<content>
<classRef key="model.ab" maxOccurs="unlimited"/>
</content>
</egXML>
| <content> <classRef key="model.ab" maxOccurs="unlimited"/> </content> | ||||||
emph | emphasized text (italics) | The TEI began as a conscious attempt to <emph>model</emph> existing and future markup systems. | The TEI began as a conscious attempt to model existing and future markup systems. | ||||||
figure | a block figure or example code, with a mandatory heading | <figure xml:id="figure1"> <graphic url="img/ives_img_01.png" width="768px" height="1004px"/> <head type="legend">Page-image from Ingelow’s <title level="m">Poems</title> </head> </figure> | Figure 1: Page-image from Ingelow’s Poems ![]() | ||||||
foreign | a foreign text fragment | Nowhere is this more obvious than in the weight accorded the single author monograph, which remains the standard <foreign xml:lang="fr">par excellence</foreign> of scholarship in the humanities. | Nowhere is this more obvious than in the weight accorded the single author monograph, which remains the standard par excellence of scholarship in the humanities. | ||||||
gap | an omission in quoted text | <quote source="#quoteref7">Leisure moments only <gap/> available for its execution</quote> | “Leisure moments only … available for its execution” | ||||||
gi | the name of an XML element | <gi>quote</gi> | <quote> | ||||||
graphic | a digital image | <graphic url="img/ives_img_01.png" width="768px" height="1004px"/> | ![]() | ||||||
head | a heading for a text division, figure, table, or list | <div xml:id="futuredirections"> <head>Future Directions</head> </div> | 4. Future Directions | ||||||
ident | identifier in a formal language | the new <ident>range()</ident> and <ident>string-range()</ident> pointers | the new range() and string-range() pointers | ||||||
list | a list | <list rend="ordered"> <item>The first misconception is this: digital texts and digital archives merely replicate physical texts and physical archives in a non-material environment.</item> <item>The second misconception is that all possible digital representations of a text are created equal.</item> </list> |
| ||||||
mentioned | a word that is ‘mentioned’ | conversations on the multi-dimensional understanding of <mentioned>text</mentioned> and <mentioned>representation</mentioned> | conversations on the multi-dimensional understanding of text and representation | ||||||
note | a footnote | A similar suggestion is made in Eric Van der Vlist’s <title level="m">RELAX NG</title> <note> <p> <ref target="http://relaxng/">http://relaxng/</ref>. </p> </note> (<ref type="bibl" target="#vlist04">2004</ref>) | A similar suggestion is made in Eric Van der Vlist’s RELAX NG1 (2004) Notes | ||||||
ptr | a pointer to another location (internal or external) | The rest of this paper treats each of these points in more detail. <ptr type="crossref" target="#interoperability"/> describes the nature of the interoperability problem. | The rest of this paper treats each of these points in more detail. Section 2 describes the nature of the interoperability problem. | ||||||
q | a short, unattributed inline quotation | (student survey responses included words such as <q>apprehensive</q>, <q>intimidated</q>, and even <q>terrified</q>), which explains why one student commented that TEI training <q>was not something I would have sought out on my own.</q> | (student survey responses included words such as “apprehensive,” “intimidated,” and even “terrified”), which explains why one student commented that TEI training “was not something I would have sought out on my own.” | ||||||
quote | an attributed quotation | <quote source="#quoteref4">Names of authors</quote> appear in <quote source="#quoteref4">Italic Capitals</quote> (<ref type="bibl" xml:id="quoteref4" target="#arber1875">Arber 1875–95, 1:29</ref>). | “Names of authors” appear in “Italic Capitals” (Arber 1875–95, 1:29). | ||||||
ref | a reference to another location (with custom label text) | <ref target="http://www.tei-c.org/#SATSRN">16.2.5.4 range()</ref>) | 16.2.5.4 range()) | ||||||
soCalled | a word from which the author distances herself | There are possible ways (<soCalled>hacks</soCalled>) around some of these problems | There are possible ways (“hacks”) around some of these problems | ||||||
supplied | text that has been added by the jTEI author (in a quotation) | <q>Finding what you need can be problematic. Lack of links to chapters that describe elements next <supplied>to</supplied> some element definitions</q> | “Finding what you need can be problematic. Lack of links to chapters that describe elements next [to] some element definitions” | ||||||
table | a table | <table xml:id="table3"> <head>Allowable <att>rend</att> attribute values in <ident>tei_corset</ident> customization</head> <row role="label"> <cell> <att>rend</att> <lb/>(renamed <att>r</att>) <lb/>attribute value</cell> <cell>Meaning</cell> </row> <row> <cell role="label"> <val>ab</val> </cell> <cell>rendered above the line</cell> </row> <row> <cell role="label"> <val>al</val> </cell> <cell>rendered aligned to the left</cell> </row> </table> | Table 4: Allowable @rend attribute values in tei_corset customization
| ||||||
tag | a full XML tag | <tag type="empty">rng:ref name="model.pLike"</tag> | <rng:ref name="model.pLike"/> | ||||||
term | a technical term | Annotations are stored in <term>triple stores</term> or graph databases like Neo4J | Annotations are stored in triple stores or graph databases like Neo4J | ||||||
title | the title of a bibliographic work | <title level="a">Where Did All the Document Kids Go? Open-source, Markup, and the Casual Developer.</title> Presented at Balisage: The Markup Conference 2013, Montréal, Canada, August 6–9, 2013. In <title level="m">Proceedings of Balisage: The Markup Conference 2013</title>. | “Where Did All the Document Kids Go? Open-source, Markup, and the Casual Developer.” Presented at Balisage: The Markup Conference 2013, Montréal, Canada, August 6–9, 2013. In Proceedings of Balisage: The Markup Conference 2013. | ||||||
val | an attribute value | an attribute <att>preserveOrder</att> taking values <val>true</val> or <val>false</val> | an attribute @preserveOrder taking values "true" or "false" |