This is the level 2 portion of the Best Practices for TEI in Libraries. This document is not intended to stand alone, but rather to be considered in concert with the entire TEI in Libraries recommendations.
Note that this is a ‘syntactically conformant’ customization, in that documents that are valid against this scheme will also be valid against the TEI_all schema. However, it is unclear whether or not it is truly ‘TEI conformant’, as P5 does not make clear whether or not encoding of individual paragraphs is mandatory.
To create electronic text for full-text searching, linking to page images, and identifying simple structural hierarchy to improve navigation. (For example, you can generate a table of contents automatically from such encoding.)
The text is mainly subordinate to the page image, though navigational markers (textual divisions, headings) are captured. However, the text could stand alone as electronic text (without page images) if the accuracy of its contents is suitable to its intended use and it is not necessary to display low-level typographic or structural information. Use cases for Level 2 require a set of elements more granular than those of Level 1, including bibliographic or structural information below the monographic or volume level. One of the motivations for using Level 2 is to avoid expensive analysis of textual elements and/or the expense of accurate text conversion, e.g., double-keying or detailed proofreading of automatic OCR.
For the most part, though, Level 2 texts are not intended to be displayed separately from their page images. Level 2 encoding of sections and headings provides greater navigational possibilities than Level 1 encoding, and enables searching to be restricted within particular textual divisions (for example, searching for two phrases within the same chapter).
Level 2 generally can be created and encoded by automated means. Pagination is identified as in Level 1, and metadata for the textual divisions is created, likely based on the page images. The textual division metadata might contain the page number on which the division begins and a transcription of that division's heading. This metadata is inserted into the OCR at the appropriate points, forming a valid XML document. Level 2 texts do not require any special knowledge or manual intervention below the section level.
Optionally use the elements specified in Level 1. In addition, use the following:
| <text> | [recommended] Used as a wrapper for the encoded transcription of the source document. |
| <front>, <back> | [optional] Contains one or more <div> or <div1>. |
| <body> | [recommended] Contains one or more <div> or <div1>. |
| <div1> or <div> | [recommended] One <div> or <div1> is used per section of the text identified with division-level metadata. If no type attribute is specified, a type value of section should be presumed. |
| <head> | [recommended] Use if headings are present. As in P5, this element must appear before the <ab> for that division. |
| <ab> | [recommended] There should be only one child of the <div> (or <div1>): a single <ab> wrapping all of the OCR text. If the TEI document is ever ‘upgraded’ to Level 3 or higher, the <ab> element will be replaced by structural elements like <p> and <table>. |
| <lb> | [optional] Indicates the beginning of a new line. |
| <cb> | [optional] indicates the beginning of a new column. |
| <prefixDef> | |||||||||||||||||||
| Module | derived-module-bptl-L2 | ||||||||||||||||||
| Attributes | Attributes
| ||||||||||||||||||
| Contained by | header: listPrefixDef | ||||||||||||||||||
| May contain | Empty element | ||||||||||||||||||
| <TEI> (TEI document) contains a single TEI-in-Libraries level 2 document, comprising a TEI header and a text, the latter represented as either a logical transcription (in <text>) or a transcription and page images (in <text> and <facsimile> respectively), along with an optional typographic transcription (in <sourceDoc>, typically automatically generated from OCR software), either in isolation or as part of a <teiCorpus> element. [4. Default Text Structure 15.1. Varieties of Composite Text] | |||||||||
| Module | textstructure — Level 2: Minimal Encoding | ||||||||
| Attributes | Attributes att.global (@xml:id, @n, @xml:lang, @xml:space) (att.global.rendition (@style)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source))
| ||||||||
| Contained by | — | ||||||||
| May contain | |||||||||
| Note | This element is required. The TEI namespace should be specified on this element, e.g. <TEI xmlns="http://www.tei-c.org/ns/1.0">. | ||||||||
| Example | <TEI xmlns="http://www.tei-c.org/ns/1.0">
<teiHeader>
<fileDesc>
<titleStmt>
<title>A Short Level 2 Document</title>
</titleStmt>
<publicationStmt>
<p>Only published as an example.</p>
</publicationStmt>
<sourceDesc>
<p>Since this is an example, it doesn't really have a source</p>
</sourceDesc>
</fileDesc>
</teiHeader>
<text>
<body>
<div>
<ab>This is about the shortest TEI document imaginable.</ab>
</div>
</body>
</text>
</TEI> | ||||||||
| Schematron |
<s:ns prefix="tei"
uri="http://www.tei-c.org/ns/1.0"/>
<s:ns prefix="xs"
uri="http://www.w3.org/2001/XMLSchema"/> | ||||||||
| Schematron |
<s:ns prefix="rng"
uri="http://relaxng.org/ns/structure/1.0"/> | ||||||||
| Content model |
<content>
<elementRef key="teiHeader" minOccurs="1"
maxOccurs="1"/>
<alternate minOccurs="0" maxOccurs="1">
<sequence minOccurs="1" maxOccurs="1">
<elementRef key="sourceDoc"
minOccurs="1" maxOccurs="1"/>
<elementRef key="facsimile"
minOccurs="0" maxOccurs="1"/>
</sequence>
<sequence minOccurs="1" maxOccurs="1">
<elementRef key="facsimile"
minOccurs="1" maxOccurs="1"/>
<elementRef key="sourceDoc"
minOccurs="0" maxOccurs="1"/>
</sequence>
</alternate>
<elementRef key="text" minOccurs="1"
maxOccurs="1"/>
</content>
| ||||||||
| Schema Declaration |
element TEI
{
L2_att.global.attributes,
attribute version { text }?,
L2_teiHeader,
( ( L2_sourceDoc, L2_facsimile? ) | ( L2_facsimile, L2_sourceDoc? ) )?,
L2_text
} | ||||||||
| <ab> (anonymous block) contains the entire content of a division of the document; or, when used within the <teiHeader>, contains any arbitrary component-level unit of text, acting as an anonymous container for phrase or inter level elements analogous to, but without the semantic baggage of, a paragraph. [16.3. Blocks, Segments, and Anchors] | |
| Module | linking — Level 2: Minimal Encoding |
| Attributes | Attributes att.global (@xml:id, @n, @xml:lang, @xml:space) (att.global.rendition (@style)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source)) att.typed (@type) |
| Member of | |
| Contained by | |
| May contain | |
| Note | At level 2, entire sections of the document (be they parts, chapters, etc.) are each encoded as a single <ab> — each division (whether <div>, <div1>, <div2>, etc.) should have one and only one <ab> child. Further, <ab> may be used in a variety of places within the <teiHeader>. |
| Example | <publicationStmt>
<availability>
<ab>Copyleft 2009 Syd Bauman</ab>
</availability>
</publicationStmt> |
| Example | <body>
<div>
<head>Genesis</head>
<ab>In the beginning God created the heaven and the earth.
<lb/>And the earth was without form, and void; and darkness was upon
<lb/>the face of the deep. And the spirit of God moved upon the face
<lb/>of the waters.
<lb/>And God said, Let there be light: and there was light.</ab>
</div>
</body> |
| Schematron |
<s:report test="not(ancestor::tei:floatingText) and (ancestor::tei:p or ancestor::tei:ab)
and not(parent::tei:exemplum |parent::tei:item |parent::tei:note |parent::tei:q
|parent::tei:quote |parent::tei:remarks |parent::tei:said |parent::tei:sp
|parent::tei:stage |parent::tei:cell |parent::tei:figure)"> Abstract model violation: ab may not occur inside paragraphs or other ab elements.
</s:report> |
| Schematron |
<s:report test="ancestor::tei:l or ancestor::tei:lg"> Abstract model violation: Lines may not contain higher-level divisions such as p or ab.
</s:report> |
| Content model |
<content>
<alternate minOccurs="1"
maxOccurs="unbounded">
<textNode/>
<classRef key="model.global"/>
</alternate>
</content>
|
| Schema Declaration |
element ab
{
L2_att.global.attributes,
L2_att.typed.attributes,
( text | L2_model.global )+
} |
| <abbr> (abbreviation) contains an abbreviation of any sort. [3.5.5. Abbreviations and Their Expansions] | |||||||||||||
| Module | core — Level 2: Minimal Encoding | ||||||||||||
| Attributes | Attributes att.global (@xml:id, @n, @xml:lang, @xml:space) (att.global.rendition (@style)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source))
| ||||||||||||
| Member of | |||||||||||||
| Contained by | |||||||||||||
| May contain | |||||||||||||
| Note | If abbreviations are expanded silently, this practice should be documented in the <editorialDecl>, either with a <normalization> element or a <p>. | ||||||||||||
| Example | <choice>
<expan>North Atlantic Treaty Organization</expan>
<abbr cert="low">NorATO</abbr>
<abbr cert="high">NATO</abbr>
<abbr cert="high" xml:lang="fr">OTAN</abbr>
</choice> | ||||||||||||
| Example | <choice>
<abbr>SPQR</abbr>
<expan>senatus populusque romanorum</expan>
</choice> | ||||||||||||
| Content model |
<content>
<macroRef key="macro.phraseSeq"/>
</content>
| ||||||||||||
| Schema Declaration |
element abbr
{
L2_att.global.attributes,
attribute type { text }?,
L2_macro.phraseSeq
} | ||||||||||||
| <addrLine> (address line) contains one line of a postal address. [3.5.2. Addresses 2.2.4. Publication, Distribution, Licensing, etc. 3.11.2.4. Imprint, Size of a Document, and Reprint Information] | |
| Module | core — Level 2: Minimal Encoding |
| Attributes | Attributes att.global (@xml:id, @n, @xml:lang, @xml:space) (att.global.rendition (@style)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source)) |
| Member of | |
| Contained by | core: address |
| May contain | |
| Note | Addresses may be encoded either as a sequence of lines, or using any sequence of component elements from the model.addrPart class. Other non-postal forms of address, such as telephone numbers or email, should not be included within an <address> element directly but may be wrapped within an <addrLine> if they form part of the printed address in some source text. |
| Example | <address>
<addrLine>Computing Center, MC 135</addrLine>
<addrLine>P.O. Box 6998</addrLine>
<addrLine>Chicago, IL</addrLine>
<addrLine>60680 USA</addrLine>
</address> |
| Example | <addrLine>
<ref target="tel:+1-201-555-0123">(201) 555 0123</ref>
</addrLine> |
| Content model |
<content>
<macroRef key="macro.phraseSeq"/>
</content>
|
| Schema Declaration |
element addrLine { L2_att.global.attributes, L2_macro.phraseSeq } |
| <address> contains a postal address, for example of a publisher, an organization, or an individual. [3.5.2. Addresses 2.2.4. Publication, Distribution, Licensing, etc. 3.11.2.4. Imprint, Size of a Document, and Reprint Information] | |
| Module | core — Level 2: Minimal Encoding |
| Attributes | Attributes att.global (@xml:id, @n, @xml:lang, @xml:space) (att.global.rendition (@style)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source)) |
| Member of | |
| Contained by | |
| May contain | |
| Note | This element should be used for postal addresses only. Within it, the generic element <addrLine> may be used as an alternative to any of the more specialized elements available from the model.addrPart class, such as <street>, <postCode> etc. |
| Example | Using just the elements defined by the core module, an address could be represented as follows: <address>
<street>via Marsala 24</street>
<postCode>40126</postCode>
<name>Bologna</name>
<name>Italy</name>
</address> |
| Example | When a schema includes the names and dates module more specific elements such as country or settlement would be preferable over generic <name>: <address>
<street>via Marsala 24</street>
<postCode>40126</postCode>
<settlement>Bologna</settlement>
<country>Italy</country>
</address> |
| Example | <address>
<addrLine>Computing Center, MC 135</addrLine>
<addrLine>P.O. Box 6998</addrLine>
<addrLine>Chicago, IL 60680</addrLine>
<addrLine>USA</addrLine>
</address> |
| Example | <address>
<country key="FR"/>
<settlement type="city">Lyon</settlement>
<postCode>69002</postCode>
<district type="arrondissement">IIème</district>
<district type="quartier">Perrache</district>
<street>
<num>30</num>, Cours de Verdun</street>
</address> |
| Content model |
<content>
<sequence>
<classRef key="model.global"
minOccurs="0" maxOccurs="unbounded"/>
<sequence minOccurs="1"
maxOccurs="unbounded">
<classRef key="model.addrPart"/>
<classRef key="model.global"
minOccurs="0" maxOccurs="unbounded"/>
</sequence>
</sequence>
</content>
|
| Schema Declaration |
element address
{
L2_att.global.attributes,
( L2_model.global*, ( L2_model.addrPart, L2_model.global* )+ )
} |
| <analytic> (analytic level) contains bibliographic elements describing an item (e.g. an article or poem) published within a monograph or journal and not as an independent publication. [3.11.2.1. Analytic, Monographic, and Series Levels] | |
| Module | core — Level 2: Minimal Encoding |
| Attributes | Attributes att.global (@xml:id, @n, @xml:lang, @xml:space) (att.global.rendition (@style)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source)) |
| Contained by | core: biblStruct |
| May contain | |
| Note | May contain titles and statements of responsibility (author, editor, or other), in any order. The <analytic> element may only occur within a <biblStruct>, where its use is mandatory for the description of an analytic level bibliographic item. |
| Example | <biblStruct>
<analytic>
<author>Chesnutt, David</author>
<title>Historical Editions in the States</title>
</analytic>
<monogr>
<title level="j">Computers and the Humanities</title>
<imprint>
<date when="1991-12">(December, 1991):</date>
</imprint>
<biblScope>25.6</biblScope>
<biblScope>377–380</biblScope>
</monogr>
</biblStruct> |
| Content model |
<content>
<alternate minOccurs="0"
maxOccurs="unbounded">
<elementRef key="author"/>
<elementRef key="editor"/>
<elementRef key="respStmt"/>
<elementRef key="title"/>
<classRef key="model.ptrLike"/>
<elementRef key="date"/>
<elementRef key="textLang"/>
<elementRef key="idno"/>
<elementRef key="availability"/>
</alternate>
</content>
|
| Schema Declaration |
element analytic
{
L2_att.global.attributes,
(
L2_author
| L2_editor
| L2_respStmt
| L2_title
| L2_model.ptrLike
| L2_date
| L2_textLang
| L2_idno
| L2_availability
)*
} |
| <appInfo> (application information) records information about an application which has edited the TEI file. [2.3.10. The Application Information Element] | |
| Module | header — Level 2: Minimal Encoding |
| Attributes | Attributes att.global (@xml:id, @n, @xml:lang, @xml:space) (att.global.rendition (@style)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source)) |
| Contained by | header: encodingDesc |
| May contain | header: application |
| Example | <appInfo>
<application version="1.24" ident="Xaira">
<label>XAIRA Indexer</label>
<ptr target="#P1"/>
</application>
</appInfo> |
| Content model |
<content>
<classRef key="model.applicationLike"
minOccurs="1" maxOccurs="unbounded"/>
</content>
|
| Schema Declaration |
element appInfo { L2_att.global.attributes, L2_model.applicationLike+ } |
| <application> provides information about an application which has acted upon the document. [2.3.10. The Application Information Element] | |||||||||||||
| Module | header — Level 2: Minimal Encoding | ||||||||||||
| Attributes | Attributes att.global (@xml:id, @n, @xml:lang, @xml:space) (att.global.rendition (@style)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source)) att.typed (@type) att.datable (@calendar, @period) (att.datable.w3c (@when, @notBefore, @notAfter, @from, @to)) (att.datable.custom (@when-custom, @notBefore-custom, @notAfter-custom, @from-custom, @to-custom, @datingPoint, @datingMethod))
| ||||||||||||
| Member of | |||||||||||||
| Contained by | header: appInfo | ||||||||||||
| May contain | |||||||||||||
| Example | <appInfo>
<application version="1.5"
ident="ImageMarkupTool1" notAfter="2006-06-01">
<label>Image Markup Tool</label>
<ptr target="#P1"/>
<ptr target="#P2"/>
</application>
</appInfo> This example shows an appInfo element documenting the fact that version 1.5 of the Image Markup Tool1 application has an interest in two parts of a document which was last saved on June 6 2006. The parts concerned are accessible at the URLs given as target for the two <ptr> elements. | ||||||||||||
| Content model |
<content>
<sequence>
<classRef key="model.labelLike"
minOccurs="1" maxOccurs="unbounded"/>
<alternate>
<classRef key="model.ptrLike"
minOccurs="0" maxOccurs="unbounded"/>
<classRef key="model.pLike"
minOccurs="0" maxOccurs="unbounded"/>
</alternate>
</sequence>
</content>
| ||||||||||||
| Schema Declaration |
element application
{
L2_att.global.attributes,
L2_att.typed.attributes,
L2_att.datable.attributes,
attribute ident { text },
attribute version { text },
( L2_model.labelLike+, ( L2_model.ptrLike* | L2_model.pLike* ) )
} | ||||||||||||
| <att> (attribute) contains the name of an attribute appearing within running text. [22. Documentation Elements] | |||||||||
| Module | tagdocs — Level 2: Minimal Encoding | ||||||||
| Attributes | Attributes att.global (@xml:id, @n, @xml:lang, @xml:space) (att.global.rendition (@style)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source))
| ||||||||
| Member of | |||||||||
| Contained by | |||||||||
| May contain | Empty element | ||||||||
| Note | As an alternative to using scheme attribute a namespace prefix may be used. Where both scheme and a prefix are used, the prefix takes precedence. | ||||||||
| Example | <p>The TEI defines several <soCalled>global</soCalled> attributes; their names include
<att>xml:id</att>, <att>rend</att>, <att>xml:lang</att>, <att>n</att>, <att>xml:space</att>,
and <att>xml:base</att>; <att scheme="XX">type</att> is not amongst them.</p> | ||||||||
| Content model |
<content>
<dataRef key="teidata.name"/>
</content>
| ||||||||
| Schema Declaration |
element att
{
L2_att.global.attributes,
attribute scheme { text }?,
teidata.name
} | ||||||||
| <author> in a bibliographic reference, contains the name (typically encoded as <name>, <persName>, or <orgName>) of the author, personal or corporate, of a work; for example in the same form as that provided by a recognized bibliographic name authority. [3.11.2.2. Titles, Authors, and Editors 2.2.1. The Title Statement] | |
| Module | core — Level 2: Minimal Encoding |
| Attributes | Attributes att.global (@xml:id, @n, @xml:lang, @xml:space) (att.global.rendition (@style)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source)) att.canonical (@key, @ref) |
| Member of | |
| Contained by | header: editionStmt titleStmt |
| May contain | |
| Note | Particularly where cataloguing is likely to be based on the content of the header, it is advisable to use a generally recognized name authority file to supply the content for this element. The attribute ref may also be used to reference canonical information about the author(s) intended from any appropriate authority, such as a library catalogue or online resource. In the case of a broadcast, use an <orgName> inside this element for the name of the company or network responsible for making the broadcast. Where an author is unknown or unspecified, this element may contain text such as Unknown or Anonymous. |
| Example | <author>
<orgName>British Broadcasting Corporation</orgName>
</author> |
| Example | <author>
<persName ref="persons.xml#mdalmau.cny">Michelle Dalmau</persName>
</author> |
| Example | <author>
<name>Gibson, Matthew</name>
</author> |
| Example | <author>anonymous</author> |
| Example | <author>unknown</author> |
| Content model |
<content>
<macroRef key="macro.phraseSeq"/>
</content>
|
| Schema Declaration |
element author
{
L2_att.global.attributes,
L2_att.canonical.attributes,
L2_macro.phraseSeq
} |
| <availability> supplies information about the availability of a text, for example any restrictions on its use or distribution, its copyright status, any licence applying to it, etc. [2.2.4. Publication, Distribution, Licensing, etc.] | |||||||||
| Module | header — Level 2: Minimal Encoding | ||||||||
| Attributes | Attributes att.global (@xml:id, @n, @xml:lang, @xml:space) (att.global.rendition (@style)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source))
| ||||||||
| Member of | |||||||||
| Contained by | header: publicationStmt | ||||||||
| May contain | |||||||||
| Note | A consistent format should be adopted | ||||||||
| Example | <availability status="restricted">
<p>Available for academic research purposes only.</p>
</availability>
<availability status="free">
<p>In the public domain</p>
</availability>
<availability status="restricted">
<p>Available under licence from the publishers.</p>
</availability> | ||||||||
| Example | <availability>
<licence target="http://opensource.org/licenses/MIT">
<p>The MIT License
applies to this document.</p>
<p>Copyright (C) 2011 by The University of Victoria</p>
<p>Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:</p>
<p>The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.</p>
<p>THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.</p>
</licence>
</availability> | ||||||||
| Content model |
<content>
<alternate minOccurs="1"
maxOccurs="unbounded">
<classRef key="model.availabilityPart"/>
<classRef key="model.pLike"/>
</alternate>
</content>
| ||||||||
| Schema Declaration |
element availability
{
L2_att.global.attributes,
attribute status { "free" | "unknown" | "restricted" }?,
( L2_model.availabilityPart | L2_model.pLike )+
} | ||||||||
| <back> (back matter) contains any appendixes, etc. following the main part of a text. [4.7. Back Matter 4. Default Text Structure] | |
| Module | textstructure — Level 2: Minimal Encoding |
| Attributes | Attributes att.global (@xml:id, @n, @xml:lang, @xml:space) (att.global.rendition (@style)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source)) |
| Contained by | textstructure: text |
| May contain | |
| Note | Because cultural conventions differ as to which elements are grouped as back matter and which as front matter, the content models for the <back> and <front> elements are identical. |
| Example | <back>
<div1 type="appendix">
<head>The Golden Dream or, the Ingenuous Confession</head>
<ab>To shew the Depravity of human Nature </ab>
</div1>
<div1 type="epistle">
<head>A letter from the Printer, which he desires may be inserted</head>
<ab>Sir.
<lb/>I have done with your Copy, so you may return it to the Vatican, if you please</ab>
</div1>
<div1 type="advert">
<head>The Books usually read by the Scholars of
<lb/>Mrs Two-Shoes are these and are sold at Mr
<lb/>Newbery's at the Bible and Sun in St Paul's
<lb/>Church-yard.</head>
<ab>The Christmas Box, Price 1d.
<lb/>The History of Giles Gingerbread, 1d.
<lb/>A Curious Collection of Travels, selected from the Writers of all Nations,
<lb/>10 Vol, Pr. bound 1l.
</ab>
</div1>
<div1 type="advert">
<head>By the KING's Royal Patent,
<lb/>Are sold by J. NEWBERY, at the
<lb/>Bible and Sun in St. Paul's Church-Yard.</head>
<ab>Dr. James's Powders for Fevers, the Small-Pox, Measles, Colds, &c.
<lb/>2s. 6d
<lb/>Dr. Hooper's Female Pills, 1s.
</ab>
</div1>
</back> |
| Content model |
<content>
<alternate minOccurs="1" maxOccurs="1">
<classRef key="model.divLike"
minOccurs="1" maxOccurs="unbounded"/>
<classRef key="model.div1Like"
minOccurs="1" maxOccurs="unbounded"/>
</alternate>
</content>
|
| Schema Declaration |
element back
{
L2_att.global.attributes,
( L2_model.divLike+ | L2_model.div1Like+ )
} |
| <bibl> (bibliographic citation) contains a loosely-structured bibliographic citation of which the sub-components may or may not be explicitly tagged. [3.11.1. Methods of Encoding Bibliographic References and Lists of References 2.2.7. The Source Description 15.3.2. Declarable Elements] | |
| Module | core — Level 2: Minimal Encoding |
| Attributes | Attributes att.global (@xml:id, @n, @xml:lang, @xml:space) (att.global.rendition (@style)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source)) att.typed (@type) att.sortable (@sortKey) att.docStatus (@status) |
| Member of | |
| Contained by | |
| May contain | |
| Note | Contains phrase-level elements, together with any combination of elements from the model.biblPart class |
| Example | <bibl>Blain, Clements and Grundy: Feminist Companion to Literature in English (Yale,
1990)</bibl> |
| Example | <bibl>
<title level="a">The Interesting story of the Children in the Wood</title>. In
<author>Victor E Neuberg</author>, <title>The Penny Histories</title>.
<publisher>OUP</publisher>
<date>1968</date>.
</bibl> |
| Example | <bibl type="article" subtype="book_chapter"
xml:id="carlin_2003">
<author>
<name>
<surname>Carlin</surname>
(<forename>Claire</forename>)</name>
</author>,
<title level="a">The Staging of Impotence : France’s last
congrès</title> dans
<bibl type="monogr">
<title level="m">Theatrum mundi : studies in honor of Ronald W.
Tobin</title>, éd.
<editor>
<name>
<forename>Claire</forename>
<surname>Carlin</surname>
</name>
</editor> et
<editor>
<name>
<forename>Kathleen</forename>
<surname>Wine</surname>
</name>
</editor>,
<pubPlace>Charlottesville, Va.</pubPlace>,
<publisher>Rookwood Press</publisher>,
<date when="2003">2003</date>.
</bibl>
</bibl> |
| Content model |
<content>
<alternate minOccurs="0"
maxOccurs="unbounded">
<textNode/>
<classRef key="model.gLike"/>
<classRef key="model.highlighted"/>
<classRef key="model.pPart.data"/>
<classRef key="model.pPart.edit"/>
<classRef key="model.segLike"/>
<classRef key="model.ptrLike"/>
<classRef key="model.biblPart"/>
<classRef key="model.global"/>
</alternate>
</content>
|
| Schema Declaration |
element bibl
{
L2_att.global.attributes,
L2_att.typed.attributes,
L2_att.sortable.attributes,
L2_att.docStatus.attributes,
(
text
| L2_model.gLike
| L2_model.highlighted
| L2_model.pPart.data
| L2_model.pPart.edit
| L2_model.segLike
| L2_model.ptrLike
| L2_model.biblPart
| L2_model.global
)*
} |
| <biblScope> (scope of bibliographic reference) defines the scope of a bibliographic reference, for example as a list of page numbers, or a named subdivision of a larger work. [3.11.2.5. Scopes and Ranges in Bibliographic Citations] | |
| Module | core — Level 2: Minimal Encoding |
| Attributes | Attributes att.global (@xml:id, @n, @xml:lang, @xml:space) (att.global.rendition (@style)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source)) att.citing (@unit, @from, @to) |
| Member of | |
| Contained by | header: seriesStmt |
| May contain | |
| Note | When a single page is being cited, use the from and to attributes with an identical value. When no clear endpoint is provided, the from attribute may be used without to; for example a citation such as ‘p. 3ff’ might be encoded It is now considered good practice to supply this element as a sibling (rather than a child) of <imprint>, since it supplies information which does not constitute part of the imprint. |
| Example | <biblScope>pp 12–34</biblScope>
<biblScope unit="page" from="12" to="34"/>
<biblScope unit="volume">II</biblScope>
<biblScope unit="page">12</biblScope> |
| Content model |
<content>
<macroRef key="macro.phraseSeq"/>
</content>
|
| Schema Declaration |
element biblScope
{
L2_att.global.attributes,
L2_att.citing.attributes,
L2_macro.phraseSeq
} |
| <biblStruct> (structured bibliographic citation) contains a structured bibliographic citation, in which only bibliographic sub-elements appear and in a specified order. [3.11.1. Methods of Encoding Bibliographic References and Lists of References 2.2.7. The Source Description 15.3.2. Declarable Elements] | |
| Module | core — Level 2: Minimal Encoding |
| Attributes | Attributes att.global (@xml:id, @n, @xml:lang, @xml:space) (att.global.rendition (@style)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source)) att.typed (@type) att.sortable (@sortKey) att.docStatus (@status) |
| Member of | |
| Contained by | |
| May contain | core: analytic citedRange monogr note ptr ref relatedItem series |
| Example | <biblStruct>
<monogr>
<author>Blain, Virginia</author>
<author>Clements, Patricia</author>
<author>Grundy, Isobel</author>
<title>The Feminist Companion to Literature in English: women writers from the middle ages
to the present</title>
<edition>first edition</edition>
<imprint>
<publisher>Yale University Press</publisher>
<pubPlace>New Haven and London</pubPlace>
<date>1990</date>
</imprint>
</monogr>
</biblStruct> |
| Content model |
<content>
<sequence>
<elementRef key="analytic" minOccurs="0"
maxOccurs="unbounded"/>
<sequence minOccurs="1"
maxOccurs="unbounded">
<elementRef key="monogr"/>
<elementRef key="series" minOccurs="0"
maxOccurs="unbounded"/>
</sequence>
<alternate minOccurs="0"
maxOccurs="unbounded">
<classRef key="model.noteLike"/>
<classRef key="model.ptrLike"/>
<elementRef key="relatedItem"/>
<elementRef key="citedRange"/>
</alternate>
</sequence>
</content>
|
| Schema Declaration |
element biblStruct
{
L2_att.global.attributes,
L2_att.typed.attributes,
L2_att.sortable.attributes,
L2_att.docStatus.attributes,
(
L2_analytic*,
( L2_monogr, L2_series* )+,
( L2_model.noteLike | L2_model.ptrLike | L2_relatedItem | L2_citedRange )*
)
} |
| <body> (text body) contains the whole body of a single unitary text, excluding any front or back matter. [4. Default Text Structure] | |
| Module | textstructure — Level 2: Minimal Encoding |
| Attributes | Attributes att.global (@xml:id, @n, @xml:lang, @xml:space) (att.global.rendition (@style)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source)) |
| Contained by | textstructure: text |
| May contain | |
| Note | At level 2, the content of <body> may contain only <head>, <ab>, <pb>, <note>, and either <div> or <div1> elements. |
| Example | <body>
<head>LA FOREST
<lb/>NVPTIALE,</head>
<ab>Où e∫t repre∫entee vne varieté bigarree,
<lb/>non mois e∫merveillable que plai∫an‐
<lb/>te, de diuers mariages, ∫elon qu’ils ∫ont
<lb/>ob∫erueZ & pratiqueZ par plu∫ieurs
<lb/>peuples & nations e∫tranges. Auec
<lb/>la maniere de policier, regir, gouuer‐
<lb/>ner & admini∫trer leur famille.</ab>
<div type="chapter">
<head>Les Romains. CHAPITRE I.</head>
<ab>Encores que ie ne
<lb/>veuille me formali‐
<lb/>∫er contre le droict
<lb/>Romain, neãtmoins
<lb/>puis que le forma‐
<lb/>litez, qui e∫toient an‐
<lb/>ciennement gardees au nopces
<lb/>Romaines, ∫ont maintenant mi∫es
<lb/>hors d’v∫ages & pratique, ie ne ∫e‐
<lb/>A
<pb/>ray point de difficulté d’emprunter
<lb/>des anciens autheurs ce qui appar‐
<!-- ... -->
</ab>
</div>
</body> |
| Content model |
<content>
<alternate minOccurs="1" maxOccurs="1">
<classRef key="model.divLike"
minOccurs="1" maxOccurs="unbounded"/>
<classRef key="model.div1Like"
minOccurs="1" maxOccurs="unbounded"/>
</alternate>
</content>
|
| Schema Declaration |
element body
{
L2_att.global.attributes,
( L2_model.divLike+ | L2_model.div1Like+ )
} |
| <change> documents a change or set of changes made during the production of a source document, or during the revision of an electronic file. [2.6. The Revision Description 2.4.1. Creation 11.7. Identifying Changes and Revisions] | |||||||||||||||||||||||
| Module | header — Level 2: Minimal Encoding | ||||||||||||||||||||||
| Attributes | Attributes att.docStatus (@status) att.global (@xml:id, @n, @xml:lang, @xml:space) (att.global.rendition (@style)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source)) att.typed (@type) att.datable (@calendar, @period) att.datable.w3c (when, @notBefore, @notAfter, @from, @to) att.datable.custom (@when-custom, @notBefore-custom, @notAfter-custom, @from-custom, @to-custom, @datingPoint, @datingMethod)
| ||||||||||||||||||||||
| Contained by | header: revisionDesc | ||||||||||||||||||||||
| May contain | |||||||||||||||||||||||
| Note | The who attribute may be used to point to any other element, but will typically specify a <respStmt> or <person> element elsewhere in the header, identifying the person responsible for the change and their role in making it. It is recommended that changes be recorded with the most recent first. The status attribute may be used to indicate the status of a document following the change documented. | ||||||||||||||||||||||
| Example | <titleStmt>
<title> ... </title>
<editor xml:id="LDB">Lou Burnard</editor>
<respStmt xml:id="BZ">
<resp>copy editing</resp>
<name>Brett Zamir</name>
</respStmt>
</titleStmt>
<!-- ... -->
<revisionDesc status="published">
<change who="#BZ" when="2008-02-02"
status="public">Finished chapter 23</change>
<change who="#BZ" when="2008-01-02"
status="draft">Finished chapter 2</change>
<change n="P2.2" when="1991-12-21"
who="#LDB">Added examples to section 3</change>
<change when="1991-11-11" who="#MSM">Deleted chapter 10</change>
</revisionDesc> | ||||||||||||||||||||||
| Example | <profileDesc>
<creation>
<listChange>
<change xml:id="DRAFT1">First draft in pencil</change>
<change xml:id="DRAFT2"
notBefore="1880-12-09">First revision, mostly
using green ink</change>
<change xml:id="DRAFT3"
notBefore="1881-02-13">Final corrections as
supplied to printer.</change>
</listChange>
</creation>
</profileDesc> | ||||||||||||||||||||||
| Content model |
<content>
<macroRef key="macro.specialPara"/>
</content>
| ||||||||||||||||||||||
| Schema Declaration |
element change
{
L2_att.datable.attribute.calendar,
L2_att.datable.attribute.period,
L2_att.datable.w3c.attribute.notBefore,
L2_att.datable.w3c.attribute.notAfter,
L2_att.datable.w3c.attribute.from,
L2_att.datable.w3c.attribute.to,
L2_att.datable.custom.attribute.when-custom,
L2_att.datable.custom.attribute.notBefore-custom,
L2_att.datable.custom.attribute.notAfter-custom,
L2_att.datable.custom.attribute.from-custom,
L2_att.datable.custom.attribute.to-custom,
L2_att.datable.custom.attribute.datingPoint,
L2_att.datable.custom.attribute.datingMethod,
L2_att.docStatus.attributes,
L2_att.global.attributes,
L2_att.typed.attributes,
attribute who { list { + } },
attribute when { text },
attribute target { list { + } }?,
L2_macro.specialPara
} | ||||||||||||||||||||||
| <choice> groups a number of alternative encodings for the same point in a text. [3.4. Simple Editorial Changes] | |
| Module | core — Level 2: Minimal Encoding |
| Attributes | Attributes att.global (@xml:id, @n, @xml:lang, @xml:space) (att.global.rendition (@style)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source)) |
| Member of | |
| Contained by | |
| May contain | |
| Note | Because the children of a <choice> element all represent alternative ways of encoding the same sequence, it is natural to think of them as mutually exclusive. However, there may be cases where a full representation of a text requires the alternative encodings to be considered as parallel. Note also that <choice> elements may self-nest. Where the purpose of an encoding is to record multiple witnesses of a single work, rather than to identify multiple possible encoding decisions at a given point, the <app> element and associated elements discussed in section 12.1. The Apparatus Entry, Readings, and Witnesses should be preferred. |
| Example | An American encoding of Gulliver's Travels which retains the British spelling but also provides a version regularized to American spelling might be encoded as follows. <p>Lastly, That, upon his solemn oath to observe all the above
articles, the said man-mountain shall have a daily allowance of
meat and drink sufficient for the support of <choice>
<sic>1724</sic>
<corr>1728</corr>
</choice> of our subjects,
with free access to our royal person, and other marks of our
<choice>
<orig>favour</orig>
<reg>favor</reg>
</choice>.</p> |
| Content model |
<content>
<alternate minOccurs="2"
maxOccurs="unbounded">
<classRef key="model.choicePart"/>
<elementRef key="choice"/>
</alternate>
</content>
|
| Schema Declaration |
element choice
{
L2_att.global.attributes,
( L2_model.choicePart | L2_choice )+
} |
| <cit> (cited quotation) contains a quotation from some other document, together with a bibliographic reference to its source. In a dictionary it may contain an example text with at least one occurrence of the word form, used in the sense being described, or a translation of the headword, or an example. [3.3.3. Quotation 4.3.1. Grouped Texts 9.3.5.1. Examples] | |
| Module | core — Level 2: Minimal Encoding |
| Attributes | Attributes att.global (@xml:id, @n, @xml:lang, @xml:space) (att.global.rendition (@style)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source)) att.typed (@type) |
| Member of | |
| Contained by | |
| May contain | |
| Example | <cit>
<quote>and the breath of the whale is frequently attended with such an insupportable smell,
as to bring on disorder of the brain.</quote>
<bibl>Ulloa's South America</bibl>
</cit> |
| Example | <entry>
<form>
<orth>horrifier</orth>
</form>
<cit type="translation" xml:lang="en">
<quote>to horrify</quote>
</cit>
<cit type="example">
<quote>elle était horrifiée par la dépense</quote>
<cit type="translation" xml:lang="en">
<quote>she was horrified at the expense.</quote>
</cit>
</cit>
</entry> |
| Content model |
<content>
<alternate minOccurs="1"
maxOccurs="unbounded">
<classRef key="model.qLike"/>
<classRef key="model.egLike"/>
<classRef key="model.biblLike"/>
<classRef key="model.ptrLike"/>
<classRef key="model.global"/>
<classRef key="model.entryPart"/>
</alternate>
</content>
|
| Schema Declaration |
element cit
{
L2_att.global.attributes,
L2_att.typed.attributes,
(
L2_model.qLike
| L2_model.egLike
| L2_model.biblLike
| L2_model.ptrLike
| L2_model.global
| L2_model.entryPart
)+
} |
| <citedRange> (cited range) defines the range of cited content, often represented by pages or other units [3.11.2.5. Scopes and Ranges in Bibliographic Citations] | |
| Module | core — Level 2: Minimal Encoding |
| Attributes | Attributes att.global (@xml:id, @n, @xml:lang, @xml:space) (att.global.rendition (@style)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source)) att.pointing (@target) att.citing (@unit, @from, @to) |
| Member of | |
| Contained by | core: bibl biblStruct |
| May contain | |
| Note | When a single page is being cited, use the from and to attributes with an identical value. When no clear endpoint is provided, the from attribute may be used without to; for example a citation such as ‘p. 3ff’ might be encoded |
| Example | <citedRange>pp 12–13</citedRange>
<citedRange unit="page" from="12" to="13"/>
<citedRange unit="volume">II</citedRange>
<citedRange unit="page">12</citedRange> |
| Example | <bibl>
<ptr target="#mueller01"/>, <citedRange target="http://example.com/mueller3.xml#page4">vol. 3, pp.
4-5</citedRange>
</bibl> |
| Content model |
<content>
<macroRef key="macro.phraseSeq"/>
</content>
|
| Schema Declaration |
element citedRange
{
L2_att.global.attributes,
L2_att.pointing.attributes,
L2_att.citing.attributes,
L2_macro.phraseSeq
} |
| <classCode> (classification code) contains the classification code used for this text in some standard classification system. [2.4.3. The Text Classification] | |||||||
| Module | header — Level 2: Minimal Encoding | ||||||
| Attributes | Attributes att.global (@xml:id, @n, @xml:lang, @xml:space) (att.global.rendition (@style)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source))
| ||||||
| Contained by | |||||||
| May contain | |||||||
| Example | <classCode scheme="http://www.udc.org">410</classCode> | ||||||
| Content model |
<content>
<macroRef key="macro.phraseSeq.limited"/>
</content>
| ||||||
| Schema Declaration |
element classCode
{
L2_att.global.attributes,
attribute scheme { text },
L2_macro.phraseSeq.limited
} | ||||||
| <classDecl> (classification declarations) contains one or more taxonomies defining any classificatory codes used elsewhere in the text. [2.3.7. The Classification Declaration 2.3. The Encoding Description] | |
| Module | header — Level 2: Minimal Encoding |
| Attributes | Attributes att.global (@xml:id, @n, @xml:lang, @xml:space) (att.global.rendition (@style)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source)) |
| Contained by | header: encodingDesc |
| May contain | header: taxonomy |
| Example | <classDecl>
<taxonomy xml:id="LCSH">
<bibl>Library of Congress Subject Headings</bibl>
</taxonomy>
</classDecl>
<!-- ... -->
<textClass>
<keywords scheme="#LCSH">
<term>Political science</term>
<term>United States -- Politics and government —
Revolution, 1775-1783</term>
</keywords>
</textClass> |
| Content model |
<content>
<elementRef key="taxonomy" minOccurs="1"
maxOccurs="unbounded"/>
</content>
|
| Schema Declaration |
element classDecl { L2_att.global.attributes, L2_taxonomy+ } |
| <correction> (correction principles) states how and under what circumstances corrections have been made in the text. [2.3.3. The Editorial Practices Declaration 15.3.2. Declarable Elements] | |||||||||||||||||
| Module | header — Level 2: Minimal Encoding | ||||||||||||||||
| Attributes | Attributes att.global (@xml:id, @n, @xml:lang, @xml:space) (att.global.rendition (@style)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source))
| ||||||||||||||||
| Contained by | header: editorialDecl | ||||||||||||||||
| May contain | |||||||||||||||||
| Note | May be used to note the results of proof reading the text against its original, indicating (for example) whether discrepancies have been silently rectified, or recorded using the editorial tags described in section 3.4. Simple Editorial Changes. | ||||||||||||||||
| Example | <correction>
<p>Errors in transcription controlled by using the WordPerfect spelling checker, with a user
defined dictionary of 500 extra words taken from Chambers Twentieth Century
Dictionary.</p>
</correction> | ||||||||||||||||
| Content model |
<content>
<classRef key="model.pLike" minOccurs="1"
maxOccurs="unbounded"/>
</content>
| ||||||||||||||||
| Schema Declaration |
element correction
{
L2_att.global.attributes,
attribute status { "high" | "medium" | "low" | "unknown" }?,
attribute method { "silent" | "markup" }?,
L2_model.pLike+
} | ||||||||||||||||
| <date> contains a date in any format. [3.5.4. Dates and Times 2.2.4. Publication, Distribution, Licensing, etc. 2.6. The Revision Description 3.11.2.4. Imprint, Size of a Document, and Reprint Information 15.2.3. The Setting Description 13.3.6. Dates and Times] | |
| Module | core — Level 2: Minimal Encoding |
| Attributes | Attributes att.global (@xml:id, @n, @xml:lang, @xml:space) (att.global.rendition (@style)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source)) att.datable (@calendar, @period) (att.datable.w3c (@when, @notBefore, @notAfter, @from, @to)) (att.datable.custom (@when-custom, @notBefore-custom, @notAfter-custom, @from-custom, @to-custom, @datingPoint, @datingMethod)) att.dimensions (@unit, @quantity, @extent, @precision, @scope) (att.ranging (@atLeast, @atMost, @min, @max, @confidence)) att.typed (@type) |
| Member of | |
| Contained by | |
| May contain | |
| Example | <date when="1980-02">early February 1980</date> |
| Example | Given on the <date when="1977-06-12">Twelfth Day
of June in the Year of Our Lord One Thousand Nine Hundred and Seventy-seven of the Republic
the Two Hundredth and first and of the University the Eighty-Sixth.</date> |
| Example | <date when="1990-09">September 1990</date> |
| Content model |
<content>
<alternate minOccurs="0"
maxOccurs="unbounded">
<textNode/>
<classRef key="model.gLike"/>
<classRef key="model.phrase"/>
<classRef key="model.global"/>
</alternate>
</content>
|
| Schema Declaration |
element date
{
L2_att.global.attributes,
L2_att.datable.attributes,
L2_att.dimensions.attributes,
L2_att.typed.attributes,
( text | L2_model.gLike | L2_model.phrase | L2_model.global )*
} |
| <distributor> supplies the name of a person or other agency responsible for the distribution of a text. [2.2.4. Publication, Distribution, Licensing, etc.] | |
| Module | header — Level 2: Minimal Encoding |
| Attributes | Attributes att.global (@xml:id, @n, @xml:lang, @xml:space) (att.global.rendition (@style)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source)) |
| Member of | |
| Contained by | header: publicationStmt |
| May contain | |
| Example | <distributor>Oxford Text Archive</distributor>
<distributor>Redwood and Burn Ltd</distributor> |
| Content model |
<content>
<macroRef key="macro.phraseSeq"/>
</content>
|
| Schema Declaration |
element distributor { L2_att.global.attributes, L2_macro.phraseSeq } |
| <div> (text division) contains a subdivision of the front, body, or back of a text. [4.1. Divisions of the Body] | |
| Module | textstructure — Level 2: Minimal Encoding |
| Attributes | Attributes att.BPTL.div.typed (@type) att.global (@xml:id, @n, @xml:lang, @xml:space) (att.global.rendition (@style)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source)) att.written (@hand) |
| Member of | |
| Contained by | |
| May contain | |
| Note | At level 2, <div> may contain only an optional <head> followed by a required <ab>; also <lb>, <pb>, and <note> elements may be interspersed anywhere as needed. |
| Example | <body>
<div type="part">
<head>Fallacies of Authority</head>
<p>The subject of which is Authority in various shapes, and the object, to repress all
exercise of the reasoning faculty.</p>
<div n="1" type="chapter">
<head>The Nature of Authority</head>
<p>With reference to any proposed measures having for their object the greatest
happiness of the greatest number [...]</p>
<div n="1.1" type="section">
<head>Analysis of Authority</head>
<p>What on any given occasion is the legitimate weight or influence to be attached to
authority [...] </p>
</div>
<div n="1.2" type="section">
<head>Appeal to Authority, in What Cases Fallacious.</head>
<p>Reference to authority is open to the charge of fallacy when [...] </p>
</div>
</div>
</div>
</body> |
| Schematron |
<s:report test="ancestor::tei:l"> Abstract model violation: Lines may not contain higher-level structural elements such as div.
</s:report> |
| Schematron |
<s:report test="ancestor::tei:p or ancestor::tei:ab and not(ancestor::tei:floatingText)"> Abstract model violation: p and ab may not contain higher-level structural elements such as div.
</s:report> |
| Content model |
<content>
<classRef key="model.global" minOccurs="0"/>
<classRef key="model.divTop" minOccurs="0"/>
<classRef key="model.global" minOccurs="0"/>
<elementRef key="ab" minOccurs="1"
maxOccurs="1"/>
<classRef key="model.global" minOccurs="0"/>
</content>
|
| Schema Declaration |
element div
{
L2_att.BPTL.div.typed.attributes,
L2_att.global.attributes,
L2_att.written.attributes,
L2_model.global?,
L2_model.divTop?,
L2_model.global?,
L2_ab,
L2_model.global?
} |
| <div1> (level-1 text division) contains a first-level subdivision of the front, body, or back of a text. [4.1.2. Numbered Divisions] | |
| Module | textstructure — Level 2: Minimal Encoding |
| Attributes | Attributes att.global (@xml:id, @n, @xml:lang, @xml:space) (att.global.rendition (@style)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source)) |
| Member of | |
| Contained by | |
| May contain | |
| Note | At level 2, <div1> may contain only an optional <head> followed by a required <ab>. |
| Example | <div1 xml:id="levi" n="I" type="part">
<head>Part I: Of Man </head>
<div2 xml:id="levi1" n="1" type="chapter">
<head>Chap. I. Of Sense </head>
<p>Concerning the Thoughts of man... </p>
</div2>
</div1>
<div1 xml:id="levii" n="II" type="part">
<head>Part II: Of Common-Wealth</head>
</div1> |
| Content model |
<content>
<classRef key="model.global" minOccurs="0"/>
<classRef key="model.divTop" minOccurs="0"/>
<classRef key="model.global" minOccurs="0"/>
<elementRef key="ab" minOccurs="1"
maxOccurs="1"/>
<classRef key="model.global" minOccurs="0"/>
</content>
|
| Schema Declaration |
element div1
{
L2_att.global.attributes,
L2_model.global?,
L2_model.divTop?,
L2_model.global?,
L2_ab,
L2_model.global?
} |
| <edition> describes the particularities of one edition of a text. [2.2.2. The Edition Statement] | |
| Module | header — Level 2: Minimal Encoding |
| Attributes | Attributes att.global (@xml:id, @n, @xml:lang, @xml:space) (att.global.rendition (@style)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source)) |
| Member of | |
| Contained by | header: editionStmt |
| May contain | |
| Example | <edition>First edition <date>Oct 1990</date>
</edition>
<edition n="S2">Students' edition</edition> |
| Content model |
<content>
<macroRef key="macro.phraseSeq"/>
</content>
|
| Schema Declaration |
element edition { L2_att.global.attributes, L2_macro.phraseSeq } |
| <editionStmt> (edition statement) groups information relating to one edition of a text. [2.2.2. The Edition Statement 2.2. The File Description] | |
| Module | header — Level 2: Minimal Encoding |
| Attributes | Attributes att.global (@xml:id, @n, @xml:lang, @xml:space) (att.global.rendition (@style)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source)) |
| Contained by | header: fileDesc |
| May contain | |
| Example | <editionStmt>
<edition n="S2">Students' edition</edition>
<respStmt>
<resp>Adapted by </resp>
<name>Elizabeth Kirk</name>
</respStmt>
</editionStmt> |
| Example | <editionStmt>
<p>First edition, <date>Michaelmas Term, 1991.</date>
</p>
</editionStmt> |
| Content model |
<content>
<alternate>
<classRef key="model.pLike" minOccurs="1"
maxOccurs="unbounded"/>
<sequence>
<elementRef key="edition"/>
<classRef key="model.respLike"
minOccurs="0" maxOccurs="unbounded"/>
</sequence>
</alternate>
</content>
|
| Schema Declaration |
element editionStmt
{
L2_att.global.attributes,
( L2_model.pLike+ | ( L2_edition, L2_model.respLike* ) )
} |
| <editor> contains the name (typically encoded as <name>, <persName>, or <orgName>) of an individual, institution, or organization acting as editor. [3.11.2.2. Titles, Authors, and Editors] | |
| Module | core — Level 2: Minimal Encoding |
| Attributes | Attributes att.global (@xml:id, @n, @xml:lang, @xml:space) (att.global.rendition (@style)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source)) |
| Member of | |
| Contained by | header: editionStmt seriesStmt titleStmt |
| May contain | |
| Note | A consistent format should be adopted. Particularly where cataloguing is likely to be based on the content of the header, it is advisable to use generally recognized authority lists for the exact form of personal names. |
| Example | <editor>
<persName ref="names.xml#khawkins.tvt">Kevin Hawkins</persName>
</editor> |
| Content model |
<content>
<macroRef key="macro.phraseSeq"/>
</content>
|
| Schema Declaration |
element editor { L2_att.global.attributes, L2_macro.phraseSeq } |
| <editorialDecl> (editorial practice declaration) provides details of editorial principles and practices applied during the encoding of a text. [2.3.3. The Editorial Practices Declaration 2.3. The Encoding Description 15.3.2. Declarable Elements] | |
| Module | header — Level 2: Minimal Encoding |
| Attributes | Attributes att.global (@xml:id, @n, @xml:lang, @xml:space) (att.global.rendition (@style)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source)) |
| Contained by | header: encodingDesc |
| May contain | |
| Example | <editorialDecl>
<p>Metadata in the TEI header comes from an AACR2-conformant
record, translated to TEI via the <name type="software">Thutmose I</name> program.</p>
<p>Content originally generated by <name type="software">c-n-rite</name> OCR software, then the
needed TEI encoding put in place with <name type="software">cnr2tei.xslt</name>.</p>
<correction method="markup" status="low"/>
<normalization method="silent">
<p>Spacing between words and the following
punctuation mark has been removed. Spacing
between words has generally been regularized to
one space.</p>
</normalization>
<normalization method="markup">
<p>Distances expressed in imperial units in the
source have been normalized to the metric system
using the attributes of the <gi>measure</gi>
element.</p>
</normalization>
<hyphenation eol="all">
<p>All hyphens in source document encoded as U+2010.</p>
</hyphenation>
</editorialDecl> |
| Content model |
<content>
<sequence minOccurs="1" maxOccurs="1">
<elementRef key="correction"
minOccurs="0" maxOccurs="1"/>
<elementRef key="hyphenation"
minOccurs="0" maxOccurs="1"/>
<elementRef key="normalization"
minOccurs="0" maxOccurs="1"/>
<elementRef key="punctuation"
minOccurs="0" maxOccurs="1"/>
<elementRef key="quotation" minOccurs="0"
maxOccurs="1"/>
<classRef key="model.pLike" minOccurs="0"
maxOccurs="7"/>
</sequence>
</content>
|
| Schema Declaration |
element editorialDecl
{
L2_att.global.attributes,
(
L2_correction?,
L2_hyphenation?,
L2_normalization?,
L2_punctuation?,
L2_quotation?,
(
L2_model.pLike?,
(
L2_model.pLike,
(
L2_model.pLike,
(
L2_model.pLike,
(
L2_model.pLike,
( L2_model.pLike, ( L2_model.pLike, L2_model.pLike? )? )?
)?
)?
)?
)?
)
)
} |
| <email> (electronic mail address) contains an email address identifying a location to which email messages can be delivered. [3.5.2. Addresses] | |
| Module | core — Level 2: Minimal Encoding |
| Attributes | Attributes att.global (@xml:id, @n, @xml:lang, @xml:space) (att.global.rendition (@style)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source)) |
| Member of | |
| Contained by | |
| May contain | |
| Note | The format of a modern Internet email address is defined in RFC 2822 |
| Example | <email>membership@tei-c.org</email> |
| Content model |
<content>
<macroRef key="macro.phraseSeq"/>
</content>
|
| Schema Declaration |
element email { L2_att.global.attributes, L2_macro.phraseSeq } |
| <emph> (emphasized) marks words or phrases which are stressed or emphasized for linguistic or rhetorical effect. [3.3.2.2. Emphatic Words and Phrases 3.3.2. Emphasis, Foreign Words, and Unusual Language] | |
| Module | core — Level 2: Minimal Encoding |
| Attributes | Attributes att.global (@xml:id, @n, @xml:lang, @xml:space) (att.global.rendition (@style)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source)) |
| Member of | |
| Contained by | |
| May contain | |
| Example | You took the car and did <emph>what</emph>?!! |
| Example | <q>What it all comes to is this,</q> he said.
<q>
<emph>What
does Christopher Robin do in the morning nowadays?</emph>
</q> |
| Content model |
<content>
<macroRef key="macro.paraContent"/>
</content>
|
| Schema Declaration |
element emph { L2_att.global.attributes, L2_macro.paraContent } |
| <encodingDesc> (encoding description) documents the relationship between an electronic text and the source or sources from which it was derived. [2.3. The Encoding Description 2.1.1. The TEI Header and Its Components] | |
| Module | header — Level 2: Minimal Encoding |
| Attributes | Attributes att.global (@xml:id, @n, @xml:lang, @xml:space) (att.global.rendition (@style)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source)) |
| Contained by | header: teiHeader |
| May contain | |
| Example | <encodingDesc>
<p>Basic encoding, capturing lexical information only. All
hyphenation, punctuation, and variant spellings normalized. No
formatting or layout information preserved.</p>
</encodingDesc> |
| Content model |
<content>
<sequence minOccurs="1" maxOccurs="1">
<elementRef key="projectDesc"
minOccurs="0" maxOccurs="1"/>
<elementRef key="schemaRef" minOccurs="0"
maxOccurs="unbounded"/>
<elementRef key="editorialDecl"
minOccurs="0" maxOccurs="1"/>
<elementRef key="tagsDecl" minOccurs="1"
maxOccurs="1"/>
<elementRef key="classDecl" minOccurs="0"
maxOccurs="1"/>
<elementRef key="samplingDecl"
minOccurs="0" maxOccurs="1"/>
<elementRef key="appInfo" minOccurs="0"
maxOccurs="unbounded"/>
<elementRef key="listPrefixDef"
minOccurs="1" maxOccurs="unbounded"/>
</sequence>
</content>
|
| Schema Declaration |
element encodingDesc
{
L2_att.global.attributes,
(
L2_projectDesc?,
L2_schemaRef*,
L2_editorialDecl?,
L2_tagsDecl,
L2_classDecl?,
L2_samplingDecl?,
L2_appInfo*,
L2_listPrefixDef+
)
} |
| <expan> (expansion) contains the expansion of an abbreviation. [3.5.5. Abbreviations and Their Expansions] | |
| Module | core — Level 2: Minimal Encoding |
| Attributes | Attributes att.global (@xml:id, @n, @xml:lang, @xml:space) (att.global.rendition (@style)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source)) |
| Member of | |
| Contained by | |
| May contain | |
| Note | The content of this element should be the expanded abbreviation, usually (but not always) a complete word or phrase. The <ex> element provided by the transcr module may be used to mark up sequences of letters supplied within such an expansion. |
| Note | If abbreviations are expanded silently, this practice should be documented in the <editorialDecl>, either with a <normalization> element or a <p>. |
| Example | The address is Southmoor
<choice>
<expan>Road</expan>
<abbr>Rd</abbr>
</choice> |
| Example | <choice xml:lang="la">
<abbr>Imp</abbr>
<expan>Imp<ex>erator</ex>
</expan>
</choice> |
| Content model |
<content>
<macroRef key="macro.phraseSeq"/>
</content>
|
| Schema Declaration |
element expan { L2_att.global.attributes, L2_macro.phraseSeq } |
| <extent> describes the approximate size of a text stored on some carrier medium or of some other object, digital or non-digital, specified in any convenient units. [2.2.3. Type and Extent of File 2.2. The File Description 3.11.2.4. Imprint, Size of a Document, and Reprint Information 10.7.1. Object Description] | |
| Module | header — Level 2: Minimal Encoding |
| Attributes | Attributes att.global (@xml:id, @n, @xml:lang, @xml:space) (att.global.rendition (@style)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source)) |
| Member of | |
| Contained by | |
| May contain | |
| Example | <extent>3200 sentences</extent>
<extent>between 10 and 20 Mb</extent>
<extent>ten 3.5 inch high density diskettes</extent> |
| Example | The <measure> element may be used to supply normalised or machine tractable versions of the size or sizes concerned. <extent>
<measure unit="MiB" quantity="4.2">About four megabytes</measure>
<measure unit="pages" quantity="245">245 pages of source
material</measure>
</extent> |
| Content model |
<content>
<macroRef key="macro.phraseSeq"/>
</content>
|
| Schema Declaration |
element extent { L2_att.global.attributes, L2_macro.phraseSeq } |
| <facsimile> contains a representation of some written source in the form of a set of images rather than as transcribed or encoded text. [11.1. Digital Facsimiles] | |
| Module | transcr — Level 2: Minimal Encoding |
| Attributes | Attributes att.global (@xml:id, @n, @xml:lang, @xml:space) (att.global.rendition (@style)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source)) |
| Contained by | textstructure: TEI |
| May contain | transcr: surface |
| Example | <facsimile>
<graphic url="page1.png"/>
<surface>
<graphic url="page2-highRes.png"/>
<graphic url="page2-lowRes.png"/>
</surface>
<graphic url="page3.png"/>
<graphic url="page4.png"/>
</facsimile> |
| Example | <facsimile>
<surface ulx="0" uly="0" lrx="200" lry="300">
<graphic url="Bovelles-49r.png"/>
</surface>
</facsimile> |
| Content model |
<content>
<elementRef key="surface" minOccurs="1"
maxOccurs="unbounded"/>
</content>
|
| Schema Declaration |
element facsimile { L2_att.global.attributes, L2_surface+ } |
| <fileDesc> (file description) contains a full bibliographic description of an electronic file. [2.2. The File Description 2.1.1. The TEI Header and Its Components] | |
| Module | header — Level 2: Minimal Encoding |
| Attributes | Attributes att.global (@xml:id, @n, @xml:lang, @xml:space) (att.global.rendition (@style)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source)) |
| Contained by | header: teiHeader |
| May contain | |
| Note | The major source of information for those seeking to create a catalogue entry or bibliographic citation for an electronic file. As such, it provides a title and statements of responsibility together with details of the publication or distribution of the file, of any series to which it belongs, and detailed bibliographic notes for matters not addressed elsewhere in the header. It also contains a full bibliographic description for the source or sources from which the electronic text was derived. |
| Example | <fileDesc>
<titleStmt>
<title>The shortest possible TEI document</title>
</titleStmt>
<publicationStmt>
<p>Distributed as part of TEI P5</p>
</publicationStmt>
<sourceDesc>
<p>No print source exists: this is an original digital text</p>
</sourceDesc>
</fileDesc> |
| Content model |
<content>
<sequence>
<sequence>
<elementRef key="titleStmt"/>
<elementRef key="editionStmt"
minOccurs="0"/>
<elementRef key="extent" minOccurs="0"/>
<elementRef key="publicationStmt"/>
<elementRef key="seriesStmt"
minOccurs="0"/>
<elementRef key="notesStmt"
minOccurs="0"/>
</sequence>
<elementRef key="sourceDesc"
minOccurs="1" maxOccurs="unbounded"/>
</sequence>
</content>
|
| Schema Declaration |
element fileDesc
{
L2_att.global.attributes,
(
(
L2_titleStmt,
L2_editionStmt?,
L2_extent?,
L2_publicationStmt,
L2_seriesStmt?,
L2_notesStmt?
),
L2_sourceDesc+
)
} |
| <foreign> identifies a word or phrase as belonging to some language other than that of the surrounding text. [3.3.2.1. Foreign Words or Expressions] | |
| Module | core — Level 2: Minimal Encoding |
| Attributes | Attributes att.global (@xml:id, @n, @xml:lang, @xml:space) (att.global.rendition (@style)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source)) |
| Member of | |
| Contained by | |
| May contain | |
| Note | The global xml:lang attribute should be supplied for this element to identify the language of the word or phrase marked. As elsewhere, its value should be a language tag as defined in 6.1. Language Identification. This element is intended for use only where no other element is available to mark the phrase or words concerned. The global xml:lang attribute should be used in preference to this element where it is intended to mark the language of the whole of some text element. The <distinct> element may be used to identify phrases belonging to sublanguages or registers not generally regarded as true languages. |
| Example | This is
heathen Greek to you still? Your <foreign xml:lang="la">lapis
philosophicus</foreign>? |
| Content model |
<content>
<macroRef key="macro.phraseSeq"/>
</content>
|
| Schema Declaration |
element foreign { L2_att.global.attributes, L2_macro.phraseSeq } |
| <front> (front matter) contains any prefatory matter (headers, title page, prefaces, dedications, etc.) found at the start of a document, before the main body. [4.6. Title Pages 4. Default Text Structure] | |
| Module | textstructure — Level 2: Minimal Encoding |
| Attributes | Attributes att.global (@xml:id, @n, @xml:lang, @xml:space) (att.global.rendition (@style)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source)) |
| Contained by | textstructure: text |
| May contain | |
| Note | Because cultural conventions differ as to which elements are grouped as front matter and which as back matter, the content models for the <front> and <back> elements are identical. |
| Example | <front>
<div type="dedication">
<ab>To our three selves</ab>
</div>
<div type="preface">
<head>Author's Note</head>
<ab>All the characters in this book are purely
<lb/>imaginary, and if the author has used names that
<lb/>may suggest a reference to living persons she has
<lb/>done so inadvertently. ...</ab>
</div>
</front> |
| Content model |
<content>
<alternate minOccurs="1" maxOccurs="1">
<classRef key="model.divLike"
minOccurs="1" maxOccurs="unbounded"/>
<classRef key="model.div1Like"
minOccurs="1" maxOccurs="unbounded"/>
</alternate>
</content>
|
| Schema Declaration |
element front
{
L2_att.global.attributes,
( L2_model.divLike+ | L2_model.div1Like+ )
} |
| <gi> (element name) contains the name (generic identifier) of an element. [22. Documentation Elements 22.5. Element Specifications] | |||||||||
| Module | tagdocs — Level 2: Minimal Encoding | ||||||||
| Attributes | Attributes att.global (@xml:id, @n, @xml:lang, @xml:space) (att.global.rendition (@style)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source))
| ||||||||
| Member of | |||||||||
| Contained by | |||||||||
| May contain | Empty element | ||||||||
| Example | <p>The <gi>xhtml:li</gi> element is roughly analogous to the <gi>item</gi> element, as is the
<gi scheme="DBK">listItem</gi> element.</p> This example shows the use of both a namespace prefix and the schema attribute as alternative ways of indicating that the <gi> in question is not a TEI element name: in practice only one method should be adopted. | ||||||||
| Content model |
<content>
<dataRef key="teidata.name"/>
</content>
| ||||||||
| Schema Declaration |
element gi
{
L2_att.global.attributes,
attribute scheme { text }?,
teidata.name
} | ||||||||
| <gloss> identifies a phrase or word used to provide a gloss or definition for some other word or phrase. [3.3.4. Terms, Glosses, Equivalents, and Descriptions 22.4.1. Description of Components] | |
| Module | core — Level 2: Minimal Encoding |
| Attributes | Attributes att.global (@xml:id, @n, @xml:lang, @xml:space) (att.global.rendition (@style)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source)) att.translatable (@versionDate) att.typed (@type) att.pointing (@target) att.cReferencing (@cRef) |
| Member of | |
| Contained by | |
| May contain | |
| Note | The target and cRef attributes are mutually exclusive. |
| Example | We may define <term xml:id="tdpv" rend="sc">discoursal point of view</term> as
<gloss target="#tdpv">the relationship, expressed
through discourse structure, between the implied author or some other addresser, and the
fiction.</gloss> |
| Content model |
<content>
<macroRef key="macro.phraseSeq"/>
</content>
|
| Schema Declaration |
element gloss
{
L2_att.global.attributes,
L2_att.translatable.attributes,
L2_att.typed.attributes,
L2_att.pointing.attributes,
L2_att.cReferencing.attributes,
L2_macro.phraseSeq
} |
| <graphic> indicates the location of a graphic or illustration, either forming part of a text, or providing an image of it. [3.9. Graphics and Other Non-textual Components 11.1. Digital Facsimiles] | |
| Module | core — Level 2: Minimal Encoding |
| Attributes | Attributes att.global (@xml:id, @n, @xml:lang, @xml:space) (att.global.rendition (@style)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source)) att.media (@width, @height, @scale) (att.internetMedia (@mimeType)) att.resourced (@url) |
| Member of | |
| Contained by | |
| May contain | Empty element |
| Note | The mimeType attribute should be used to supply the MIME media type of the image specified by the url attribute. Within the body of a text, a <graphic> element indicates the presence of a graphic component in the source itself. Within the context of a <facsimile> or <sourceDoc> element, however, a <graphic> element provides an additional digital representation of some part of the source being encoded. |
| Example | <figure>
<graphic url="fig1.png"/>
<head>Figure One: The View from the Bridge</head>
<figDesc>A Whistleresque view showing four or five sailing boats in the foreground, and a
series of buoys strung out between them.</figDesc>
</figure> |
| Example | <facsimile>
<surfaceGrp n="leaf1">
<surface>
<graphic url="page1.png"/>
</surface>
<surface>
<graphic url="page2-highRes.png"/>
<graphic url="page2-lowRes.png"/>
</surface>
</surfaceGrp>
</facsimile> |
| Content model |
<content>
<empty/>
</content>
|
| Schema Declaration |
element graphic
{
L2_att.global.attributes,
L2_att.media.attributes,
L2_att.resourced.attributes,
empty
} |
| <head> (heading) contains any type of heading, for example the title of a section, or the heading of a list, glossary, manuscript description, etc. [4.2.1. Headings and Trailers] | |
| Module | core — Level 2: Minimal Encoding |
| Attributes | Attributes att.global (@xml:id, @n, @xml:lang, @xml:space) (att.global.rendition (@style)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source)) att.typed (@type) |
| Member of | |
| Contained by | |
| May contain | |
| Note | The <head> element is used for headings at all levels; software which treats (e.g.) chapter headings, section headings, and list titles differently must determine the proper processing of a <head> element based on its structural position. A <head> occurring as the first element of a <div> or <div1> is the title of that chapter or section. |
| Example | The most common use for the <head> element is to mark the headings of sections. In older writings, the headings or incipits may be rather longer than usual in modern works. If a section has an explicit ending as well as a heading, it should be marked as a <trailer>, as in this example: <div1 n="I" type="book">
<head>In the name of Christ here begins the first book of the ecclesiastical history of
Georgius Florentinus, known as Gregory, Bishop of Tours.</head>
<div2 type="section">
<head>In the name of Christ here begins Book I of the history.</head>
<p>Proposing as I do ...</p>
<p>From the Passion of our Lord until the death of Saint Martin four hundred and twelve
years passed.</p>
<trailer>Here ends the first Book, which covers five thousand, five hundred and ninety-six
years from the beginning of the world down to the death of Saint Martin.</trailer>
</div2>
</div1> |
| Example | When headings are not inline with the running text (see e.g. the heading "Secunda conclusio") they might however be encoded as if. The actual placement in the source document can be captured with the place attribute. <div type="subsection">
<head place="margin">Secunda conclusio</head>
<p>
<lb n="1251"/>
<hi rend="large">Potencia: habitus: et actus: recipiunt speciem ab obiectis<supplied>.</supplied>
</hi>
<lb n="1252"/>Probatur sic. Omne importans necessariam habitudinem ad proprium
[...]
</p>
</div> |
| Example | The <head> element is also used to mark headings of other units, such as lists: With a few exceptions, connectives are equally
useful in all kinds of discourse: description, narration, exposition, argument. <list rend="bulleted">
<head>Connectives</head>
<item>above</item>
<item>accordingly</item>
<item>across from</item>
<item>adjacent to</item>
<item>again</item>
<item>
<!-- ... -->
</item>
</list> |
| Content model |
<content>
<alternate minOccurs="0"
maxOccurs="unbounded">
<textNode/>
<classRef key="model.gLike"/>
<classRef key="model.phrase"/>
<classRef key="model.inter"/>
<classRef key="model.lLike"/>
<classRef key="model.global"/>
</alternate>
</content>
|
| Schema Declaration |
element head
{
L2_att.global.attributes,
L2_att.typed.attributes,
(
text
| L2_model.gLike
| L2_model.phrase
| L2_model.inter
| L2_model.lLike
| L2_model.global
)*
} |
| <hyphenation> summarizes the way in which hyphenation in a source text has been treated in an encoded version of it. [2.3.3. The Editorial Practices Declaration 15.3.2. Declarable Elements] | |||||||||
| Module | header — Level 2: Minimal Encoding | ||||||||
| Attributes | Attributes att.global (@xml:id, @n, @xml:lang, @xml:space) (att.global.rendition (@style)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source))
| ||||||||
| Contained by | header: editorialDecl | ||||||||
| May contain | |||||||||
| Example | <hyphenation eol="some">
<p>End-of-line hyphenation silently removed where appropriate</p>
</hyphenation> | ||||||||
| Content model |
<content>
<alternate minOccurs="1" maxOccurs="1">
<sequence minOccurs="1" maxOccurs="1">
<elementRef key="hyphenation-para"
minOccurs="1" maxOccurs="1"/>
<elementRef key="p" minOccurs="0"
maxOccurs="unbounded"/>
</sequence>
<sequence minOccurs="1" maxOccurs="1">
<elementRef key="p" minOccurs="1"
maxOccurs="unbounded"/>
</sequence>
</alternate>
</content>
| ||||||||
| Schema Declaration |
element hyphenation
{
L2_att.global.attributes,
attribute eol { "all" | "some" | "hard" | "none" }?,
( ( L2_hyphenation-para, L2_p* ) | ( L2_p+ ) )
} | ||||||||
| <p> | |
| Module | derived-module-bptl-L2 |
| Contained by | header: hyphenation |
| May contain | Empty element |
| Content model |
<content>
<valList type="closed">
<valItem ident="All hyphens in source document encoded as U+2010."/>
<valItem ident="All hyphens in source document encoded as U+002D."/>
<valItem ident="Hyphens in source document encoded as U+2010. Line-ending hyphens
differentiated with @break of immediately following <lb> element."/>
<valItem ident="Hyphens in source document encoded as U+002D. Line-ending hyphens
differentiated with @break of immediately following <lb> element."/>
<valItem ident="Hyphens in source document encoded as U+2010 inside a <pc>. Line-ending
hyphens differentiated with @force of the <pc> and @break of immediately
following <lb> element."/>
<valItem ident="Hyphens in source document encoded as U+202D inside a <pc>. Line-ending
hyphens differentiated with @force of the <pc> and @break of immediately
following <lb> element."/>
</valList>
</content>
Legal values are:
|
| Schema Declaration |
element p
{
"All hyphens in source document encoded as U+2010."
| "All hyphens in source document encoded as U+002D."
| "Hyphens in source document encoded as U+2010. Line-ending hyphens differentiated with @break of immediately following <lb> element."
| "Hyphens in source document encoded as U+002D. Line-ending hyphens differentiated with @break of immediately following <lb> element."
| "Hyphens in source document encoded as U+2010 inside a <pc>. Line-ending hyphens differentiated with @force of the <pc> and @break of immediately following <lb> element."
| "Hyphens in source document encoded as U+202D inside a <pc>. Line-ending hyphens differentiated with @force of the <pc> and @break of immediately following <lb> element."
}Legal values are:
|
| <idno> (identifier) supplies any form of identifier used to identify some object, such as a bibliographic item, a person, a title, an organization, etc. in a standardized way. [2.2.4. Publication, Distribution, Licensing, etc. 2.2.5. The Series Statement 3.11.2.4. Imprint, Size of a Document, and Reprint Information] | |||||||||||
| Module | header — Level 2: Minimal Encoding | ||||||||||
| Attributes | Attributes att.global (@xml:id, @n, @xml:lang, @xml:space) (att.global.rendition (@style)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source)) att.sortable (@sortKey) att.datable (@calendar, @period) (att.datable.w3c (@when, @notBefore, @notAfter, @from, @to)) (att.datable.custom (@when-custom, @notBefore-custom, @notAfter-custom, @from-custom, @to-custom, @datingPoint, @datingMethod))
| ||||||||||
| Member of | |||||||||||
| Contained by | core: abbr addrLine address analytic author bibl biblScope citedRange date editor email emph expan foreign gloss head item label monogr name note p pubPlace publisher q ref resp series street term textLang title | ||||||||||
| May contain | header: idno character data | ||||||||||
| Note | <idno> should be used for labels which identify an object or concept in a formal cataloguing system such as a database or an RDF store, or in a distributed system such as the World Wide Web. Some suggested values for type on <idno> are ISBN, ISSN, DOI, and URI. | ||||||||||
| Example | <idno type="ISBN">978-1-906964-22-1</idno>
<idno type="ISSN">0143-3385</idno>
<idno type="DOI">10.1000/123</idno>
<idno type="URI">http://www.worldcat.org/oclc/185922478</idno>
<idno type="URI">http://authority.nzetc.org/463/</idno>
<idno type="LT">Thomason Tract E.537(17)</idno>
<idno type="Wing">C695</idno>
<idno type="oldCat">
<g ref="#sym"/>345
</idno> In the last case, the identifier includes a non-Unicode character which is defined elsewhere by means of a <glyph> or <char> element referenced here as #sym. | ||||||||||
| Content model |
<content>
<alternate minOccurs="0"
maxOccurs="unbounded">
<textNode/>
<classRef key="model.gLike"/>
<elementRef key="idno"/>
</alternate>
</content>
| ||||||||||
| Schema Declaration |
element idno
{
L2_att.global.attributes,
L2_att.sortable.attributes,
L2_att.datable.attributes,
attribute type
{
"ISBN"
| "ISSN"
| "DOI"
| "URI"
| "VIAF"
| "ESTC"
| "OCLC"
| "LC_call_number"
| "LCCN"
}?,
( text | L2_model.gLike | L2_idno )*
} | ||||||||||
| <imprint> groups information relating to the publication or distribution of a bibliographic item. [3.11.2.4. Imprint, Size of a Document, and Reprint Information] | |
| Module | core — Level 2: Minimal Encoding |
| Attributes | Attributes att.global (@xml:id, @n, @xml:lang, @xml:space) (att.global.rendition (@style)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source)) |
| Contained by | core: monogr |
| May contain | |
| Example | <imprint>
<pubPlace>Oxford</pubPlace>
<publisher>Clarendon Press</publisher>
<date>1987</date>
</imprint> |
| Content model |
<content>
<sequence>
<alternate minOccurs="0"
maxOccurs="unbounded">
<elementRef key="classCode"/>
<elementRef key="catRef"/>
</alternate>
<sequence minOccurs="1"
maxOccurs="unbounded">
<alternate>
<classRef key="model.imprintPart"/>
<classRef key="model.dateLike"/>
</alternate>
<elementRef key="respStmt" minOccurs="0"
maxOccurs="unbounded"/>
<classRef key="model.global"
minOccurs="0" maxOccurs="unbounded"/>
</sequence>
</sequence>
</content>
|
| Schema Declaration |
element imprint
{
L2_att.global.attributes,
(
( L2_classCode | catRef )*,
(
( L2_model.imprintPart | L2_model.dateLike ),
L2_respStmt*,
L2_model.global*
)+
)
} |
| <item> contains one component of a list. [3.7. Lists 2.6. The Revision Description] | |
| Module | core — Level 2: Minimal Encoding |
| Attributes | Attributes att.global (@xml:id, @n, @xml:lang, @xml:space) (att.global.rendition (@style)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source)) att.sortable (@sortKey) |
| Contained by | core: list |
| May contain | |
| Note | May contain simple prose or a sequence of chunks. Whatever string of characters is used to label a list item in the copy text may be used as the value of the global n attribute, but it is not required that numbering be recorded explicitly. In ordered lists, the n attribute on the <item> element is by definition synonymous with the use of the <label> element to record the enumerator of the list item. In glossary lists, however, the term being defined should be given with the <label> element, not n. |
| Example | <list rend="numbered">
<head>Here begin the chapter headings of Book IV</head>
<item n="4.1">The death of Queen Clotild.</item>
<item n="4.2">How King Lothar wanted to appropriate one third of the Church revenues.</item>
<item n="4.3">The wives and children of Lothar.</item>
<item n="4.4">The Counts of the Bretons.</item>
<item n="4.5">Saint Gall the Bishop.</item>
<item n="4.6">The priest Cato.</item>
<item> ...</item>
</list> |
| Content model |
<content>
<macroRef key="macro.specialPara"/>
</content>
|
| Schema Declaration |
element item
{
L2_att.global.attributes,
L2_att.sortable.attributes,
L2_macro.specialPara
} |
| <keywords> contains a list of keywords or phrases identifying the topic or nature of a text. [2.4.3. The Text Classification] | |||||||
| Module | header — Level 2: Minimal Encoding | ||||||
| Attributes | Attributes att.global (@xml:id, @n, @xml:lang, @xml:space) (att.global.rendition (@style)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source))
| ||||||
| Contained by | header: textClass | ||||||
| May contain | |||||||
| Note | Each individual keyword (including compound subject headings) should be supplied as a <term> element directly within the <keywords> element. An alternative usage, in which each <term> appears within a <item> inside a <list> is permitted for backwards compatibility, but is deprecated. If no control list exists for the keywords used, then no value should be supplied for the scheme attribute. | ||||||
| Example | <keywords scheme="http://classificationweb.net">
<term>Babbage, Charles</term>
<term>Mathematicians - Great Britain - Biography</term>
</keywords> | ||||||
| Example | <keywords>
<term>Fermented beverages</term>
<term>Central Andes</term>
<term>Schinus molle</term>
<term>Molle beer</term>
<term>Indigenous peoples</term>
<term>Ethnography</term>
<term>Archaeology</term>
</keywords> | ||||||
| Content model |
<content>
<alternate>
<elementRef key="term" minOccurs="1"
maxOccurs="unbounded"/>
<elementRef key="list"/>
</alternate>
</content>
| ||||||
| Schema Declaration |
element keywords
{
L2_att.global.attributes,
attribute scheme { text }?,
( L2_term+ | L2_list )
} | ||||||
| <label> contains any label or heading used to identify part of a text, typically but not exclusively in a list or glossary. [3.7. Lists] | |
| Module | core — Level 2: Minimal Encoding |
| Attributes | Attributes att.global (@xml:id, @n, @xml:lang, @xml:space) (att.global.rendition (@style)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source)) att.typed (@type) att.written (@hand) |
| Member of | |
| Contained by | |
| May contain | |
| Example | Labels are commonly used for the headwords in glossary lists; note the use of the global xml:lang attribute to set the default language of the glossary list to Middle English, and identify the glosses and headings as modern English or Latin: <list type="gloss" xml:lang="enm">
<head xml:lang="en">Vocabulary</head>
<headLabel xml:lang="en">Middle English</headLabel>
<headItem xml:lang="en">New English</headItem>
<label>nu</label>
<item xml:lang="en">now</item>
<label>lhude</label>
<item xml:lang="en">loudly</item>
<label>bloweth</label>
<item xml:lang="en">blooms</item>
<label>med</label>
<item xml:lang="en">meadow</item>
<label>wude</label>
<item xml:lang="en">wood</item>
<label>awe</label>
<item xml:lang="en">ewe</item>
<label>lhouth</label>
<item xml:lang="en">lows</item>
<label>sterteth</label>
<item xml:lang="en">bounds, frisks (cf. <cit>
<ref>Chaucer, K.T.644</ref>
<quote>a courser, <term>sterting</term>as the fyr</quote>
</cit>
</item>
<label>verteth</label>
<item xml:lang="la">pedit</item>
<label>murie</label>
<item xml:lang="en">merrily</item>
<label>swik</label>
<item xml:lang="en">cease</item>
<label>naver</label>
<item xml:lang="en">never</item>
</list> |
| Example | Labels may also be used to record explicitly the numbers or letters which mark list items in ordered lists, as in this extract from Gibbon's Autobiography. In this usage the <label> element is synonymous with the n attribute on the <item> element: I will add two facts, which have seldom occurred
in the composition of six, or at least of five quartos. <list rend="runon" type="ordered">
<label>(1)</label>
<item>My first rough manuscript, without any intermediate copy, has been sent to the press.</item>
<label>(2) </label>
<item>Not a sheet has been seen by any human eyes, excepting those of the author and the
printer: the faults and the merits are exclusively my own.</item>
</list> |
| Example | Labels may also be used for other structured list items, as in this extract from the journal of Edward Gibbon: <list type="gloss">
<label>March 1757.</label>
<item>I wrote some critical observations upon Plautus.</item>
<label>March 8th.</label>
<item>I wrote a long dissertation upon some lines of Virgil.</item>
<label>June.</label>
<item>I saw Mademoiselle Curchod — <quote xml:lang="la">Omnia vincit amor, et nos cedamus
amori.</quote>
</item>
<label>August.</label>
<item>I went to Crassy, and staid two days.</item>
</list> Note that the <label> might also appear within the <item> rather than as its sibling. Though syntactically valid, this usage is not recommended TEI practice. |
| Example | Labels may also be used to represent a label or heading attached to a paragraph or sequence of paragraphs not treated as a structural division, or to a group of verse lines. Note that, in this case, the <label> element appears within the <p> or <lg> element, rather than as a preceding sibling of it. <p>[...]
<lb/>& n’entrer en mauuais & mal-heu-
<lb/>ré meſnage. Or des que le conſente-
<lb/>ment des parties y eſt le mariage eſt
<lb/> arreſté, quoy que de faict il ne ſoit
<label place="margin">Puiſſance maritale
entre les Romains.</label>
<lb/> conſommé. Depuis la conſomma-
<lb/>tion du mariage la femme eſt ſoubs
<lb/> la puiſſance du mary, s’il n’eſt eſcla-
<lb/>ue ou enfant de famille : car en ce
<lb/> cas, la femme, qui a eſpouſé vn en-
<lb/>fant de famille, eſt ſous la puiſſance
[...]</p> In this example the text of the label appears in the right hand margin of the original source, next to the paragraph it describes, but approximately in the middle of it. If so desired the type attribute may be used to distinguish different categories of label. |
| Content model |
<content>
<macroRef key="macro.phraseSeq"/>
</content>
|
| Schema Declaration |
element label
{
L2_att.global.attributes,
L2_att.typed.attributes,
L2_att.written.attributes,
L2_macro.phraseSeq
} |
| <langUsage> (language usage) describes the languages, sublanguages, registers, dialects, etc. represented within a text. [2.4.2. Language Usage 2.4. The Profile Description 15.3.2. Declarable Elements] | |
| Module | header — Level 2: Minimal Encoding |
| Attributes | Attributes att.global (@xml:id, @n, @xml:lang, @xml:space) (att.global.rendition (@style)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source)) |
| Member of | |
| Contained by | header: profileDesc |
| May contain | |
| Example | <langUsage>
<language ident="fr-CA" usage="60">Québecois</language>
<language ident="en-CA" usage="20">Canadian business English</language>
<language ident="en-GB" usage="20">British English</language>
</langUsage> |
| Content model |
<content>
<alternate>
<classRef key="model.pLike" minOccurs="1"
maxOccurs="unbounded"/>
<elementRef key="language" minOccurs="1"
maxOccurs="unbounded"/>
</alternate>
</content>
|
| Schema Declaration |
element langUsage
{
L2_att.global.attributes,
( L2_model.pLike+ | L2_language+ )
} |
| <language> characterizes a single language or sublanguage used within a text. [2.4.2. Language Usage] | |||||||||||||
| Module | header — Level 2: Minimal Encoding | ||||||||||||
| Attributes | Attributes att.global (@xml:id, @n, @xml:lang, @xml:space) (att.global.rendition (@style)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source))
| ||||||||||||
| Contained by | header: langUsage | ||||||||||||
| May contain | |||||||||||||
| Note | Particularly for sublanguages, an informal prose characterization should be supplied as content for the element. | ||||||||||||
| Example | <langUsage>
<language ident="en-US" usage="75">modern American English</language>
<language ident="i-az-Arab" usage="20">Azerbaijani in Arabic script</language>
<language ident="x-lap" usage="05">Pig Latin</language>
</langUsage> | ||||||||||||
| Content model |
<content>
<macroRef key="macro.phraseSeq.limited"/>
</content>
| ||||||||||||
| Schema Declaration |
element language
{
L2_att.global.attributes,
attribute ident { text },
attribute usage { text }?,
L2_macro.phraseSeq.limited
} | ||||||||||||
| <lb> (line beginning) marks the beginning of a new (typographic) line in some edition or version of a text. [3.10.3. Milestone Elements 7.2.5. Speech Contents] | |
| Module | core — Level 2: Minimal Encoding |
| Attributes | Attributes att.global (@xml:id, @n, @xml:lang, @xml:space) (att.global.rendition (@style)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source)) att.typed (@type) att.edition (@ed, @edRef) att.spanning (@spanTo) att.breaking (@break) |
| Member of | |
| Contained by | |
| May contain | Empty element |
| Note | By convention, <lb> elements should appear at the point in the text where a new line starts. The n attribute, if used, indicates the number or other value associated with the text between this point and the next <lb> element, typically the sequence number of the line within the page, or other appropriate unit. This element is intended to be used for marking actual line breaks on a manuscript or printed page, at the point where they occur; it should not be used to tag structural units such as lines of verse (for which the <l> element is available) except in circumstances where structural units cannot otherwise be marked. The type attribute may be used to characterize the line break in any respect. The more specialized attributes break, ed, or edRef should be preferred when the intent is to indicate whether or not the line break is word-breaking, or to note the source from which it derives. |
| Example | This example shows typographical line breaks within metrical lines, where they occur at different places in different editions: <l>Of Mans First Disobedience,<lb ed="1674"/> and<lb ed="1667"/> the Fruit</l>
<l>Of that Forbidden Tree, whose<lb ed="1667 1674"/> mortal tast</l>
<l>Brought Death into the World,<lb ed="1667"/> and all<lb ed="1674"/> our woe,</l> |
| Example | This example encodes typographical line breaks as a means of preserving the visual appearance of a title page. The break attribute is used to show that the line break does not (as elsewhere) mark the start of a new word. <titlePart>
<lb/>With Additions, ne-<lb break="no"/>ver before Printed.
</titlePart> |
| Content model |
<content>
</content>
|
| Schema Declaration |
element lb
{
L2_att.global.attributes,
L2_att.typed.attributes,
L2_att.edition.attributes,
L2_att.spanning.attributes,
L2_att.breaking.attributes,
empty
} |
| <licence> contains information about a licence or other legal agreement applicable to the text. [2.2.4. Publication, Distribution, Licensing, etc.] | |
| Module | header — Level 2: Minimal Encoding |
| Attributes | Attributes att.global (@xml:id, @n, @xml:lang, @xml:space) (att.global.rendition (@style)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source)) att.pointing (@target) att.datable (@calendar, @period) (att.datable.w3c (@when, @notBefore, @notAfter, @from, @to)) (att.datable.custom (@when-custom, @notBefore-custom, @notAfter-custom, @from-custom, @to-custom, @datingPoint, @datingMethod)) |
| Member of | |
| Contained by | header: availability |
| May contain | |
| Note | A <licence> element should be supplied for each licence agreement applicable to the text in question. The target attribute may be used to reference a full version of the licence. The when, notBefore, notAfter, from or to attributes may be used in combination to indicate the date or dates of applicability of the licence. |
| Example | <licence target="http://www.nzetc.org/tm/scholarly/tei-NZETC-Help.html#licensing"> Licence: Creative Commons Attribution-Share Alike 3.0 New Zealand Licence
</licence> |
| Example | <availability>
<licence target="http://creativecommons.org/licenses/by/3.0/"
notBefore="2013-01-01">
<p>The Creative Commons Attribution 3.0 Unported (CC BY 3.0) Licence
applies to this document.</p>
<p>The licence was added on January 1, 2013.</p>
</licence>
</availability> |
| Content model |
<content>
<macroRef key="macro.specialPara"/>
</content>
|
| Schema Declaration |
element licence
{
L2_att.global.attributes,
L2_att.pointing.attributes,
L2_att.datable.attributes,
L2_macro.specialPara
} |
| <line> contains the transcription of a topographic line in the source document [11.2.2. Embedded Transcription] | |
| Module | transcr — Level 2: Minimal Encoding |
| Attributes | Attributes att.typed (@type) att.global (@xml:id, @n, @xml:lang, @xml:space) (att.global.rendition (@style)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source)) att.coordinated (@start, @ulx, @uly, @lrx, @lry, @points) att.written (@hand) |
| Member of | |
| Contained by | |
| May contain | |
| Note | This element should be used only to mark up writing which is topographically organized as a series of lines, horizontal or vertical. It should not be used to mark lines of verse (for which use <l>) nor to mark linebreaks within text which has been encoded using structural elements such as <p> (for which use <lb>). |
| Example | <surface>
<zone>
<line>Poem</line>
<line>As in Visions of — at</line>
<line>night —</line>
<line>All sorts of fancies running through</line>
<line>the head</line>
</zone>
</surface> |
| Example | <surface>
<zone>
<line>Hope you enjoyed</line>
<line>Wales, as they
said</line>
<line>to Mrs FitzHerbert</line>
<line>Mama</line>
</zone>
<zone>
<line>Printed in England</line>
</zone>
</surface> |
| Content model |
<content>
<alternate minOccurs="0"
maxOccurs="unbounded">
<textNode/>
<classRef key="model.global"/>
<classRef key="model.gLike"/>
<classRef key="model.linePart"/>
</alternate>
</content>
|
| Schema Declaration |
element line
{
L2_att.typed.attributes,
L2_att.global.attributes,
L2_att.coordinated.attributes,
L2_att.written.attributes,
( text | L2_model.global | L2_model.gLike | L2_model.linePart )*
} |
| <list> contains any sequence of items organized as a list. [3.7. Lists] | |||||||||||||||
| Module | core — Level 2: Minimal Encoding | ||||||||||||||
| Attributes | Attributes att.global (@xml:id, @n, @xml:lang, @xml:space) (att.global.rendition (@style)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source)) att.sortable (@sortKey)
| ||||||||||||||
| Member of | |||||||||||||||
| Contained by | |||||||||||||||
| May contain | |||||||||||||||
| Note | May contain an optional heading followed by a series of items, or a series of label and item pairs, the latter being optionally preceded by one or two specialized headings. | ||||||||||||||
| Example | <list rend="numbered">
<item>a butcher</item>
<item>a baker</item>
<item>a candlestick maker, with
<list rend="bulleted">
<item>rings on his fingers</item>
<item>bells on his toes</item>
</list>
</item>
</list> | ||||||||||||||
| Example | <list type="syllogism" rend="bulleted">
<item>All Cretans are liars.</item>
<item>Epimenides is a Cretan.</item>
<item>ERGO Epimenides is a liar.</item>
</list> | ||||||||||||||
| Example | <list type="litany" rend="simple">
<item>God save us from drought.</item>
<item>God save us from pestilence.</item>
<item>God save us from wickedness in high places.</item>
<item>Praise be to God.</item>
</list> | ||||||||||||||
| Example | The following example treats the short numbered clauses of Anglo-Saxon legal codes as lists of items. The text is from an ordinance of King Athelstan (924–939): <div1 type="section">
<head>Athelstan's Ordinance</head>
<list rend="numbered">
<item n="1">Concerning thieves. First, that no thief is to be spared who is caught with
the stolen goods, [if he is] over twelve years and [if the value of the goods is] over
eightpence.
<list rend="numbered">
<item n="1.1">And if anyone does spare one, he is to pay for the thief with his
wergild — and the thief is to be no nearer a settlement on that account — or to
clear himself by an oath of that amount.</item>
<item n="1.2">If, however, he [the thief] wishes to defend himself or to escape, he is
not to be spared [whether younger or older than twelve].</item>
<item n="1.3">If a thief is put into prison, he is to be in prison 40 days, and he may
then be redeemed with 120 shillings; and the kindred are to stand surety for him
that he will desist for ever.</item>
<item n="1.4">And if he steals after that, they are to pay for him with his wergild,
or to bring him back there.</item>
<item n="1.5">And if he steals after that, they are to pay for him with his wergild,
whether to the king or to him to whom it rightly belongs; and everyone of those who
supported him is to pay 120 shillings to the king as a fine.</item>
</list>
</item>
<item n="2">Concerning lordless men. And we pronounced about these lordless men, from whom
no justice can be obtained, that one should order their kindred to fetch back such a
person to justice and to find him a lord in public meeting.
<list rend="numbered">
<item n="2.1">And if they then will not, or cannot, produce him on that appointed day,
he is then to be a fugitive afterwards, and he who encounters him is to strike him
down as a thief.</item>
<item n="2.2">And he who harbours him after that, is to pay for him with his wergild
or to clear himself by an oath of that amount.</item>
</list>
</item>
<item n="3">Concerning the refusal of justice. The lord who refuses justice and upholds
his guilty man, so that the king is appealed to, is to repay the value of the goods and
120 shillings to the king; and he who appeals to the king before he demands justice as
often as he ought, is to pay the same fine as the other would have done, if he had
refused him justice.
<list rend="numbered">
<item n="3.1">And the lord who is an accessory to a theft by his slave, and it becomes
known about him, is to forfeit the slave and be liable to his wergild on the first
occasionp if he does it more often, he is to be liable to pay all that he owns.</item>
<item n="3.2">And likewise any of the king's treasurers or of our reeves, who has been
an accessory of thieves who have committed theft, is to liable to the same.</item>
</list>
</item>
<item n="4">Concerning treachery to a lord. And we have pronounced concerning treachery to
a lord, that he [who is accused] is to forfeit his life if he cannot deny it or is
afterwards convicted at the three-fold ordeal.</item>
</list>
</div1> Note that nested lists have been used so the tagging mirrors the structure indicated by the two-level numbering of the clauses. The clauses could have been treated as a one-level list with irregular numbering, if desired. | ||||||||||||||
| Example | <p>These decrees, most blessed Pope Hadrian, we propounded in the public council ... and they
confirmed them in our hand in your stead with the sign of the Holy Cross, and afterwards
inscribed with a careful pen on the paper of this page, affixing thus the sign of the Holy
Cross.
<list rend="simple">
<item>I, Eanbald, by the grace of God archbishop of the holy church of York, have
subscribed to the pious and catholic validity of this document with the sign of the Holy
Cross.</item>
<item>I, Ælfwold, king of the people across the Humber, consenting have subscribed with
the sign of the Holy Cross.</item>
<item>I, Tilberht, prelate of the church of Hexham, rejoicing have subscribed with the
sign of the Holy Cross.</item>
<item>I, Higbald, bishop of the church of Lindisfarne, obeying have subscribed with the
sign of the Holy Cross.</item>
<item>I, Ethelbert, bishop of Candida Casa, suppliant, have subscribed with thef sign of
the Holy Cross.</item>
<item>I, Ealdwulf, bishop of the church of Mayo, have subscribed with devout will.</item>
<item>I, Æthelwine, bishop, have subscribed through delegates.</item>
<item>I, Sicga, patrician, have subscribed with serene mind with the sign of the Holy
Cross.</item>
</list>
</p> | ||||||||||||||
| Schematron |
<sch:rule context="tei:list[@type='gloss']">
<sch:assert test="tei:label">The content of a "gloss" list should include a sequence of one or more pairs of a label element followed by an item element</sch:assert>
</sch:rule> | ||||||||||||||
| Content model |
<content>
<sequence>
<alternate minOccurs="0"
maxOccurs="unbounded">
<classRef key="model.divTop"/>
<classRef key="model.global"/>
</alternate>
<alternate>
<sequence minOccurs="1"
maxOccurs="unbounded">
<elementRef key="item"/>
<classRef key="model.global"
minOccurs="0" maxOccurs="unbounded"/>
</sequence>
<sequence>
<elementRef key="headLabel"
minOccurs="0"/>
<elementRef key="headItem"
minOccurs="0"/>
<sequence minOccurs="1"
maxOccurs="unbounded">
<elementRef key="label"/>
<classRef key="model.global"
minOccurs="0" maxOccurs="unbounded"/>
<elementRef key="item"/>
<classRef key="model.global"
minOccurs="0" maxOccurs="unbounded"/>
</sequence>
</sequence>
</alternate>
<sequence minOccurs="0"
maxOccurs="unbounded">
<classRef key="model.divBottom"/>
<classRef key="model.global"
minOccurs="0" maxOccurs="unbounded"/>
</sequence>
</sequence>
</content>
| ||||||||||||||
| Schema Declaration |
element list
{
L2_att.global.attributes,
L2_att.sortable.attributes,
attribute type
{
"gloss" | "index" | "instructions" | "litany" | "syllogism"
}?,
(
( L2_model.divTop | L2_model.global )*,
(
( L2_item, L2_model.global* )+
| (
headLabel?,
headItem?,
( L2_label, L2_model.global*, L2_item, L2_model.global* )+
)
),
( model.divBottom, L2_model.global* )*
)
} | ||||||||||||||
| <listPrefixDef> (list of prefix definitions) contains a list of definitions of prefixing schemes used in data.pointer values, showing how abbreviated URIs using each scheme may be expanded into full URIs. [16.2.3. Using Abbreviated Pointers] | |
| Module | header — Level 2: Minimal Encoding |
| Attributes | Attributes att.global (@xml:id, @n, @xml:lang, @xml:space) (att.global.rendition (@style)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source)) |
| Contained by | header: encodingDesc listPrefixDef |
| May contain | derived-module-bptl-L2: prefixDef header: listPrefixDef prefixDef |
| Example | In this example, two private URI scheme prefixes are defined and patterns are provided for dereferencing them. Each prefix is also supplied with a human-readable explanation in a <p> element. <listPrefixDef>
<prefixDef ident="psn"
matchPattern="([A-Z]+)"
replacementPattern="personography.xml#$1">
<p> Private URIs using the <code>psn</code>
prefix are pointers to <gi>person</gi>
elements in the personography.xml file.
For example, <code>psn:MDH</code>
dereferences to <code>personography.xml#MDH</code>.
</p>
</prefixDef>
<prefixDef ident="bibl"
matchPattern="([a-z]+[a-z0-9]*)"
replacementPattern="http://www.example.com/getBibl.xql?id=$1">
<p> Private URIs using the <code>bibl</code> prefix can be
expanded to form URIs which retrieve the relevant
bibliographical reference from www.example.com.
</p>
</prefixDef>
</listPrefixDef> |
| Content model |
<content>
<elementRef key="BPTL.required.prefixDef"/>
<alternate minOccurs="0"
maxOccurs="unbounded">
<elementRef key="prefixDef"/>
<elementRef key="listPrefixDef"/>
</alternate>
</content>
|
| Schema Declaration |
element listPrefixDef
{
L2_att.global.attributes,
L2_BPTL.required.prefixDef,
( L2_prefixDef | L2_listPrefixDef )*
} |
| <media> indicates the location of any form of external media such as an audio or video clip etc. [3.9. Graphics and Other Non-textual Components] | |||||||||
| Module | core — Level 2: Minimal Encoding | ||||||||
| Attributes | Attributes att.typed (@type) att.global (@xml:id, @n, @xml:lang, @xml:space) (att.global.rendition (@style)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source)) att.resourced (@url) att.timed (@start, @end) att.media (@width, @height, @scale)
| ||||||||
| Member of | |||||||||
| Contained by | |||||||||
| May contain | Empty element | ||||||||
| Note | The attributes available for this element are not appropriate in all cases. For example, it makes no sense to specify the temporal duration of a graphic. Such errors are not currently detected. The mimeType attribute must be used to specify the MIME media type of the resource specified by the url attribute. | ||||||||
| Example | <figure>
<media mimeType="image/png" url="fig1.png"/>
<head>Figure One: The View from the Bridge</head>
<figDesc>A Whistleresque view showing four or five sailing boats in the foreground, and a
series of buoys strung out between them.</figDesc>
</figure> | ||||||||
| Example | <media mimeType="audio/wav"
url="dingDong.wav" dur="PT10S">
<desc>Ten seconds of bellringing sound</desc>
</media> | ||||||||
| Example | <media mimeType="video/mp4"
url="clip45.mp4" dur="PT45M" width="500px">
<desc>A 45 minute video clip to be displayed in a window 500
px wide</desc>
</media> | ||||||||
| Content model |
<content>
<classRef key="model.descLike"
minOccurs="0" maxOccurs="unbounded"/>
</content>
| ||||||||
| Schema Declaration |
element media
{
L2_att.typed.attributes,
L2_att.global.attributes,
L2_att.media.attribute.width,
L2_att.media.attribute.height,
L2_att.media.attribute.scale,
L2_att.resourced.attributes,
L2_att.timed.attributes,
attribute mimeType { list { + } },
L2_model.descLike*
} | ||||||||
| <monogr> (monographic level) contains bibliographic elements describing an item (e.g. a book or journal) published as an independent item (i.e. as a separate physical object). [3.11.2.1. Analytic, Monographic, and Series Levels] | |
| Module | core — Level 2: Minimal Encoding |
| Attributes | Attributes att.global (@xml:id, @n, @xml:lang, @xml:space) (att.global.rendition (@style)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source)) |
| Contained by | core: biblStruct |
| May contain | |
| Note | May contain specialized bibliographic elements, in a prescribed order. The <monogr> element may only occur only within a <biblStruct>, where its use is mandatory for the description of a monographic-level bibliographic item. |
| Example | <biblStruct>
<analytic>
<author>Chesnutt, David</author>
<title>Historical Editions in the States</title>
</analytic>
<monogr>
<title level="j">Computers and the Humanities</title>
<imprint>
<date when="1991-12">(December, 1991):</date>
</imprint>
<biblScope>25.6</biblScope>
<biblScope unit="page" from="377" to="380">377–380</biblScope>
</monogr>
</biblStruct> |
| Example | <biblStruct type="book">
<monogr>
<author>
<persName>
<forename>Leo Joachim</forename>
<surname>Frachtenberg</surname>
</persName>
</author>
<title type="main" level="m">Lower Umpqua Texts</title>
<imprint>
<pubPlace>New York</pubPlace>
<publisher>Columbia University Press</publisher>
<date>1914</date>
</imprint>
</monogr>
<series>
<title type="main" level="s">Columbia University Contributions to
Anthropology</title>
<biblScope unit="volume">4</biblScope>
</series>
</biblStruct> |
| Content model |
<content>
<sequence>
<alternate minOccurs="0">
<sequence>
<alternate>
<elementRef key="author"/>
<elementRef key="editor"/>
<elementRef key="meeting"/>
<elementRef key="respStmt"/>
</alternate>
<alternate minOccurs="0"
maxOccurs="unbounded">
<elementRef key="author"/>
<elementRef key="editor"/>
<elementRef key="meeting"/>
<elementRef key="respStmt"/>
</alternate>
<elementRef key="title" minOccurs="1"
maxOccurs="unbounded"/>
<alternate minOccurs="0"
maxOccurs="unbounded">
<classRef key="model.ptrLike"/>
<elementRef key="idno"/>
<elementRef key="textLang"/>
<elementRef key="editor"/>
<elementRef key="respStmt"/>
</alternate>
</sequence>
<sequence>
<alternate minOccurs="1"
maxOccurs="unbounded">
<elementRef key="title"/>
<classRef key="model.ptrLike"/>
<elementRef key="idno"/>
</alternate>
<alternate minOccurs="0"
maxOccurs="unbounded">
<elementRef key="textLang"/>
<elementRef key="author"/>
<elementRef key="editor"/>
<elementRef key="meeting"/>
<elementRef key="respStmt"/>
</alternate>
</sequence>
<sequence>
<elementRef key="authority"/>
<elementRef key="idno"/>
</sequence>
</alternate>
<elementRef key="availability"
minOccurs="0" maxOccurs="unbounded"/>
<classRef key="model.noteLike"
minOccurs="0" maxOccurs="unbounded"/>
<sequence minOccurs="0"
maxOccurs="unbounded">
<elementRef key="edition"/>
<alternate minOccurs="0"
maxOccurs="unbounded">
<elementRef key="idno"/>
<classRef key="model.ptrLike"/>
<elementRef key="editor"/>
<elementRef key="sponsor"/>
<elementRef key="funder"/>
<elementRef key="respStmt"/>
</alternate>
</sequence>
<elementRef key="imprint"/>
<alternate minOccurs="0"
maxOccurs="unbounded">
<elementRef key="imprint"/>
<elementRef key="extent"/>
<elementRef key="biblScope"/>
</alternate>
</sequence>
</content>
|
| Schema Declaration |
element monogr
{
L2_att.global.attributes,
(
(
(
( L2_author | L2_editor | meeting | L2_respStmt ),
( L2_author | L2_editor | meeting | L2_respStmt )*,
L2_title+,
(
L2_model.ptrLike
| L2_idno
| L2_textLang
| L2_editor
| L2_respStmt
)*
)
| (
( L2_title | L2_model.ptrLike | L2_idno )+,
( L2_textLang | L2_author | L2_editor | meeting | L2_respStmt )*
)
| ( authority, L2_idno )
)?,
L2_availability*,
L2_model.noteLike*,
(
L2_edition,
(
L2_idno
| L2_model.ptrLike
| L2_editor
| sponsor
| funder
| L2_respStmt
)*
)*,
L2_imprint,
( L2_imprint | L2_extent | L2_biblScope )*
)
} |
| <name> (name, proper noun) contains a proper noun or noun phrase. [3.5.1. Referring Strings] | |
| Module | core — Level 2: Minimal Encoding |
| Attributes | Attributes att.global (@xml:id, @n, @xml:lang, @xml:space) (att.global.rendition (@style)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source)) att.personal (@full, @sort) att.datable (@calendar, @period) (att.datable.w3c (@when, @notBefore, @notAfter, @from, @to)) (att.datable.custom (@when-custom, @notBefore-custom, @notAfter-custom, @from-custom, @to-custom, @datingPoint, @datingMethod)) att.typed (@type) |
| Member of | |
| Contained by | |
| May contain | |
| Note | Proper nouns referring to people, places, and organizations may be tagged instead with <persName>, <placeName>, or <orgName>, when the TEI module for names and dates is included. |
| Example | <name type="person">Thomas Hoccleve</name>
<name type="place">Villingaholt</name>
<name type="org">Vetus Latina Institut</name>
<name type="person" ref="#HOC001">Occleve</name> |
| Content model |
<content>
<macroRef key="macro.phraseSeq"/>
</content>
|
| Schema Declaration |
element name
{
L2_att.global.attributes,
L2_att.personal.attributes,
L2_att.datable.attributes,
L2_att.typed.attributes,
L2_macro.phraseSeq
} |
| <namespace> supplies the formal name of the namespace to which the elements documented by its children belong. [2.3.4. The Tagging Declaration] | |||||||
| Module | header — Level 2: Minimal Encoding | ||||||
| Attributes | Attributes att.global (@xml:id, @n, @xml:lang, @xml:space) (att.global.rendition (@style)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source))
| ||||||
| Contained by | header: tagsDecl | ||||||
| May contain | header: tagUsage | ||||||
| Example | <namespace name="http://www.tei-c.org/ns/1.0">
<tagUsage gi="hi" occurs="28" withId="2"> Used only to mark English words
italicized in the copy text </tagUsage>
</namespace> | ||||||
| Content model |
<content>
<elementRef key="tagUsage"/>
</content>
| ||||||
| Schema Declaration |
element namespace
{
L2_att.global.attributes,
attribute name { text },
L2_tagUsage
} | ||||||
| <normalization> indicates the extent of normalization or regularization of the original source carried out in converting it to electronic form. [2.3.3. The Editorial Practices Declaration 15.3.2. Declarable Elements] | |||||||||
| Module | header — Level 2: Minimal Encoding | ||||||||
| Attributes | Attributes att.global (@xml:id, @n, @xml:lang, @xml:space) (att.global.rendition (@style)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source))
| ||||||||
| Contained by | header: editorialDecl | ||||||||
| May contain | |||||||||
| Example | <editorialDecl>
<normalization method="markup">
<p>Where both upper- and lower-case i, j, u, v, and vv have been normalized, to modern
20th century typographical practice, the <gi>choice</gi> element has been used to
enclose <gi>orig</gi> and <gi>reg</gi> elements giving the original and new values
respectively. ... </p>
</normalization>
<normalization method="silent">
<p>Spacing between words and following punctuation has been regularized to zero spaces;
spacing between words has been regularized to one space.</p>
</normalization>
<normalization source="http://www.dict.sztaki.hu/webster">
<p>Spelling converted throughout to Modern American usage, based on Websters 9th
Collegiate dictionary.</p>
</normalization>
</editorialDecl> | ||||||||
| Content model |
<content>
<classRef key="model.pLike" minOccurs="1"
maxOccurs="unbounded"/>
</content>
| ||||||||
| Schema Declaration |
element normalization
{
L2_att.global.attributes,
attribute method { "silent" | "markup" }?,
L2_model.pLike+
} | ||||||||
| <note> contains a note or annotation. [3.8.1. Notes and Simple Annotation 2.2.6. The Notes Statement 3.11.2.8. Notes and Statement of Language 9.3.5.4. Notes within Entries] | |
| Module | core — Level 2: Minimal Encoding |
| Attributes | Attributes att.global (@xml:id, @n, @xml:lang, @xml:space) (att.global.rendition (@style)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source)) att.typed (@type) att.written (@hand) |
| Member of | |
| Contained by | core: biblStruct monogr header: notesStmt |
| May contain | |
| Example | In the following example, the translator has supplied a footnote containing an explanation of the term translated as "painterly": And yet it is not only
in the great line of Italian renaissance art, but even in the
painterly <note place="bottom" type="gloss"
resp="#MDMH">
<term xml:lang="de">Malerisch</term>. This word has, in the German, two
distinct meanings, one objective, a quality residing in the object,
the other subjective, a mode of apprehension and creation. To avoid
confusion, they have been distinguished in English as
<mentioned>picturesque</mentioned> and
<mentioned>painterly</mentioned> respectively.
</note> style of the
Dutch genre painters of the seventeenth century that drapery has this
psychological significance.
<!-- elsewhere in the document -->
<respStmt xml:id="MDMH">
<resp>translation from German to English</resp>
<name>Hottinger, Marie Donald Mackie</name>
</respStmt> For this example to be valid, the code MDMH must be defined elsewhere, for example by means of a responsibility statement in the associated TEI header. |
| Example | The global n attribute may be used to supply the symbol or number used to mark the note's point of attachment in the source text, as in the following example: Mevorakh b. Saadya's mother, the matriarch of the
family during the second half of the eleventh century, <note n="126" anchored="true"> The
alleged mention of Judah Nagid's mother in a letter from 1071 is, in fact, a reference to
Judah's children; cf. above, nn. 111 and 54. </note> is well known from Geniza documents
published by Jacob Mann. However, if notes are numbered in sequence and their numbering can be reconstructed automatically by processing software, it may well be considered unnecessary to record the note numbers. |
| Content model |
<content>
<macroRef key="macro.specialPara"/>
</content>
|
| Schema Declaration |
element note
{
L2_att.global.attributes,
L2_att.typed.attributes,
L2_att.written.attributes,
L2_macro.specialPara
} |
| <notesStmt> (notes statement) collects together any notes providing information about a text additional to that recorded in other parts of the bibliographic description. [2.2.6. The Notes Statement 2.2. The File Description] | |
| Module | header — Level 2: Minimal Encoding |
| Attributes | Attributes att.global (@xml:id, @n, @xml:lang, @xml:space) (att.global.rendition (@style)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source)) |
| Contained by | header: fileDesc |
| May contain | core: note |
| Note | Information of different kinds should not be grouped together into the same note. |
| Example | <notesStmt>
<note>Historical commentary provided by Mark Cohen</note>
<note>OCR scanning done at University of Toronto</note>
</notesStmt> |
| Content model |
<content>
<classRef minOccurs="1"
maxOccurs="unbounded" key="model.noteLike"/>
</content>
|
| Schema Declaration |
element notesStmt { L2_att.global.attributes, L2_model.noteLike+ } |
| <orgName> (organization name) contains an organizational name. [13.2.2. Organizational Names] | |
| Module | namesdates — Level 2: Minimal Encoding |
| Attributes | Attributes att.global (@xml:id, @n, @xml:lang, @xml:space) (att.global.rendition (@style)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source)) att.personal (@full, @sort) att.typed (@type) |
| Member of | |
| Contained by | |
| May contain | |
| Example | About a year back, a question of considerable interest was agitated in the <orgName key="PAS1" type="voluntary">
<placeName key="PEN">Pennsyla.</placeName> Abolition Society
</orgName> [...] |
| Content model |
<content>
<macroRef key="macro.phraseSeq"/>
</content>
|
| Schema Declaration |
element orgName
{
L2_att.global.attributes,
L2_att.personal.attributes,
L2_att.typed.attributes,
L2_macro.phraseSeq
} |
| <p> (paragraph) marks paragraphs in prose. [3.1. Paragraphs 7.2.5. Speech Contents] | |
| Module | core — Level 2: Minimal Encoding |
| Attributes | Attributes att.global (@xml:id, @n, @xml:lang, @xml:space) (att.global.rendition (@style)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source)) att.fragmentable (@part) att.written (@hand) |
| Member of | |
| Contained by | |
| May contain | |
| Example | <p>Hallgerd was outside. <q>There is blood on your axe,</q> she said. <q>What have you
done?</q>
</p>
<p>
<q>I have now arranged that you can be married a second time,</q> replied Thjostolf.
</p>
<p>
<q>Then you must mean that Thorvald is dead,</q> she said.
</p>
<p>
<q>Yes,</q> said Thjostolf. <q>And now you must think up some plan for me.</q>
</p> |
| Schematron |
<s:report test="not(ancestor::tei:floatingText) and (ancestor::tei:p or ancestor::tei:ab)
and not(parent::tei:exemplum |parent::tei:item |parent::tei:note |parent::tei:q
|parent::tei:quote |parent::tei:remarks |parent::tei:said |parent::tei:sp
|parent::tei:stage |parent::tei:cell |parent::tei:figure )"> Abstract model violation: Paragraphs may not occur inside other paragraphs or ab elements.
</s:report> |
| Schematron |
<s:report test="ancestor::tei:l[not(.//tei:note//tei:p[. = current()])]"> Abstract model violation: Lines may not contain higher-level structural elements such as div, p, or ab.
</s:report> |
| Content model |
<content>
<macroRef key="macro.paraContent"/>
</content>
|
| Schema Declaration |
element p
{
L2_att.global.attributes,
L2_att.fragmentable.attributes,
L2_att.written.attributes,
L2_macro.paraContent
} |
| <pb> (page beginning) marks the beginning of a new page in a paginated document. [3.10.3. Milestone Elements] | |
| Module | core — Level 2: Minimal Encoding |
| Attributes | Attributes att.global (@xml:id, @n, @xml:lang, @xml:space) (att.global.rendition (@style)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source)) att.typed (@type) att.spanning (@spanTo) att.breaking (@break) att.edition (ed, @edRef) |
| Member of | |
| Contained by | |
| May contain | Empty element |
| Note | A <pb> element should appear at the start of the page which it identifies. The global n attribute indicates the number or other value associated with this page. This will normally be the page number or signature printed on it, since the physical sequence number is implicit in the presence of the <pb> element itself. The type attribute may be used to characterize the page break in any respect. The more specialized attributes break, ed, or edRef should be preferred when the intent is to indicate whether or not the page break is word-breaking, or to note the source from which it derives. |
| Example | Page numbers may vary in different editions of a text. <p> ... <pb n="145" ed="ed2"/>
<!-- Page 145 in edition "ed2" starts here --> ... <pb n="283" ed="ed1"/>
<!-- Page 283 in edition "ed1" starts here--> ... </p> |
| Example | A page break may be associated with a facsimile image of the page it introduces by means of the facs attribute <body>
<pb n="1" facs="page1.png"/>
<!-- page1.png contains an image of the page;
the text it contains is encoded here -->
<p>
<!-- ... -->
</p>
<pb n="2" facs="page2.png"/>
<!-- similarly, for page 2 -->
<p>
<!-- ... -->
</p>
</body> |
| Content model |
<content/>
|
| Schema Declaration |
element pb
{
L2_att.global.attributes,
L2_att.typed.attributes,
L2_att.edition.attribute.edRef,
L2_att.spanning.attributes,
L2_att.breaking.attributes,
empty
} |
| <persName> (personal name) contains a proper noun or proper-noun phrase referring to a person, possibly including one or more of the person's forenames, surnames, honorifics, added names, etc. [13.2.1. Personal Names] | |
| Module | namesdates — Level 2: Minimal Encoding |
| Attributes | Attributes att.global (@xml:id, @n, @xml:lang, @xml:space) (att.global.rendition (@style)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source)) att.personal (@full, @sort) att.typed (@type) |
| Member of | |
| Contained by | |
| May contain | |
| Example | <persName>
<forename>Edward</forename>
<forename>George</forename>
<surname type="linked">Bulwer-Lytton</surname>, <roleName>Baron Lytton of
<placeName>Knebworth</placeName>
</roleName>
</persName> |
| Content model |
<content>
<macroRef key="macro.phraseSeq"/>
</content>
|
| Schema Declaration |
element persName
{
L2_att.global.attributes,
L2_att.personal.attributes,
L2_att.typed.attributes,
L2_macro.phraseSeq
} |
| <postBox> (postal box or post office box) contains a number or other identifier for some postal delivery point other than a street address. [3.5.2. Addresses] | |
| Module | core — Level 2: Minimal Encoding |
| Attributes | Attributes att.global (@xml:id, @n, @xml:lang, @xml:space) (att.global.rendition (@style)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source)) |
| Member of | |
| Contained by | core: address |
| May contain | Character data only |
| Note | The position and nature of postal codes is highly country-specific; the conventions appropriate to the country concerned should be used. |
| Example | <postBox>P.O. Box 280</postBox> |
| Example | <postBox>Postbus 532</postBox> |
| Content model |
<content>
<textNode/>
</content>
|
| Schema Declaration |
element postBox { L2_att.global.attributes, text } |
| <postCode> (postal code) contains a numerical or alphanumeric code used as part of a postal address to simplify sorting or delivery of mail. [3.5.2. Addresses] | |
| Module | core — Level 2: Minimal Encoding |
| Attributes | Attributes att.global (@xml:id, @n, @xml:lang, @xml:space) (att.global.rendition (@style)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source)) |
| Member of | |
| Contained by | core: address |
| May contain | Character data only |
| Note | The position and nature of postal codes is highly country-specific; the conventions appropriate to the country concerned should be used. |
| Example | <postCode>HR1 3LR</postCode> |
| Example | <postCode>60142-7</postCode> |
| Content model |
<content>
<textNode/>
</content>
|
| Schema Declaration |
element postCode { L2_att.global.attributes, text } |
| <prefixDef> (prefix definition) defines a prefixing scheme used in data.pointer values, showing how abbreviated URIs using the scheme may be expanded into full URIs. [16.2.3. Using Abbreviated Pointers] | |||||||||
| Module | header — Level 2: Minimal Encoding | ||||||||
| Attributes | Attributes att.global (@xml:id, @n, @xml:lang, @xml:space) (att.global.rendition (@style)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source)) att.patternReplacement (@matchPattern, @replacementPattern)
| ||||||||
| Contained by | header: listPrefixDef | ||||||||
| May contain | |||||||||
| Note | The abbreviated pointer may be dereferenced to produce either an absolute or a relative URI reference. In the latter case it is combined with the value of xml:base in force at the place where the pointing attribute occurs to form an absolute URI in the usual manner as prescribed by XML Base. | ||||||||
| Example | <prefixDef ident="ref"
matchPattern="([a-z]+)"
replacementPattern="../../references/references.xml#$1">
<p> In the context of this project, private URIs with
the prefix "ref" point to <gi>div</gi> elements in
the project's global references.xml file.
</p>
</prefixDef> | ||||||||
| Content model |
<content>
<classRef key="model.pLike" minOccurs="0"
maxOccurs="unbounded"/>
</content>
| ||||||||
| Schema Declaration |
element prefixDef
{
L2_att.global.attributes,
L2_att.patternReplacement.attributes,
attribute ident { text },
L2_model.pLike*
} | ||||||||
| <profileDesc> (text-profile description) provides a detailed description of non-bibliographic aspects of a text, specifically the languages and sublanguages used, the situation in which it was produced, the participants and their setting. [2.4. The Profile Description 2.1.1. The TEI Header and Its Components] | |
| Module | header — Level 2: Minimal Encoding |
| Attributes | Attributes att.global (@xml:id, @n, @xml:lang, @xml:space) (att.global.rendition (@style)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source)) |
| Contained by | header: teiHeader |
| May contain | |
| Note | Although the content model permits it, it is rarely meaningful to supply multiple occurrences for any of the child elements of <profileDesc> unless these are documenting multiple texts. |
| Example | <profileDesc>
<langUsage>
<language ident="fr">French</language>
</langUsage>
<textDesc n="novel">
<channel mode="w">print; part issues</channel>
<constitution type="single"/>
<derivation type="original"/>
<domain type="art"/>
<factuality type="fiction"/>
<interaction type="none"/>
<preparedness type="prepared"/>
<purpose type="entertain" degree="high"/>
<purpose type="inform" degree="medium"/>
</textDesc>
<settingDesc>
<setting>
<name>Paris, France</name>
<time>Late 19th century</time>
</setting>
</settingDesc>
</profileDesc> |
| Content model |
<content>
<classRef key="model.profileDescPart"
minOccurs="0" maxOccurs="unbounded"/>
</content>
|
| Schema Declaration |
element profileDesc { L2_att.global.attributes, L2_model.profileDescPart* } |
| <projectDesc> (project description) describes in detail the aim or purpose for which an electronic file was encoded, together with any other relevant information concerning the process by which it was assembled or collected. [2.3.1. The Project Description 2.3. The Encoding Description 15.3.2. Declarable Elements] | |
| Module | header — Level 2: Minimal Encoding |
| Attributes | Attributes att.global (@xml:id, @n, @xml:lang, @xml:space) (att.global.rendition (@style)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source)) |
| Contained by | header: encodingDesc |
| May contain | |
| Example | <projectDesc>
<p>Texts collected for use in the Claremont Shakespeare Clinic, June 1990</p>
</projectDesc> |
| Content model |
<content>
<classRef key="model.pLike" minOccurs="1"
maxOccurs="unbounded"/>
</content>
|
| Schema Declaration |
element projectDesc { L2_att.global.attributes, L2_model.pLike+ } |
| <ptr> (pointer) defines a pointer to another location. [3.6. Simple Links and Cross-References 16.1. Links] | |
| Module | core — Level 2: Minimal Encoding |
| Attributes | Attributes att.global (@xml:id, @n, @xml:lang, @xml:space) (att.global.rendition (@style)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source)) att.pointing (@target) att.internetMedia (@mimeType) att.typed (@type) |
| Member of | |
| Contained by | core: abbr addrLine analytic author bibl biblScope biblStruct cit citedRange date editor email emph expan foreign gloss head item label monogr name note p pubPlace publisher q ref resp series street term textLang title |
| May contain | Empty element |
| Example | <ptr target="#p143 #p144"/>
<ptr target="http://www.tei-c.org"/>
<ptr cRef="1.3.4"/> |
| Schematron |
<s:report test="@target and @cRef">Only one of the
attributes @target and @cRef may be supplied on <s:name/>.</s:report> |
| Content model |
<content/>
|
| Schema Declaration |
element ptr
{
L2_att.global.attributes,
L2_att.pointing.attributes,
L2_att.internetMedia.attributes,
L2_att.typed.attributes,
empty
} |
| <pubPlace> (publication place) contains the name of the place where a bibliographic item was published. [3.11.2.4. Imprint, Size of a Document, and Reprint Information] | |
| Module | core — Level 2: Minimal Encoding |
| Attributes | Attributes att.global (@xml:id, @n, @xml:lang, @xml:space) (att.global.rendition (@style)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source)) |
| Member of | |
| Contained by | header: publicationStmt |
| May contain | |
| Example | <publicationStmt>
<publisher>Oxford University Press</publisher>
<pubPlace>Oxford</pubPlace>
<date>1989</date>
</publicationStmt> |
| Content model |
<content>
<macroRef key="macro.phraseSeq"/>
</content>
|
| Schema Declaration |
element pubPlace { L2_att.global.attributes, L2_macro.phraseSeq } |
| <publicationStmt> (publication statement) groups information concerning the publication or distribution of an electronic or other text. [2.2.4. Publication, Distribution, Licensing, etc. 2.2. The File Description] | |
| Module | header — Level 2: Minimal Encoding |
| Attributes | Attributes att.global (@xml:id, @n, @xml:lang, @xml:space) (att.global.rendition (@style)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source)) |
| Contained by | header: fileDesc |
| May contain | |
| Note | For normally published items, the specialized children elements (e.g. <publisher>) should be used. Paragraphs are permitted as an alternative for unusual cases like unpublished works. |
| Example | <publicationStmt>
<publisher>C. Muquardt </publisher>
<pubPlace>Bruxelles & Leipzig</pubPlace>
<date when="1846"/>
</publicationStmt> |
| Example | <publicationStmt>
<publisher>Chadwyck Healey</publisher>
<pubPlace>Cambridge</pubPlace>
<availability>
<p>Available under licence only</p>
</availability>
<date when="1992">1992</date>
</publicationStmt> |
| Example | <publicationStmt>
<publisher>Zea Books</publisher>
<pubPlace>Lincoln, NE</pubPlace>
<date>2017</date>
<availability>
<p>This is an open access work licensed under a Creative Commons Attribution 4.0 International license.</p>
</availability>
<ptr target="http://digitalcommons.unl.edu/zeabook/55"/>
</publicationStmt> |
| Schematron |
<s:report role="warning" test="child::tei:p">Use of
specialized child elements of the publication
statement (rather than paragraphs) is recommended
whenever possible</s:report> |
| Schematron |
<s:rule context="tei:publicationStmt/tei:date">
<s:assert test="@when">Dates inside the
publication statement should have @when
(and should not have content)</s:assert>
<s:report test="string-length( normalize-space(.) ) > 0">Dates
inside the publication statement should
not have content (and should have
@when)</s:report>
</s:rule> |
| Content model |
<content>
<alternate minOccurs="1" maxOccurs="1">
<sequence minOccurs="1"
maxOccurs="unbounded">
<classRef key="model.publicationStmtPart.agency"/>
<classRef key="model.publicationStmtPart.detail"
minOccurs="0" maxOccurs="unbounded"/>
</sequence>
<classRef key="model.pLike" minOccurs="1"
maxOccurs="unbounded"/>
</alternate>
</content>
|
| Schema Declaration |
element publicationStmt
{
L2_att.global.attributes,
(
(
L2_model.publicationStmtPart.agency,
L2_model.publicationStmtPart.detail*
)+
| L2_model.pLike+
)
} |
| <publisher> provides the name of the organization responsible for the publication or distribution of a bibliographic item. [3.11.2.4. Imprint, Size of a Document, and Reprint Information 2.2.4. Publication, Distribution, Licensing, etc.] | |
| Module | core — Level 2: Minimal Encoding |
| Attributes | Attributes att.global (@xml:id, @n, @xml:lang, @xml:space) (att.global.rendition (@style)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source)) |
| Member of | |
| Contained by | header: publicationStmt |
| May contain | |
| Note | Use the full form of the name by which a company is usually referred to, rather than any abbreviation of it which may appear on a title page |
| Example | <imprint>
<pubPlace>Oxford</pubPlace>
<publisher>Clarendon Press</publisher>
<date>1987</date>
</imprint> |
| Content model |
<content>
<macroRef key="macro.phraseSeq"/>
</content>
|
| Schema Declaration |
element publisher { L2_att.global.attributes, L2_macro.phraseSeq } |
| <punctuation> specifies editorial practice adopted with respect to punctuation marks in the original. [2.3.3. The Editorial Practices Declaration 3.2. Treatment of Punctuation] | |||||||||||||||||
| Module | header — Level 2: Minimal Encoding | ||||||||||||||||
| Attributes | Attributes att.global (@xml:id, @n, @xml:lang, @xml:space) (att.global.rendition (@style)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source))
| ||||||||||||||||
| Contained by | header: editorialDecl | ||||||||||||||||
| May contain | |||||||||||||||||
| Example | <punctuation marks="all"
placement="internal">
<p>All punctuation marks in the source text have been retained and represented using the
appropriate Unicode code point. In cases where a punctuation mark and nearby markup convey
the same information (for example, a sentence ends with a question mark and is also tagged
as <gi>s</gi>) the punctuation mark is captured as content within the element.</p>
</punctuation> | ||||||||||||||||
| Example | External placement of punctuation: <p>I would agree with Saint Augustine that “<quote>An unjust law is no law at all</quote>.”</p> | ||||||||||||||||
| Example | Internal placement of punctuation: <p>I would agree with Saint Augustine that <quote>“An unjust law is no law at all.”</quote>
</p> | ||||||||||||||||
| Content model |
<content>
<classRef key="model.pLike" minOccurs="0"
maxOccurs="unbounded"/>
</content>
| ||||||||||||||||
| Schema Declaration |
element punctuation
{
L2_att.global.attributes,
attribute marks { "none" | "some" | "all" }?,
attribute placement { "internal" | "external" }?,
L2_model.pLike*
} | ||||||||||||||||
| <q> (quoted) contains material which is distinguished from the surrounding text using quotation marks or a similar method, for any one of a variety of reasons including, but not limited to: direct speech or thought, technical terms or jargon, authorial distance, quotations from elsewhere, and passages that are mentioned but not used. [3.3.3. Quotation] | |||||||||
| Module | core — Level 2: Minimal Encoding | ||||||||
| Attributes | Attributes att.global (@xml:id, @n, @xml:lang, @xml:space) (att.global.rendition (@style)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source)) att.ascribed (@who)
| ||||||||
| Member of | |||||||||
| Contained by | |||||||||
| May contain | |||||||||
| Note | May be used to indicate that a passage is distinguished from the surrounding text for reasons concerning which no claim is made. When used in this manner, <q> may be thought of as syntactic sugar for <hi> with a value of rend that indicates the use of such mechanisms as quotation marks. | ||||||||
| Example | It is spelled <q>Tübingen</q> — to enter the
letter <q>u</q> with an umlaut hold down the <q>option</q> key and press
<q>0 0 f c</q> | ||||||||
| Content model |
<content>
<macroRef key="macro.specialPara"/>
</content>
| ||||||||
| Schema Declaration |
element q
{
L2_att.global.attributes,
L2_att.ascribed.attributes,
attribute type
{
"spoken"
| "thought"
| "written"
| "soCalled"
| "foreign"
| "distinct"
| "term"
| "emph"
| "mentioned"
}?,
L2_macro.specialPara
} | ||||||||
| <quotation> specifies editorial practice adopted with respect to quotation marks in the original. [2.3.3. The Editorial Practices Declaration 15.3.2. Declarable Elements] | |||||||||
| Module | header — Level 2: Minimal Encoding | ||||||||
| Attributes | Attributes att.global (@xml:id, @n, @xml:lang, @xml:space) (att.global.rendition (@style)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source))
| ||||||||
| Contained by | header: editorialDecl | ||||||||
| May contain | |||||||||
| Example | <quotation marks="none">
<p>No quotation marks have been retained. Instead, the <att>rend</att> attribute on the
<gi>q</gi> element is used to specify what kinds of quotation mark was used, according
to the following list: <list type="gloss">
<label>dq</label>
<item>double quotes, open and close</item>
<label>sq</label>
<item>single quotes, open and close</item>
<label>dash</label>
<item>long dash open, no close</item>
<label>dg</label>
<item>double guillemets, open and close</item>
</list>
</p>
</quotation> | ||||||||
| Example | <quotation marks="all">
<p>All quotation marks are retained in the text and are represented by appropriate Unicode
characters.</p>
</quotation> | ||||||||
| Schematron |
<s:report test="not(@marks) and not (tei:p)">On <s:name/>, either the @marks attribute should be used, or a paragraph of description provided</s:report> | ||||||||
| Content model |
<content>
<classRef key="model.pLike" minOccurs="0"
maxOccurs="unbounded"/>
</content>
| ||||||||
| Schema Declaration |
element quotation
{
L2_att.global.attributes,
attribute marks { "none" | "some" | "all" }?,
L2_model.pLike*
} | ||||||||
| <ref> (reference) defines a reference to another location, possibly modified by additional text or comment. [3.6. Simple Links and Cross-References 16.1. Links] | |
| Module | core — Level 2: Minimal Encoding |
| Attributes | Attributes att.global (@xml:id, @n, @xml:lang, @xml:space) (att.global.rendition (@style)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source)) att.pointing (@target) att.internetMedia (@mimeType) att.typed (@type) |
| Member of | |
| Contained by | core: abbr addrLine analytic author bibl biblScope biblStruct cit citedRange date editor email emph expan foreign gloss head item label monogr name note p pubPlace publisher q ref resp series street term textLang title |
| May contain | |
| Note | The target and cRef attributes are mutually exclusive. |
| Example | See especially <ref target="http://www.natcorp.ox.ac.uk/Texts/A02.xml#s2">the second
sentence</ref> |
| Example | See also <ref target="#locution">s.v. <term>locution</term>
</ref>. |
| Schematron |
<s:report test="@target and @cRef">Only one of the
attributes @target' and @cRef' may be supplied on <s:name/>
</s:report> |
| Content model |
<content>
<macroRef key="macro.paraContent"/>
</content>
|
| Schema Declaration |
element ref
{
L2_att.global.attributes,
L2_att.pointing.attributes,
L2_att.internetMedia.attributes,
L2_att.typed.attributes,
L2_macro.paraContent
} |
| <rendition> supplies information about the rendition or appearance of one or more elements in the source text. [2.3.4. The Tagging Declaration] | |||||||||||||||||||||||||||||||||
| Module | header — Level 2: Minimal Encoding | ||||||||||||||||||||||||||||||||
| Attributes | Attributes att.global (@xml:id, @n, @xml:lang, @xml:space) (att.global.rendition (@style)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source)) att.styleDef (scheme, @schemeVersion)
| ||||||||||||||||||||||||||||||||
| Contained by | header: tagsDecl | ||||||||||||||||||||||||||||||||
| May contain | |||||||||||||||||||||||||||||||||
| Example | <tagsDecl>
<rendition xml:id="r-center" scheme="css">text-align: center;</rendition>
<rendition xml:id="r-small" scheme="css">font-size: small;</rendition>
<rendition xml:id="r-large" scheme="css">font-size: large;</rendition>
<rendition xml:id="initcaps"
scope="first-letter" scheme="css">font-size: xx-large</rendition>
</tagsDecl> | ||||||||||||||||||||||||||||||||
| Content model |
<content>
<macroRef key="macro.limitedContent"/>
</content>
| ||||||||||||||||||||||||||||||||
| Schema Declaration |
element rendition
{
L2_att.global.attributes,
L2_att.styleDef.attribute.schemeVersion,
attribute scheme { "css" },
attribute scope { text }?,
attribute selector { text }?,
L2_macro.limitedContent
} | ||||||||||||||||||||||||||||||||
| <resp> (responsibility) contains a phrase describing the nature of a person's intellectual responsibility, or an organization's role in the production or distribution of a work. [3.11.2.2. Titles, Authors, and Editors 2.2.1. The Title Statement 2.2.2. The Edition Statement 2.2.5. The Series Statement] | |
| Module | core — Level 2: Minimal Encoding |
| Attributes | Attributes att.global (@xml:id, @n, @xml:lang, @xml:space) (att.global.rendition (@style)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source)) att.canonical (@key, @ref) att.datable (@calendar, @period) (att.datable.w3c (@when, @notBefore, @notAfter, @from, @to)) (att.datable.custom (@when-custom, @notBefore-custom, @notAfter-custom, @from-custom, @to-custom, @datingPoint, @datingMethod)) |
| Contained by | core: respStmt |
| May contain | |
| Note | The attribute ref, inherited from the class att.canonical may be used to indicate the kind of responsibility in a normalized form by referring directly to a standardized list of responsibility types, such as that maintained by a naming authority, for example the list maintained at http://www.loc.gov/marc/relators/relacode.html for bibliographic usage. |
| Example | <respStmt>
<resp ref="http://id.loc.gov/vocabulary/relators/com.html">compiler</resp>
<name>Edward Child</name>
</respStmt> |
| Content model |
<content>
<macroRef key="macro.phraseSeq.limited"/>
</content>
|
| Schema Declaration |
element resp
{
L2_att.global.attributes,
L2_att.canonical.attributes,
L2_att.datable.attributes,
L2_macro.phraseSeq.limited
} |
| <respStmt> (statement of responsibility) supplies a statement of responsibility for the intellectual content of a text, edition, recording, or series, where the specialized elements for authors, editors, etc. do not suffice or do not apply. May also be used to encode information about individuals or organizations which have played a role in the production or distribution of a bibliographic work. [3.11.2.2. Titles, Authors, and Editors 2.2.1. The Title Statement 2.2.2. The Edition Statement 2.2.5. The Series Statement] | |
| Module | core — Level 2: Minimal Encoding |
| Attributes | Attributes att.global (@xml:id, @n, @xml:lang, @xml:space) (att.global.rendition (@style)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source)) att.canonical (@key, @ref) |
| Member of | |
| Contained by | header: editionStmt seriesStmt titleStmt |
| May contain | |
| Example | <respStmt>
<resp>transcribed from original ms</resp>
<persName>Claus Huitfeldt</persName>
</respStmt> |
| Example | <respStmt>
<resp>converted to XML encoding</resp>
<name>Alan Morrison</name>
</respStmt> |
| Content model |
<content>
<sequence minOccurs="1" maxOccurs="1">
<elementRef minOccurs="1" maxOccurs="1"
key="resp"/>
<classRef minOccurs="1"
maxOccurs="unbounded" key="model.nameLike.agent"/>
</sequence>
</content>
|
| Schema Declaration |
element respStmt
{
L2_att.global.attributes,
L2_att.canonical.attributes,
( L2_resp, L2_model.nameLike.agent+ )
} |
| <revisionDesc> (revision description) summarizes the revision history for a file. [2.6. The Revision Description 2.1.1. The TEI Header and Its Components] | |
| Module | header — Level 2: Minimal Encoding |
| Attributes | Attributes att.global (@xml:id, @n, @xml:lang, @xml:space) (att.global.rendition (@style)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source)) att.docStatus (@status) |
| Contained by | header: teiHeader |
| May contain | |
| Note | If present on this element, the status attribute should indicate the current status of the document. The same attribute may appear on any <change> to record the status at the time of that change. Conventionally <change> elements should be given in reverse date order, with the most recent change at the start of the list. |
| Example | <revisionDesc status="embargoed">
<change when="1991-11-11" who="#LB"> deleted chapter 10 </change>
</revisionDesc> |
| Content model |
<content>
<alternate>
<elementRef key="list"/>
<elementRef key="listChange"/>
<elementRef key="change" minOccurs="1"
maxOccurs="unbounded"/>
</alternate>
</content>
|
| Schema Declaration |
element revisionDesc
{
L2_att.global.attributes,
L2_att.docStatus.attributes,
( L2_list | listChange | L2_change+ )
} |
| <samplingDecl> (sampling declaration) contains a prose description of the rationale and methods used in sampling texts in the creation of a corpus or collection. [2.3.2. The Sampling Declaration 2.3. The Encoding Description 15.3.2. Declarable Elements] | |
| Module | header — Level 2: Minimal Encoding |
| Attributes | Attributes att.global (@xml:id, @n, @xml:lang, @xml:space) (att.global.rendition (@style)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source)) |
| Contained by | header: encodingDesc |
| May contain | |
| Note | This element records all information about systematic inclusion or omission of portions of the text, whether a reflection of sampling procedures in the pure sense or of systematic omission of material deemed either too difficult to transcribe or not of sufficient interest. |
| Example | <samplingDecl>
<p>Samples of up to 2000 words taken at random from the beginning, middle, or end of each
text identified as relevant by respondents.</p>
</samplingDecl> |
| Content model |
<content>
<classRef key="model.pLike" minOccurs="1"
maxOccurs="unbounded"/>
</content>
|
| Schema Declaration |
element samplingDecl { L2_att.global.attributes, L2_model.pLike+ } |
| <schemaRef> (schema reference) describes or points to a related customization or schema file [2.3.9. The Schema Specification] | |||||||||||
| Module | header — Level 2: Minimal Encoding | ||||||||||
| Attributes | Attributes att.global (@xml:id, @n, @xml:lang, @xml:space) (att.global.rendition (@style)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source)) att.typed (@type)
| ||||||||||
| Contained by | header: encodingDesc | ||||||||||
| May contain | Empty element | ||||||||||
| Example | <schemaRef type="interchangeODD"
url="http://www.tei-c.org/release/xml/tei/custom/odd/tei_lite.odd"/>
<schemaRef type="interchangeRNG"
url="http://www.tei-c.org/release/xml/tei/custom/odd/tei_lite.rng"/>
<schemaRef type="projectODD"
url="file:///schema/project.odd"/> | ||||||||||
| Content model |
<content>
<classRef key="model.descLike"
minOccurs="0"/>
</content>
| ||||||||||
| Schema Declaration |
element schemaRef
{
L2_att.global.attributes,
L2_att.typed.attributes,
attribute url
{
"bptl:L1-v4.0.0"
| "bptl:L2-v4.0.0"
| "bptl:L3-v4.0.0"
| "bptl:L4-v4.0.0"
| "bptl:L5-v4.0.0"
},
L2_model.descLike?
} | ||||||||||
| <series> (series information) contains information about the series in which a book or other bibliographic item has appeared. [3.11.2.1. Analytic, Monographic, and Series Levels] | |
| Module | core — Level 2: Minimal Encoding |
| Attributes | Attributes att.global (@xml:id, @n, @xml:lang, @xml:space) (att.global.rendition (@style)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source)) |
| Member of | |
| Contained by | core: bibl biblStruct |
| May contain | |
| Example | <series xml:lang="de">
<title level="s">Halbgraue Reihe zur Historischen Fachinformatik</title>
<respStmt>
<resp>Herausgegeben von</resp>
<name type="person">Manfred Thaller</name>
<name type="org">Max-Planck-Institut für Geschichte</name>
</respStmt>
<title level="s">Serie A: Historische Quellenkunden</title>
<biblScope>Band 11</biblScope>
</series> |
| Content model |
<content>
<alternate minOccurs="0"
maxOccurs="unbounded">
<textNode/>
<classRef key="model.gLike"/>
<elementRef key="title"/>
<classRef key="model.ptrLike"/>
<elementRef key="editor"/>
<elementRef key="respStmt"/>
<elementRef key="biblScope"/>
<elementRef key="idno"/>
<elementRef key="textLang"/>
<classRef key="model.global"/>
<elementRef key="availability"/>
</alternate>
</content>
|
| Schema Declaration |
element series
{
L2_att.global.attributes,
(
text
| L2_model.gLike
| L2_title
| L2_model.ptrLike
| L2_editor
| L2_respStmt
| L2_biblScope
| L2_idno
| L2_textLang
| L2_model.global
| L2_availability
)*
} |
| <seriesStmt> (series statement) groups information about the series, if any, to which a publication belongs. [2.2.5. The Series Statement 2.2. The File Description] | |
| Module | header — Level 2: Minimal Encoding |
| Attributes | Attributes att.global (@xml:id, @n, @xml:lang, @xml:space) (att.global.rendition (@style)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source)) |
| Contained by | header: fileDesc |
| May contain | |
| Example | <seriesStmt>
<title>Machine-Readable Texts for the Study of Indian Literature</title>
<respStmt>
<resp>ed. by</resp>
<name>Jan Gonda</name>
</respStmt>
<biblScope unit="volume">1.2</biblScope>
<idno type="ISSN">0 345 6789</idno>
</seriesStmt> |
| Content model |
<content>
<alternate>
<classRef key="model.pLike" minOccurs="1"
maxOccurs="unbounded"/>
<sequence>
<elementRef key="title" minOccurs="1"
maxOccurs="unbounded"/>
<alternate minOccurs="0"
maxOccurs="unbounded">
<elementRef key="editor"/>
<elementRef key="respStmt"/>
</alternate>
<alternate minOccurs="0"
maxOccurs="unbounded">
<elementRef key="idno"/>
<elementRef key="biblScope"/>
</alternate>
</sequence>
</alternate>
</content>
|
| Schema Declaration |
element seriesStmt
{
L2_att.global.attributes,
(
L2_model.pLike+
| ( L2_title+, ( L2_editor | L2_respStmt )*, ( L2_idno | L2_biblScope )* )
)
} |
| <sourceDesc> (source description) describes the source from which an electronic text was derived or generated, typically a bibliographic description in the case of a digitized text, or a phrase such as "born digital" for a text which has no previous existence. [2.2.7. The Source Description] | |
| Module | header — Level 2: Minimal Encoding |
| Attributes | Attributes att.global (@xml:id, @n, @xml:lang, @xml:space) (att.global.rendition (@style)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source)) |
| Contained by | header: fileDesc |
| May contain | core: biblStruct |
| Example | <sourceDesc>
<bibl>
<title level="a">The Interesting story of the Children in the Wood</title>. In
<author>Victor E Neuberg</author>, <title>The Penny Histories</title>.
<publisher>OUP</publisher>
<date>1968</date>. </bibl>
</sourceDesc> |
| Example | <sourceDesc>
<p>Born digital: no previous source exists.</p>
</sourceDesc> |
| Content model |
<content>
<elementRef key="biblStruct"/>
</content>
|
| Schema Declaration |
element sourceDesc { L2_att.global.attributes, L2_biblStruct } |
| <sourceDoc> contains a transcription or other representation of a single source document potentially forming part of a dossier génétique or collection of sources. [11.1. Digital Facsimiles 11.2.2. Embedded Transcription] | |
| Module | transcr — Level 2: Minimal Encoding |
| Attributes | Attributes att.global (@xml:id, @n, @xml:lang, @xml:space) (att.global.rendition (@style)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source)) |
| Contained by | textstructure: TEI |
| May contain | |
| Note | This element may be used as an alternative to <facsimile> for TEI documents containing only page images, or for documents containing both images and transcriptions. Transcriptions may be provided within the <surface> elements making up a source document, in parallel with them as part of a <text> element, or in both places if the encoder wishes to distinguish these two modes of transcription. |
| Example | <sourceDoc>
<surfaceGrp n="leaf1">
<surface facs="page1.png">
<zone>All the writing on page 1</zone>
</surface>
<surface>
<graphic url="page2-highRes.png"/>
<graphic url="page2-lowRes.png"/>
<zone>
<line>A line of writing on page 2</line>
<line>Another line of writing on page 2</line>
</zone>
</surface>
</surfaceGrp>
</sourceDoc> |
| Content model |
<content>
<alternate minOccurs="1"
maxOccurs="unbounded">
<classRef key="model.global"/>
<classRef key="model.graphicLike"/>
<elementRef key="surface"/>
<elementRef key="surfaceGrp"/>
</alternate>
</content>
|
| Schema Declaration |
element sourceDoc
{
L2_att.global.attributes,
( L2_model.global | L2_model.graphicLike | L2_surface | L2_surfaceGrp )+
} |
| <street> contains a full street address including any name or number identifying a building as well as the name of the street or route on which it is located. [3.5.2. Addresses] | |
| Module | core — Level 2: Minimal Encoding |
| Attributes | Attributes att.global (@xml:id, @n, @xml:lang, @xml:space) (att.global.rendition (@style)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source)) |
| Member of | |
| Contained by | core: address |
| May contain | |
| Note | The order and presentation of house names and numbers and street names, etc., may vary considerably in different countries. The encoding should reflect the order which is appropriate in the country concerned. |
| Example | <street>via della Faggiola, 36</street> |
| Example | <street>
<name>Duntaggin</name>, 110 Southmoor Road
</street> |
| Content model |
<content>
<macroRef key="macro.phraseSeq"/>
</content>
|
| Schema Declaration |
element street { L2_att.global.attributes, L2_macro.phraseSeq } |
| <surface> defines a written surface as a two-dimensional coordinate space, optionally grouping one or more graphic representations of that space, zones of interest within that space, and transcriptions of the writing within them. [11.1. Digital Facsimiles 11.2.2. Embedded Transcription] | |||||||||||||||
| Module | transcr — Level 2: Minimal Encoding | ||||||||||||||
| Attributes | Attributes att.global (@xml:id, @n, @xml:lang, @xml:space) (att.global.rendition (@style)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source)) att.coordinated (@start, @ulx, @uly, @lrx, @lry, @points) att.typed (@type)
| ||||||||||||||
| Contained by | transcr: facsimile sourceDoc surfaceGrp zone | ||||||||||||||
| May contain | core: graphic | ||||||||||||||
| Note | The <surface> element represents any two-dimensional space on some physical surface forming part of the source material, such as a piece of paper, a face of a monument, a billboard, a scroll, a leaf etc. The coordinate space defined by this element may be thought of as a grid lrx - ulx units wide and uly - lry units high. The <surface> element may contain graphic representations or transcriptions of written zones, or both. The coordinate values used by every <zone> element contained by this element are to be understood with reference to the same grid. Where it is useful or meaningful to do so, any grouping of multiple <surface> elements may be indicated using the <surfaceGrp> elements. | ||||||||||||||
| Example | <facsimile>
<surface ulx="0" uly="0" lrx="200" lry="300">
<graphic url="Bovelles-49r.png"/>
</surface>
</facsimile> | ||||||||||||||
| Content model |
<content>
<elementRef key="graphic" minOccurs="1"
maxOccurs="1"/>
</content>
| ||||||||||||||
| Schema Declaration |
element surface
{
L2_att.global.attributes,
L2_att.coordinated.attributes,
L2_att.typed.attributes,
attribute attachment { text }?,
attribute flipping { text }?,
L2_graphic
} | ||||||||||||||
| <surfaceGrp> defines any kind of useful grouping of written surfaces, for example the recto and verso of a single leaf, which the encoder wishes to treat as a single unit. [11.1. Digital Facsimiles] | |
| Module | transcr — Level 2: Minimal Encoding |
| Attributes | Attributes att.global (@xml:id, @n, @xml:lang, @xml:space) (att.global.rendition (@style)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source)) att.typed (@type) |
| Contained by | transcr: sourceDoc surfaceGrp |
| May contain | transcr: surface surfaceGrp |
| Note | Where it is useful or meaningful to do so, any grouping of multiple <surface> elements may be indicated using the <surfaceGrp> elements. |
| Example | <sourceDoc>
<surfaceGrp>
<surface ulx="0" uly="0" lrx="200"
lry="300">
<graphic url="Bovelles-49r.png"/>
</surface>
<surface ulx="0" uly="0" lrx="200"
lry="300">
<graphic url="Bovelles-49v.png"/>
</surface>
</surfaceGrp>
</sourceDoc> |
| Content model |
<content>
<alternate minOccurs="1"
maxOccurs="unbounded">
<classRef key="model.global"/>
<elementRef key="surface"/>
<elementRef key="surfaceGrp"/>
</alternate>
</content>
|
| Schema Declaration |
element surfaceGrp
{
L2_att.global.attributes,
L2_att.typed.attributes,
( L2_model.global | L2_surface | L2_surfaceGrp )+
} |
| <tag> contains text of a complete start- or end-tag, possibly including attribute specifications, but excluding the opening and closing markup delimiter characters. [22. Documentation Elements] | |||||||||||||||||
| Module | tagdocs — Level 2: Minimal Encoding | ||||||||||||||||
| Attributes | Attributes att.global (@xml:id, @n, @xml:lang, @xml:space) (att.global.rendition (@style)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source))
| ||||||||||||||||
| Member of | |||||||||||||||||
| Contained by | |||||||||||||||||
| May contain | Character data only | ||||||||||||||||
| Example | Mark the start of each italicised phrase with a
<tag>hi rend="it"</tag> tag, and its end with a <tag type="end">hi</tag> tag.
<tag type="comment">Example updated on 2008-04-05</tag> | ||||||||||||||||
| Content model |
<content>
<textNode/>
</content>
| ||||||||||||||||
| Schema Declaration |
element tag
{
L2_att.global.attributes,
attribute type { "start" | "end" | "empty" | "pi" | "comment" | "ms" }?,
attribute scheme { text }?,
text
} | ||||||||||||||||
| <tagUsage> documents the usage of a specific element within a specified document. [2.3.4. The Tagging Declaration] | |||||||||||||||||||||||
| Module | header — Level 2: Minimal Encoding | ||||||||||||||||||||||
| Attributes | Attributes att.global (@xml:id, @n, @xml:lang, @xml:space) (att.global.rendition (@style)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source))
| ||||||||||||||||||||||
| Contained by | header: namespace | ||||||||||||||||||||||
| May contain | Empty element | ||||||||||||||||||||||
| Example | <tagsDecl partial="true">
<rendition xml:id="it" scheme="css"
selector="foreign hi"> font-style: italic; </rendition>
<!-- ... -->
<namespace name="http://www.tei-c.org/ns/1.0">
<tagUsage gi="hi" occurs="28" withId="2"> Used to mark English words italicized in the copy text.</tagUsage>
<tagUsage gi="foreign">Used to mark non-English words in the copy text.</tagUsage>
<!-- ... -->
</namespace>
</tagsDecl> | ||||||||||||||||||||||
| Content model |
<content>
<valList type="closed">
<valItem ident="Unnumbered divs used."/>
<valItem ident="Numbered divs used."/>
<valItem ident="Logical divisions not encoded."/>
</valList>
</content>
Legal values are:
| ||||||||||||||||||||||
| Schema Declaration |
element tagUsage
{
L2_att.global.attributes,
attribute gi { "div" | "div1" | "sourceDoc" }
>>
tei:constraintSpec
[
scheme = "schematron"
ident = "numbered-vs-unnumbered"
" "
" A single TEI in Libraries document should not mix numbered and unnumbered divisions."
" "
" "
""" The use of divisions (i.e., whether numbered or unnumbered divisions are used) should be documented in a <tagUsage> element by "Unnumbered divs used." or "Numbered divs used." The <tagUsage> element must be the child of a <namespace name="http://www.tei-c.org/ns/1.0"> element."""
" "
" "
""" The fact that logical divisions are not encoded (and thus neither numbered nor unnumbered divisions are used) should be documented in a <tagUsage> element by "Logical divisions not encoded." The <tagUsage> element must be the child of a <namespace name="http://www.tei-c.org/ns/1.0"> element."""
" "
" "
""" A document that uses un-numbered divisions should specify so by using <tagUsage gi="div">Unnumbered divs used.</tagUsage>; a document that uses numbered divisions should specify so by using <tagUsage gi="div1">Numbered divs used.</tagUsage>; a document that uses neither should specify so by using <tagUsage gi="sourceDoc">Logical divisions not encoded.</tagUsage>."""
],
attribute occurs { text }?,
attribute withId { text }?,
(
"Unnumbered divs used."
| "Numbered divs used."
| "Logical divisions not encoded."
)
}Legal values are:
| ||||||||||||||||||||||
| <tagsDecl> (tagging declaration) provides detailed information about the tagging applied to a document. [2.3.4. The Tagging Declaration 2.3. The Encoding Description] | |||||||||
| Module | header — Level 2: Minimal Encoding | ||||||||
| Attributes | Attributes att.global (@xml:id, @n, @xml:lang, @xml:space) (att.global.rendition (@style)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source))
| ||||||||
| Contained by | header: encodingDesc | ||||||||
| May contain | |||||||||
| Example | <tagsDecl partial="true">
<rendition xml:id="rend-it" scheme="css"
selector="emph hi name title">font-style: italic;</rendition>
<namespace name="http://www.tei-c.org/ns/1.0">
<tagUsage gi="hi" occurs="467"/>
<tagUsage gi="title" occurs="45"/>
</namespace>
<namespace name="http://docbook.org/ns/docbook">
<tagUsage gi="para" occurs="10"/>
</namespace>
</tagsDecl> If the partial attribute were not specified here, the implication would be that the document in question contains only <hi>, <title>, and <para> elements. | ||||||||
| Content model |
<content>
<sequence minOccurs="1" maxOccurs="1">
<elementRef key="rendition" minOccurs="0"
maxOccurs="unbounded"/>
<elementRef key="namespace"/>
</sequence>
</content>
| ||||||||
| Schema Declaration |
element tagsDecl
{
L2_att.global.attributes,
attribute partial { text }?,
( L2_rendition*, L2_namespace )
} | ||||||||
| <taxonomy> defines a typology either implicitly, by means of a bibliographic citation, or explicitly by a structured taxonomy. [2.3.7. The Classification Declaration] | |||||||||
| Module | header — Level 2: Minimal Encoding | ||||||||
| Attributes | Attributesatt.global (xml:id, @n, @xml:lang, @xml:space) att.global.rendition (@style) att.global.facs (@facs) att.global.change (@change) att.global.responsibility (@cert, @resp) att.global.source (@source)
| ||||||||
| Contained by | |||||||||
| May contain | core: bibl biblStruct gloss header: taxonomy | ||||||||
| Note | Nested taxonomies are common in many fields, so the <taxonomy> element can be nested. | ||||||||
| Example | <taxonomy xml:id="tax.b">
<bibl>Brown Corpus</bibl>
<category xml:id="tax.b.a">
<catDesc>Press Reportage</catDesc>
<category xml:id="tax.b.a1">
<catDesc>Daily</catDesc>
</category>
<category xml:id="tax.b.a2">
<catDesc>Sunday</catDesc>
</category>
<category xml:id="tax.b.a3">
<catDesc>National</catDesc>
</category>
<category xml:id="tax.b.a4">
<catDesc>Provincial</catDesc>
</category>
<category xml:id="tax.b.a5">
<catDesc>Political</catDesc>
</category>
<category xml:id="tax.b.a6">
<catDesc>Sports</catDesc>
</category>
</category>
<category xml:id="tax.b.d">
<catDesc>Religion</catDesc>
<category xml:id="tax.b.d1">
<catDesc>Books</catDesc>
</category>
<category xml:id="tax.b.d2">
<catDesc>Periodicals and tracts</catDesc>
</category>
</category>
</taxonomy> | ||||||||
| Example | <taxonomy>
<category xml:id="literature">
<catDesc>Literature</catDesc>
<category xml:id="poetry">
<catDesc>Poetry</catDesc>
<category xml:id="sonnet">
<catDesc>Sonnet</catDesc>
<category xml:id="shakesSonnet">
<catDesc>Shakespearean Sonnet</catDesc>
</category>
<category xml:id="petraSonnet">
<catDesc>Petrarchan Sonnet</catDesc>
</category>
</category>
<category xml:id="haiku">
<catDesc>Haiku</catDesc>
</category>
</category>
<category xml:id="drama">
<catDesc>Drama</catDesc>
</category>
</category>
<category xml:id="meter">
<catDesc>Metrical Categories</catDesc>
<category xml:id="feet">
<catDesc>Metrical Feet</catDesc>
<category xml:id="iambic">
<catDesc>Iambic</catDesc>
</category>
<category xml:id="trochaic">
<catDesc>trochaic</catDesc>
</category>
</category>
<category xml:id="feetNumber">
<catDesc>Number of feet</catDesc>
<category xml:id="pentameter">
<catDesc>>Pentameter</catDesc>
</category>
<category xml:id="tetrameter">
<catDesc>>Tetrameter</catDesc>
</category>
</category>
</category>
</taxonomy>
<!-- elsewhere in document -->
<lg ana="#shakesSonnet #iambic #pentameter">
<l>Shall I compare thee to a summer's day</l>
<!-- ... -->
</lg> | ||||||||
| Content model |
<content>
<alternate minOccurs="1" maxOccurs="1">
<alternate minOccurs="1" maxOccurs="1">
<alternate minOccurs="1"
maxOccurs="unbounded">
<elementRef key="category"/>
<elementRef key="taxonomy"/>
</alternate>
<sequence minOccurs="1" maxOccurs="1">
<alternate minOccurs="1"
maxOccurs="unbounded">
<classRef key="model.glossLike"/>
<classRef key="model.descLike"/>
</alternate>
<alternate minOccurs="0"
maxOccurs="unbounded">
<elementRef key="category"/>
<elementRef key="taxonomy"/>
</alternate>
</sequence>
</alternate>
<sequence minOccurs="1" maxOccurs="1">
<classRef key="model.biblLike"/>
<alternate minOccurs="0"
maxOccurs="unbounded">
<elementRef key="category"/>
<elementRef key="taxonomy"/>
</alternate>
</sequence>
</alternate>
</content>
| ||||||||
| Schema Declaration |
element taxonomy
{
L2_att.global.attribute.n,
L2_att.global.attribute.xmllang,
L2_att.global.attribute.xmlspace,
L2_att.global.rendition.attribute.style,
L2_att.global.facs.attribute.facs,
L2_att.global.change.attribute.change,
L2_att.global.responsibility.attribute.cert,
L2_att.global.responsibility.attribute.resp,
L2_att.global.source.attribute.source,
attribute xml:id { text },
(
(
( category | L2_taxonomy )+
| (
( L2_model.glossLike | L2_model.descLike )+,
( category | L2_taxonomy )*
)
)
| ( L2_model.biblLike, ( category | L2_taxonomy )* )
)
} | ||||||||
| <teiHeader> (TEI header) supplies descriptive and declarative metadata associated with a digital resource or set of resources. [2.1.1. The TEI Header and Its Components 15.1. Varieties of Composite Text] | |||||||||
| Module | header — Level 2: Minimal Encoding | ||||||||
| Attributes | Attributesatt.global (xml:lang, @xml:id, @n, @xml:space) att.global.rendition (@style) att.global.facs (@facs) att.global.change (@change) att.global.responsibility (@cert, @resp) att.global.source (@source)
| ||||||||
| Contained by | textstructure: TEI | ||||||||
| May contain | header: encodingDesc fileDesc profileDesc revisionDesc | ||||||||
| Note | One of the few elements unconditionally required in any TEI document. | ||||||||
| Example | <teiHeader>
<fileDesc>
<titleStmt>
<title>Shakespeare: the first folio (1623) in electronic form</title>
<author>Shakespeare, William (1564–1616)</author>
<respStmt>
<resp>Originally prepared by</resp>
<name>Trevor Howard-Hill</name>
</respStmt>
<respStmt>
<resp>Revised and edited by</resp>
<name>Christine Avern-Carr</name>
</respStmt>
</titleStmt>
<publicationStmt>
<distributor>Oxford Text Archive</distributor>
<address>
<addrLine>13 Banbury Road, Oxford OX2 6NN, UK</addrLine>
</address>
<idno type="OTA">119</idno>
<availability>
<p>Freely available on a non-commercial basis.</p>
</availability>
<date when="1968">1968</date>
</publicationStmt>
<sourceDesc>
<bibl>The first folio of Shakespeare, prepared by Charlton Hinman (The Norton Facsimile,
1968)</bibl>
</sourceDesc>
</fileDesc>
<encodingDesc>
<projectDesc>
<p>Originally prepared for use in the production of a series of old-spelling
concordances in 1968, this text was extensively checked and revised for use during the
editing of the new Oxford Shakespeare (Wells and Taylor, 1989).</p>
</projectDesc>
<editorialDecl>
<correction>
<p>Turned letters are silently corrected.</p>
</correction>
<normalization>
<p>Original spelling and typography is retained, except that long s and ligatured
forms are not encoded.</p>
</normalization>
</editorialDecl>
<refsDecl xml:id="ASLREF">
<cRefPattern matchPattern="(\S+) ([^.]+)\.(.*)"
replacementPattern="#xpath(//div1[@n='$1']/div2/[@n='$2']//lb[@n='$3'])">
<p>A reference is created by assembling the following, in the reverse order as that
listed here: <list>
<item>the <att>n</att> value of the preceding <gi>lb</gi>
</item>
<item>a period</item>
<item>the <att>n</att> value of the ancestor <gi>div2</gi>
</item>
<item>a space</item>
<item>the <att>n</att> value of the parent <gi>div1</gi>
</item>
</list>
</p>
</cRefPattern>
</refsDecl>
</encodingDesc>
<revisionDesc>
<list>
<item>
<date when="1989-04-12">12 Apr 89</date> Last checked by CAC</item>
<item>
<date when="1989-03-01">1 Mar 89</date> LB made new file</item>
</list>
</revisionDesc>
</teiHeader> | ||||||||
| Schematron | Although TEI allows both <ab> and <p> in various places in the TEI header, these Best Practices recommend only <p>.
<s:report test=".//tei:ab">Use <gi>p</gi> instead of <gi>ab</gi> in the TEI header. (There are <s:value-of select="count(.//tei:ab)"/>
<gi>ab</gi> elements in this header.)</s:report> | ||||||||
| Content model |
<content>
<sequence minOccurs="1" maxOccurs="1">
<elementRef key="fileDesc" minOccurs="1"
maxOccurs="1"/>
<elementRef key="encodingDesc"
minOccurs="1" maxOccurs="1"/>
<elementRef key="profileDesc"
minOccurs="0" maxOccurs="1"/>
<elementRef key="revisionDesc"
minOccurs="0" maxOccurs="1"/>
</sequence>
</content>
| ||||||||
| Schema Declaration |
element teiHeader
{
L2_att.global.attribute.xmlid,
L2_att.global.attribute.n,
L2_att.global.attribute.xmlspace,
L2_att.global.rendition.attribute.style,
L2_att.global.facs.attribute.facs,
L2_att.global.change.attribute.change,
L2_att.global.responsibility.attribute.cert,
L2_att.global.responsibility.attribute.resp,
L2_att.global.source.attribute.source,
attribute xml:lang { text },
( L2_fileDesc, L2_encodingDesc, L2_profileDesc?, L2_revisionDesc? )
} | ||||||||
| <term> contains a single-word, multi-word, or symbolic designation which is regarded as a technical term. [3.3.4. Terms, Glosses, Equivalents, and Descriptions] | |
| Module | core — Level 2: Minimal Encoding |
| Attributes | Attributes att.global (@xml:id, @n, @xml:lang, @xml:space) (att.global.rendition (@style)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source)) att.pointing (@target) att.typed (@type) att.canonical (@key, @ref) att.sortable (@sortKey) att.cReferencing (@cRef) |
| Member of | |
| Contained by | |
| May contain | |
| Note | When this element appears within an <index> element, it is understood to supply the form under which an index entry is to be made for that location. Elsewhere, it is understood simply to indicate that its content is to be regarded as a technical or specialised term. It may be associated with a <gloss> element by means of its ref attribute; alternatively a <gloss> element may point to a <term> element by means of its target attribute. In formal terminological work, there is frequently discussion over whether terms must be atomic or may include multi-word lexical items, symbolic designations, or phraseological units. The <term> element may be used to mark any of these. No position is taken on the philosophical issue of what a term can be; the looser definition simply allows the <term> element to be used by practitioners of any persuasion. As with other members of the att.canonical class, instances of this element occuring in a text may be associated with a canonical definition, either by means of a URI (using the ref attribute), or by means of some system-specific code value (using the key attribute). Because the mutually exclusive target and cRef attributes overlap with the function of the ref attribute, they are deprecated and may be removed at a subsequent release. |
| Example | A computational device that infers structure
from grammatical strings of words is known as a <term>parser</term>, and much of the history
of NLP over the last 20 years has been occupied with the design of parsers. |
| Example | We may define <term xml:id="TDPV1" rend="sc">discoursal point of view</term> as
<gloss target="#TDPV1">the relationship, expressed
through discourse structure, between the implied author or some other addresser, and the
fiction.</gloss> |
| Example | We may define <term ref="#TDPV2" rend="sc">discoursal point of view</term> as
<gloss xml:id="TDPV2">the relationship, expressed
through discourse structure, between the implied author or some other addresser, and the
fiction.</gloss> |
| Example | We discuss Leech's concept of <term ref="myGlossary.xml#TDPV2" rend="sc">discoursal point of view</term> below. |
| Content model |
<content>
<macroRef key="macro.phraseSeq"/>
</content>
|
| Schema Declaration |
element term
{
L2_att.global.attributes,
L2_att.pointing.attributes,
L2_att.typed.attributes,
L2_att.canonical.attributes,
L2_att.sortable.attributes,
L2_att.cReferencing.attributes,
L2_macro.phraseSeq
} |
| <text> contains a single text of any kind, whether unitary or composite, for example a poem or drama, a collection of essays, a novel, a dictionary, or a corpus sample. [4. Default Text Structure 15.1. Varieties of Composite Text] | |
| Module | textstructure — Level 2: Minimal Encoding |
| Attributes | Attributes att.global (@xml:id, @n, @xml:lang, @xml:space) (att.global.rendition (@style)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source)) att.typed (@type) att.written (@hand) |
| Contained by | textstructure: TEI |
| May contain | |
| Note | This element should not be used to represent a text which is inserted at an arbitrary point within the structure of another, for example as in an embedded or quoted narrative; the <floatingText> is provided for this purpose. |
| Example | <text>
<front>
<docTitle>
<titlePart>Autumn Haze</titlePart>
</docTitle>
</front>
<body>
<l>Is it a dragonfly or a maple leaf</l>
<l>That settles softly down upon the water?</l>
</body>
</text> |
| Example | The body of a text may be replaced by a group of nested texts, as in the following schematic: <text>
<front>
<!-- front matter for the whole group -->
</front>
<group>
<text>
<!-- first text -->
</text>
<text>
<!-- second text -->
</text>
</group>
</text> |
| Content model |
<content>
<sequence>
<classRef key="model.global"
minOccurs="0" maxOccurs="unbounded"/>
<sequence minOccurs="0">
<elementRef key="front"/>
<classRef key="model.global"
minOccurs="0" maxOccurs="unbounded"/>
</sequence>
<alternate>
<elementRef key="body"/>
<elementRef key="group"/>
</alternate>
<classRef key="model.global"
minOccurs="0" maxOccurs="unbounded"/>
<sequence minOccurs="0">
<elementRef key="back"/>
<classRef key="model.global"
minOccurs="0" maxOccurs="unbounded"/>
</sequence>
</sequence>
</content>
|
| Schema Declaration |
element text
{
L2_att.global.attributes,
L2_att.typed.attributes,
L2_att.written.attributes,
(
L2_model.global*,
( L2_front, L2_model.global* )?,
( L2_body | group ),
L2_model.global*,
( L2_back, L2_model.global* )?
)
} |
| <textClass> (text classification) groups information which describes the nature or topic of a text in terms of a standard classification scheme, thesaurus, etc. [2.4.3. The Text Classification] | |
| Module | header — Level 2: Minimal Encoding |
| Attributes | Attributes att.global (@xml:id, @n, @xml:lang, @xml:space) (att.global.rendition (@style)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source)) |
| Member of | |
| Contained by | header: profileDesc |
| May contain | |
| Example | <taxonomy>
<category xml:id="acprose">
<catDesc>Academic prose</catDesc>
</category>
<!-- other categories here -->
</taxonomy>
<!-- ... -->
<textClass>
<catRef target="#acprose"/>
<classCode scheme="http://www.udcc.org">001.9</classCode>
<keywords scheme="http://authorities.loc.gov">
<list>
<item>End of the world</item>
<item>History - philosophy</item>
</list>
</keywords>
</textClass> |
| Content model |
<content>
<alternate minOccurs="0"
maxOccurs="unbounded">
<elementRef key="classCode"/>
<elementRef key="catRef"/>
<elementRef key="keywords"/>
</alternate>
</content>
|
| Schema Declaration |
element textClass
{
L2_att.global.attributes,
( L2_classCode | catRef | L2_keywords )*
} |
| <textLang> (text language) describes the languages and writing systems identified within the bibliographic work being described, rather than its description. [3.11.2.4. Imprint, Size of a Document, and Reprint Information 10.6.6. Languages and Writing Systems] | |||||||||||||
| Module | core — Level 2: Minimal Encoding | ||||||||||||
| Attributes | Attributes att.global (@xml:id, @n, @xml:lang, @xml:space) (att.global.rendition (@style)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source))
| ||||||||||||
| Member of | |||||||||||||
| Contained by | |||||||||||||
| May contain | |||||||||||||
| Note | This element should not be used to document the languages or writing systems used for the bibliographic or manuscript description itself: as for all other TEI elements, such information should be provided by means of the global xml:lang attribute attached to the element containing the description. In all cases, languages should be identified by means of a standardized ‘language tag’ generated according to BCP 47. Additional documentation for the language may be provided by a <language> element in the TEI Header. | ||||||||||||
| Example | <textLang mainLang="en" otherLangs="la"> Predominantly in English with Latin
glosses</textLang> | ||||||||||||
| Content model |
<content>
<macroRef key="macro.phraseSeq"/>
</content>
| ||||||||||||
| Schema Declaration |
element textLang
{
L2_att.global.attributes,
attribute mainLang { text }?,
attribute otherLangs { list { * } }?,
L2_macro.phraseSeq
} | ||||||||||||
| <title> contains a title for any kind of work. [3.11.2.2. Titles, Authors, and Editors 2.2.1. The Title Statement 2.2.5. The Series Statement] | |||||||||||||||||||||
| Module | core — Level 2: Minimal Encoding | ||||||||||||||||||||
| Attributes | Attributes att.global (@xml:id, @n, @xml:lang, @xml:space) (att.global.rendition (@style)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source)) att.canonical (@key, @ref) att.datable (@calendar, @period) (att.datable.w3c (@when, @notBefore, @notAfter, @from, @to)) (att.datable.custom (@when-custom, @notBefore-custom, @notAfter-custom, @from-custom, @to-custom, @datingPoint, @datingMethod))
| ||||||||||||||||||||
| Member of | |||||||||||||||||||||
| Contained by | |||||||||||||||||||||
| May contain | |||||||||||||||||||||
| Note | The attributes key and ref, inherited from the class att.canonical may be used to indicate the canonical form for the title; the former, by supplying (for example) the identifier of a record in some external library system; the latter by pointing to an XML element somewhere containing the canonical form of the title. | ||||||||||||||||||||
| Example | <title>Information Technology and the Research Process: Proceedings of
a conference held at Cranfield Institute of Technology, UK,
18–21 July 1989</title> | ||||||||||||||||||||
| Example | <title>Hardy's Tess of the D'Urbervilles: a machine readable
edition</title> | ||||||||||||||||||||
| Example | <title type="full">
<title type="main">Synthèse</title>
<title type="sub">an international journal for
epistemology, methodology and history of
science</title>
</title> | ||||||||||||||||||||
| Content model |
<content>
<macroRef key="macro.paraContent"/>
</content>
| ||||||||||||||||||||
| Schema Declaration |
element title
{
L2_att.global.attributes,
L2_att.canonical.attributes,
L2_att.datable.attributes,
attribute type
{
"main"
| "sub"
| "alt"
| "short"
| "desc"
| "translated"
| "marc245a"
| "marc245b"
| "marc245c"
| "uniform"
}?
>>
tei:constraintSpec
[
scheme = "schematron"
ident = "titleType"
" "
"Inside the title statment the @type of a <title> should be specified"
" "
" "
"Inside a structured bibliographic citation of a mongraphic-level item, @type of a <title> should be specified"
" "
" "
"Inside the analytic portion of a structured bibliographic citation, @type of a <title> should be specified"
],
attribute level { "a" | "m" | "j" | "s" | "u" }?
>>
tei:constraintSpec
[
scheme = "schematron"
ident = "titleLevel"
" "
"The @level attribute should not be specified on a <title> within the <titleStmt>."
" "
" "
"""When a child of <seriesStmt>, the level of a title should be specified as 's'."""
" "
" "
"""When inside the series-level portion of a structured bibliographic citation, the level of a title should be specified as 's'."""
" "
" "
"""When a child of <analytic>, the level of a title should be specified as 'a'."""
" "
" "
"""When a child of <monogr>, the level of a title should not be specified as 'a'."""
],
L2_macro.paraContent
} | ||||||||||||||||||||
| <titleStmt> (title statement) groups information about the title of a work and those responsible for its content. [2.2.1. The Title Statement 2.2. The File Description] | |
| Module | header — Level 2: Minimal Encoding |
| Attributes | Attributes att.global (@xml:id, @n, @xml:lang, @xml:space) (att.global.rendition (@style)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source)) |
| Contained by | header: fileDesc |
| May contain | |
| Example | <titleStmt>
<title>Capgrave's Life of St. John Norbert: a machine-readable transcription</title>
<respStmt>
<resp>compiled by</resp>
<name>P.J. Lucas</name>
</respStmt>
</titleStmt> |
| Content model |
<content>
<sequence>
<elementRef key="title" minOccurs="1"
maxOccurs="unbounded"/>
<classRef key="model.respLike"
minOccurs="0" maxOccurs="unbounded"/>
</sequence>
</content>
|
| Schema Declaration |
element titleStmt
{
L2_att.global.attributes,
( L2_title+, L2_model.respLike* )
} |
| <val> (value) contains a single attribute value. [22. Documentation Elements 22.5.3. Attribute List Specification] | |
| Module | tagdocs — Level 2: Minimal Encoding |
| Attributes | Attributes att.global (@xml:id, @n, @xml:lang, @xml:space) (att.global.rendition (@style)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source)) |
| Member of | |
| Contained by | |
| May contain | Character data only |
| Example | <val>unknown</val> |
| Content model |
<content>
<textNode/>
</content>
|
| Schema Declaration |
element val { L2_att.global.attributes, text } |
| <zone> defines any two-dimensional area within a <surface> element. [11.1. Digital Facsimiles 11.2.2. Embedded Transcription] | |||||||||
| Module | transcr — Level 2: Minimal Encoding | ||||||||
| Attributes | Attributes att.global (@xml:id, @n, @xml:lang, @xml:space) (att.global.rendition (@style)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source)) att.coordinated (@start, @ulx, @uly, @lrx, @lry, @points) att.typed (@type) att.written (@hand)
| ||||||||
| Member of | |||||||||
| Contained by | |||||||||
| May contain | |||||||||
| Note | The position of every zone for a given surface is always defined by reference to the coordinate system defined for that surface. A graphic element contained by a zone represents the whole of the zone. A zone may be of any shape. The attribute points may be used to define a polygonal zone, using the coordinate system defined by its parent surface. | ||||||||
| Example | <surface ulx="14.54" uly="16.14" lrx="0"
lry="0">
<graphic url="stone.jpg"/>
<zone points="4.6,6.3 5.25,5.85 6.2,6.6 8.19222,7.4125 9.89222,6.5875 10.9422,6.1375
11.4422,6.7125 8.21722,8.3125 6.2,7.65"/>
</surface> This example defines a non-rectangular zone: see the illustration in section [[undefined PH-surfzone]]. | ||||||||
| Example | <facsimile>
<surface ulx="50" uly="20" lrx="400"
lry="280">
<zone ulx="0" uly="0" lrx="500" lry="321">
<graphic url="graphic.png "/>
</zone>
</surface>
</facsimile> This example defines a zone which has been defined as larger than its parent surface in order to match the dimensions of the graphic it contains. | ||||||||
| Content model |
<content>
<alternate minOccurs="0"
maxOccurs="unbounded">
<textNode/>
<classRef key="model.graphicLike"/>
<classRef key="model.global"/>
<elementRef key="surface"/>
<classRef key="model.linePart"/>
</alternate>
</content>
| ||||||||
| Schema Declaration |
element zone
{
L2_att.global.attributes,
L2_att.coordinated.attributes,
L2_att.typed.attributes,
L2_att.written.attributes,
attribute rotate { text }?,
(
text
| L2_model.graphicLike
| L2_model.global
| L2_surface
| L2_model.linePart
)*
} | ||||||||
| model.addrPart groups elements such as names or postal codes which may appear as part of a postal address. [3.5.2. Addresses] | |
| Module | tei — Level 2: Minimal Encoding |
| Used by | |
| Members | model.nameLike[model.nameLike.agent[name orgName persName] model.offsetLike model.persNamePart model.placeStateLike[model.placeNamePart] idno] addrLine postBox postCode street |
| model.addressLike groups elements used to represent a postal or email address. [1. The TEI Infrastructure] | |
| Module | tei — Level 2: Minimal Encoding |
| Used by | |
| Members | address email |
| model.applicationLike groups elements used to record application-specific information about a document in its header. | |
| Module | tei — Level 2: Minimal Encoding |
| Used by | |
| Members | application |
| model.availabilityPart groups elements such as licences and paragraphs of text which may appear as part of an availability statement [2.2.4. Publication, Distribution, Licensing, etc.] | |
| Module | tei — Level 2: Minimal Encoding |
| Used by | |
| Members | licence |
| model.biblLike groups elements containing a bibliographic description. [3.11. Bibliographic Citations and References] | |
| Module | tei — Level 2: Minimal Encoding |
| Used by | |
| Members | bibl biblStruct |
| model.biblPart groups elements which represent components of a bibliographic description. [3.11. Bibliographic Citations and References] | |
| Module | tei — Level 2: Minimal Encoding |
| Used by | |
| Members | model.imprintPart[biblScope distributor pubPlace publisher] model.respLike[author editor respStmt] availability bibl citedRange edition extent relatedItem series textLang |
| model.choicePart groups elements (other than <choice> itself) which can be used within a <choice> alternation. [3.4. Simple Editorial Changes] | |
| Module | tei — Level 2: Minimal Encoding |
| Used by | |
| Members | abbr expan |
| model.dateLike groups elements containing temporal expressions. [3.5.4. Dates and Times 13.3.6. Dates and Times] | |
| Module | tei — Level 2: Minimal Encoding |
| Used by | |
| Members | date |
| model.div1Like groups top-level structural divisions. | |
| Module | tei — Level 2: Minimal Encoding |
| Used by | |
| Members | div1 |
| model.divPart groups paragraph-level elements appearing directly within divisions. [1.3. The TEI Class System] | |
| Module | tei — Level 2: Minimal Encoding |
| Used by | |
| Members | model.lLike model.pLike[ab p] |
| Note | Note that this element class does not include members of the model.inter class, which can appear either within or between paragraph-level items. |
| model.divTop groups elements appearing at the beginning of a text division. [4.2. Elements Common to All Divisions] | |
| Module | tei — Level 2: Minimal Encoding |
| Used by | |
| Members | model.divTopPart[model.headLike[head]] |
| model.divTopPart groups elements which can occur only at the beginning of a text division. [4.6. Title Pages] | |
| Module | tei — Level 2: Minimal Encoding |
| Used by | |
| Members | model.headLike[head] |
| model.emphLike groups phrase-level elements which are typographically distinct and to which a specific function can be attributed. [3.3. Highlighting and Quotation] | |
| Module | tei — Level 2: Minimal Encoding |
| Used by | |
| Members | emph foreign gloss term title |
| model.global groups elements which may appear at any point within a TEI text. [1.3. The TEI Class System] | |
| Module | tei — Level 2: Minimal Encoding |
| Used by | |
| Members | model.global.edit model.global.meta model.milestoneLike[lb pb] |
| model.glossLike groups elements which provide an alternative name, explanation, or description for any markup construct. | |
| Module | tei — Level 2: Minimal Encoding |
| Used by | |
| Members | gloss |
| model.graphicLike groups elements containing images, formulae, and similar objects. [3.9. Graphics and Other Non-textual Components] | |
| Module | tei — Level 2: Minimal Encoding |
| Used by | |
| Members | graphic media |
| model.headLike groups elements used to provide a title or heading at the start of a text division. | |
| Module | tei — Level 2: Minimal Encoding |
| Used by | |
| Members | head |
| model.highlighted groups phrase-level elements which are typographically distinct. [3.3. Highlighting and Quotation] | |
| Module | tei — Level 2: Minimal Encoding |
| Used by | |
| Members | model.emphLike[emph foreign gloss term title] model.hiLike |
| model.imprintPart groups the bibliographic elements which occur inside imprints. [3.11. Bibliographic Citations and References] | |
| Module | tei — Level 2: Minimal Encoding |
| Used by | |
| Members | biblScope distributor pubPlace publisher |
| model.inter groups elements which can appear either within or between paragraph-like elements. [1.3. The TEI Class System] | |
| Module | tei — Level 2: Minimal Encoding |
| Used by | |
| Members | model.biblLike[bibl biblStruct] model.egLike model.labelLike[label] model.listLike[list] model.oddDecl model.qLike[model.quoteLike[cit] q] model.stageLike |
| model.labelLike groups elements used to gloss or explain other parts of a document. | |
| Module | tei — Level 2: Minimal Encoding |
| Used by | |
| Members | label |
| model.limitedPhrase groups phrase-level elements excluding those elements primarily intended for transcription of existing sources. [1.3. The TEI Class System] | |
| Module | tei — Level 2: Minimal Encoding |
| Used by | |
| Members | model.emphLike[emph foreign gloss term title] model.hiLike model.pPart.data[model.addressLike[address email] model.dateLike[date] model.measureLike model.nameLike[model.nameLike.agent[name orgName persName] model.offsetLike model.persNamePart model.placeStateLike[model.placeNamePart] idno]] model.pPart.editorial[abbr choice expan] model.pPart.msdesc model.phrase.xml[att gi tag val] model.ptrLike[ptr ref] |
| model.linePart groups transcriptional elements which appear within lines or zones of a source-oriented transcription within a <sourceDoc> element. | |
| Module | tei — Level 2: Minimal Encoding |
| Used by | |
| Members | model.hiLike choice line zone |
| model.listLike groups list-like elements. [3.7. Lists] | |
| Module | tei — Level 2: Minimal Encoding |
| Used by | |
| Members | list |
| model.milestoneLike groups milestone-style elements used to represent reference systems. [1.3. The TEI Class System 3.10.3. Milestone Elements] | |
| Module | tei — Level 2: Minimal Encoding |
| Used by | |
| Members | lb pb |
| model.nameLike groups elements which name or refer to a person, place, or organization. | |
| Module | tei — Level 2: Minimal Encoding |
| Used by | |
| Members | model.nameLike.agent[name orgName persName] model.offsetLike model.persNamePart model.placeStateLike[model.placeNamePart] idno |
| Note | A superset of the naming elements that may appear in datelines, addresses, statements of responsibility, etc. |
| model.nameLike.agent groups elements which contain names of individuals or corporate bodies. [3.5. Names, Numbers, Dates, Abbreviations, and Addresses] | |
| Module | tei — Level 2: Minimal Encoding |
| Used by | |
| Members | name orgName persName |
| Note | This class is used in the content model of elements which reference names of people or organizations. |
| model.noteLike groups globally-available note-like elements. [3.8. Notes, Annotation, and Indexing] | |
| Module | tei — Level 2: Minimal Encoding |
| Used by | |
| Members | note |
| model.pLike groups paragraph-like elements. | |
| Module | tei — Level 2: Minimal Encoding |
| Used by | |
| Members | ab p |
| model.pPart.data groups phrase-level elements containing names, dates, numbers, measures, and similar data. [3.5. Names, Numbers, Dates, Abbreviations, and Addresses] | |
| Module | tei — Level 2: Minimal Encoding |
| Used by | |
| Members | model.addressLike[address email] model.dateLike[date] model.measureLike model.nameLike[model.nameLike.agent[name orgName persName] model.offsetLike model.persNamePart model.placeStateLike[model.placeNamePart] idno] |
| model.pPart.edit groups phrase-level elements for simple editorial correction and transcription. [3.4. Simple Editorial Changes] | |
| Module | tei — Level 2: Minimal Encoding |
| Used by | |
| Members | model.pPart.editorial[abbr choice expan] model.pPart.transcriptional |
| model.pPart.editorial groups phrase-level elements for simple editorial interventions that may be useful both in transcribing and in authoring. [3.4. Simple Editorial Changes] | |
| Module | tei — Level 2: Minimal Encoding |
| Used by | |
| Members | abbr choice expan |
| model.phrase groups elements which can occur at the level of individual words or phrases. [1.3. The TEI Class System] | |
| Module | tei — Level 2: Minimal Encoding |
| Used by | |
| Members | model.graphicLike[graphic media] model.highlighted[model.emphLike[emph foreign gloss term title] model.hiLike] model.lPart model.pPart.data[model.addressLike[address email] model.dateLike[date] model.measureLike model.nameLike[model.nameLike.agent[name orgName persName] model.offsetLike model.persNamePart model.placeStateLike[model.placeNamePart] idno]] model.pPart.edit[model.pPart.editorial[abbr choice expan] model.pPart.transcriptional] model.pPart.msdesc model.phrase.xml[att gi tag val] model.ptrLike[ptr ref] model.segLike model.specDescLike |
| Note | This class of elements can occur within paragraphs, list items, lines of verse, etc. |
| model.phrase.xml groups phrase-level elements used to encode XML constructs such as element names, attribute names, and attribute values [22. Documentation Elements] | |
| Module | tei — Level 2: Minimal Encoding |
| Used by | |
| Members | att gi tag val |
| model.placeStateLike groups elements which describe changing states of a place. | |
| Module | tei — Level 2: Minimal Encoding |
| Used by | |
| Members | model.placeNamePart |
| model.profileDescPart groups elements which may be used inside <profileDesc> and appear multiple times. | |
| Module | tei — Level 2: Minimal Encoding |
| Used by | |
| Members | langUsage textClass |
| model.ptrLike groups elements used for purposes of location and reference. [3.6. Simple Links and Cross-References] | |
| Module | tei — Level 2: Minimal Encoding |
| Used by | |
| Members | ptr ref |
| model.publicationStmtPart.agency groups the child elements of a <publicationStmt> element of the TEI header that indicate an authorising agent. [2.2.4. Publication, Distribution, Licensing, etc.] | |
| Module | tei — Level 2: Minimal Encoding |
| Used by | |
| Members | distributor publisher |
| Note | The ‘agency’ child elements, while not required, are required if one of the ‘detail’ child elements is to be used. It is not valid to have a ‘detail’ child element without a preceding ‘agency’ child element. See also model.publicationStmtPart.detail. |
| model.publicationStmtPart.detail groups the agency-specific child elements of the <publicationStmt> element of the TEI header. [2.2.4. Publication, Distribution, Licensing, etc.] | |
| Module | tei — Level 2: Minimal Encoding |
| Used by | |
| Members | model.ptrLike[ptr ref] address availability date idno pubPlace |
| Note | A ‘detail’ child element may not occur unless an ‘agency’ child element precedes it. See also model.publicationStmtPart.agency. |
| model.qLike groups elements related to highlighting which can appear either within or between chunk-level elements. [3.3. Highlighting and Quotation] | |
| Module | tei — Level 2: Minimal Encoding |
| Used by | |
| Members | model.quoteLike[cit] q |
| model.quoteLike groups elements used to directly contain quotations. | |
| Module | tei — Level 2: Minimal Encoding |
| Used by | |
| Members | cit |
| model.respLike groups elements which are used to indicate intellectual or other significant responsibility, for example within a bibliographic element. | |
| Module | tei — Level 2: Minimal Encoding |
| Used by | |
| Members | author editor respStmt |
| att.BPTL.div.typed provides a recommended set of values describing common text divisions which can be used to classify sections of text. | |||||||||
| Module | derived-module-bptl-L2 | ||||||||
| Members | div | ||||||||
| Attributes | Attributes
| ||||||||
| att.ascribed provides attributes for elements representing speech or action that can be ascribed to a specific individual. [3.3.3. Quotation 8.3. Elements Unique to Spoken Texts] | |||||||||||
| Module | tei — Level 2: Minimal Encoding | ||||||||||
| Members | q | ||||||||||
| Attributes | Attributes
| ||||||||||
| att.breaking provides an attribute to indicate whether or not the element concerned is considered to mark the end of an orthographic token in the same way as whitespace. [3.10.3. Milestone Elements] | |||||||||||
| Module | tei — Level 2: Minimal Encoding | ||||||||||
| Members | lb pb | ||||||||||
| Attributes | Attributes
| ||||||||||
| att.cReferencing provides an attribute which may be used to supply a canonical reference as a means of identifying the target of a pointer. | |||||||||
| Module | tei — Level 2: Minimal Encoding | ||||||||
| Members | gloss term | ||||||||
| Attributes | Attributes
| ||||||||
| att.canonical provides attributes which can be used to associate a representation such as a name or title with canonical information about the object being named or referenced. [13.1.1. Linking Names and Their Referents] | |||||||||||||||||||||||
| Module | tei — Level 2: Minimal Encoding | ||||||||||||||||||||||
| Members | author resp respStmt term title | ||||||||||||||||||||||
| Attributes | Attributes
| ||||||||||||||||||||||
| att.citing provides attributes for specifying the specific part of a bibliographic item being cited. [1.3.1. Attribute Classes] | |||||||||||||||||||||
| Module | tei — Level 2: Minimal Encoding | ||||||||||||||||||||
| Members | biblScope citedRange | ||||||||||||||||||||
| Attributes | Attributes
| ||||||||||||||||||||
| att.coordinated provides attributes which can be used to position their parent element within a two dimensional coordinate system. | |||||||||||||||||||||||||||||||||||||
| Module | transcr — Level 2: Minimal Encoding | ||||||||||||||||||||||||||||||||||||
| Members | line surface zone | ||||||||||||||||||||||||||||||||||||
| Attributes | Attributes
| ||||||||||||||||||||||||||||||||||||
| att.datable provides attributes for normalization of elements that contain dates, times, or datable events. [3.5.4. Dates and Times 13.3.6. Dates and Times] | |||||||||||||||||||
| Module | tei — Level 2: Minimal Encoding | ||||||||||||||||||
| Members | application date idno licence name resp title | ||||||||||||||||||
| Attributes | Attributes att.datable.w3c (@when, @notBefore, @notAfter, @from, @to) att.datable.custom (@when-custom, @notBefore-custom, @notAfter-custom, @from-custom, @to-custom, @datingPoint, @datingMethod)
| ||||||||||||||||||
| Note | This ‘superclass’ provides attributes that can be used to provide normalized values of temporal information. By default, the attributes from the att.datable.w3c class are provided. If the module for names & dates is loaded, this class also provides attributes from the att.datable.iso and att.datable.custom classes. In general, the possible values of attributes restricted to the W3C datatypes form a subset of those values available via the ISO 8601 standard. However, the greater expressiveness of the ISO datatypes may not be needed, and there exists much greater software support for the W3C datatypes. | ||||||||||||||||||
| att.datable.custom provides attributes for normalization of elements that contain datable events to a custom dating system (i.e. other than the Gregorian used by W3 and ISO). [13.3.6. Dates and Times] | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| Module | namesdates — Level 2: Minimal Encoding | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| Members | att.datable[application date idno licence name resp title] | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| Attributes | Attributes
| ||||||||||||||||||||||||||||||||||||||||||||||||||||
| att.datable.w3c provides attributes for normalization of elements that contain datable events conforming to the W3C XML Schema Part 2: Datatypes Second Edition. [3.5.4. Dates and Times 13.3.6. Dates and Times] | |||||||||||||||||||||||||||||||||||||
| Module | tei — Level 2: Minimal Encoding | ||||||||||||||||||||||||||||||||||||
| Members | att.datable[application date idno licence name resp title] | ||||||||||||||||||||||||||||||||||||
| Attributes | Attributes
| ||||||||||||||||||||||||||||||||||||
| Schematron |
<sch:rule context="tei:*[@when]">
<sch:report test="@notBefore|@notAfter|@from|@to"
role="nonfatal">The @when attribute cannot be used with any other att.datable.w3c attributes.</sch:report>
</sch:rule> | ||||||||||||||||||||||||||||||||||||
| Schematron |
<sch:rule context="tei:*[@from]">
<sch:report test="@notBefore"
role="nonfatal">The @from and @notBefore attributes cannot be used together.</sch:report>
</sch:rule> | ||||||||||||||||||||||||||||||||||||
| Schematron |
<sch:rule context="tei:*[@to]">
<sch:report test="@notAfter"
role="nonfatal">The @to and @notAfter attributes cannot be used together.</sch:report>
</sch:rule> | ||||||||||||||||||||||||||||||||||||
| Example | <date from="1863-05-28" to="1863-06-01">28 May through 1 June 1863</date> | ||||||||||||||||||||||||||||||||||||
| Note | The value of these attributes should be a normalized representation of the date, time, or combined date & time intended, in any of the standard formats specified by XML Schema Part 2: Datatypes Second Edition, using the Gregorian calendar. The most commonly-encountered format for the date portion of a temporal attribute is Note that this format does not currently permit use of the value 0000 to represent the year 1 BCE; instead the value -0001 should be used. | ||||||||||||||||||||||||||||||||||||
| att.dimensions provides attributes for describing the size of physical objects. | |||||||||||||||||||||||||||||||||||||||
| Module | tei — Level 2: Minimal Encoding | ||||||||||||||||||||||||||||||||||||||
| Members | date | ||||||||||||||||||||||||||||||||||||||
| Attributes | Attributes att.ranging (@atLeast, @atMost, @min, @max, @confidence)
| ||||||||||||||||||||||||||||||||||||||
| att.docStatus provides attributes for use on metadata elements describing the status of a document. | |||||||||
| Module | tei — Level 2: Minimal Encoding | ||||||||
| Members | bibl biblStruct change revisionDesc | ||||||||
| Attributes | Attributes
| ||||||||
| Example | <revisionDesc status="published">
<change when="2010-10-21"
status="published"/>
<change when="2010-10-02" status="cleared"/>
<change when="2010-08-02"
status="embargoed"/>
<change when="2010-05-01" status="frozen"
who="#MSM"/>
<change when="2010-03-01" status="draft"
who="#LB"/>
</revisionDesc> | ||||||||
| att.edition provides attributes identifying the source edition from which some encoded feature derives. | |||||||||||||
| Module | tei — Level 2: Minimal Encoding | ||||||||||||
| Members | lb | ||||||||||||
| Attributes | Attributes
| ||||||||||||
| Example | <l>Of Mans First Disobedience,<lb ed="1674"/> and<lb ed="1667"/> the Fruit</l>
<l>Of that Forbidden Tree, whose<lb ed="1667 1674"/> mortal tast</l>
<l>Brought Death into the World,<lb ed="1667"/> and all<lb ed="1674"/> our woe,</l> | ||||||||||||
| Example | <listBibl>
<bibl xml:id="stapledon1937">
<author>Olaf Stapledon</author>,
<title>Starmaker</title>, <publisher>Methuen</publisher>, <date>1937</date>
</bibl>
<bibl xml:id="stapledon1968">
<author>Olaf Stapledon</author>,
<title>Starmaker</title>, <publisher>Dover</publisher>, <date>1968</date>
</bibl>
</listBibl>
<!-- ... -->
<p>Looking into the future aeons from the supreme moment of
the cosmos, I saw the populations still with all their
strength maintaining the<pb n="411" edRef="#stapledon1968"/>essentials of their ancient culture,
still living their personal lives in zest and endless
novelty of action, … I saw myself still
preserving, though with increasing difficulty, my lucid
con-<pb n="291" edRef="#stapledon1937"/>sciousness;</p> | ||||||||||||
| att.fragmentable provides an attribute for representing fragmentation of a structural element, typically as a consequence of some overlapping hierarchy. | |||||||||||
| Module | tei — Level 2: Minimal Encoding | ||||||||||
| Members | p | ||||||||||
| Attributes | Attributes
| ||||||||||
| att.global provides attributes common to all elements in the TEI encoding scheme. [1.3.1.1. Global Attributes] | |||||||||||||||||||||||||||||||||||||
| Module | tei — Level 2: Minimal Encoding | ||||||||||||||||||||||||||||||||||||
| Members | TEI ab abbr addrLine address analytic appInfo application att author availability back bibl biblScope biblStruct body change choice cit citedRange classCode classDecl correction date distributor div div1 edition editionStmt editor editorialDecl email emph encodingDesc expan extent facsimile fileDesc foreign front gi gloss graphic head hyphenation idno imprint item keywords label langUsage language lb licence line list listPrefixDef media monogr name namespace normalization note notesStmt orgName p pb persName postBox postCode prefixDef profileDesc projectDesc ptr pubPlace publicationStmt publisher punctuation q quotation ref relatedItem rendition resp respStmt revisionDesc samplingDecl schemaRef series seriesStmt sourceDesc sourceDoc street surface surfaceGrp tag tagUsage tagsDecl term text textClass textLang title titleStmt val zone | ||||||||||||||||||||||||||||||||||||
| Attributes | Attributes att.global.rendition (@style) att.global.facs (@facs) att.global.change (@change) att.global.responsibility (@cert, @resp) att.global.source (@source)
| ||||||||||||||||||||||||||||||||||||
| att.global.facs provides an attribute used to express correspondence between an element containing transcribed text and all or part of an image representing that text. [11.1. Digital Facsimiles] | |||||||
| Module | transcr — Level 2: Minimal Encoding | ||||||
| Members | att.global[TEI ab abbr addrLine address analytic appInfo application att author availability back bibl biblScope biblStruct body change choice cit citedRange classCode classDecl correction date distributor div div1 edition editionStmt editor editorialDecl email emph encodingDesc expan extent facsimile fileDesc foreign front gi gloss graphic head hyphenation idno imprint item keywords label langUsage language lb licence line list listPrefixDef media monogr name namespace normalization note notesStmt orgName p pb persName postBox postCode prefixDef profileDesc projectDesc ptr pubPlace publicationStmt publisher punctuation q quotation ref relatedItem rendition resp respStmt revisionDesc samplingDecl schemaRef series seriesStmt sourceDesc sourceDoc street surface surfaceGrp tag tagUsage tagsDecl term text textClass textLang title titleStmt val zone] | ||||||
| Attributes | Attributes
| ||||||
| att.global.rendition provides rendering attributes common to all elements in the TEI encoding scheme. [1.3.1.1.3. Rendition Indicators] | |||||||||||
| Module | tei — Level 2: Minimal Encoding | ||||||||||
| Members | att.global[TEI ab abbr addrLine address analytic appInfo application att author availability back bibl biblScope biblStruct body change choice cit citedRange classCode classDecl correction date distributor div div1 edition editionStmt editor editorialDecl email emph encodingDesc expan extent facsimile fileDesc foreign front gi gloss graphic head hyphenation idno imprint item keywords label langUsage language lb licence line list listPrefixDef media monogr name namespace normalization note notesStmt orgName p pb persName postBox postCode prefixDef profileDesc projectDesc ptr pubPlace publicationStmt publisher punctuation q quotation ref relatedItem rendition resp respStmt revisionDesc samplingDecl schemaRef series seriesStmt sourceDesc sourceDoc street surface surfaceGrp tag tagUsage tagsDecl term text textClass textLang title titleStmt val zone] | ||||||||||
| Attributes | Attributes
| ||||||||||
| att.global.responsibility provides attributes indicating the agent responsible for some aspect of the text, the markup or something asserted by the markup, and the degree of certainty associated with it. [1.3.1.1.4. Sources, certainty, and responsibility 3.4. Simple Editorial Changes 11.3.2.2. Hand, Responsibility, and Certainty Attributes 17.3. Spans and Interpretations 13.1.1. Linking Names and Their Referents] | |||||||||||||||
| Module | tei — Level 2: Minimal Encoding | ||||||||||||||
| Members | att.global[TEI ab abbr addrLine address analytic appInfo application att author availability back bibl biblScope biblStruct body change choice cit citedRange classCode classDecl correction date distributor div div1 edition editionStmt editor editorialDecl email emph encodingDesc expan extent facsimile fileDesc foreign front gi gloss graphic head hyphenation idno imprint item keywords label langUsage language lb licence line list listPrefixDef media monogr name namespace normalization note notesStmt orgName p pb persName postBox postCode prefixDef profileDesc projectDesc ptr pubPlace publicationStmt publisher punctuation q quotation ref relatedItem rendition resp respStmt revisionDesc samplingDecl schemaRef series seriesStmt sourceDesc sourceDoc street surface surfaceGrp tag tagUsage tagsDecl term text textClass textLang title titleStmt val zone] | ||||||||||||||
| Attributes | Attributes
| ||||||||||||||
| Example | Blessed are the
<choice>
<sic>cheesemakers</sic>
<corr resp="#editor" cert="high">peacemakers</corr>
</choice>: for they shall be called the children of God. | ||||||||||||||
| Example |
<!-- in the <text> ... --><lg>
<!-- ... -->
<l>Punkes, Panders, baſe extortionizing
sla<choice>
<sic>n</sic>
<corr resp="#JENS1_transcriber">u</corr>
</choice>es,</l>
<!-- ... -->
</lg>
<!-- in the <teiHeader> ... -->
<!-- ... -->
<respStmt xml:id="JENS1_transcriber">
<resp when="2014">Transcriber</resp>
<name>Janelle Jenstad</name>
</respStmt> | ||||||||||||||
| att.global.source provides an attribute used by elements to point to an external source. [1.3.1.1.4. Sources, certainty, and responsibility 3.3.3. Quotation 8.3.4. Writing] | |||||||||
| Module | tei — Level 2: Minimal Encoding | ||||||||
| Members | att.global[TEI ab abbr addrLine address analytic appInfo application att author availability back bibl biblScope biblStruct body change choice cit citedRange classCode classDecl correction date distributor div div1 edition editionStmt editor editorialDecl email emph encodingDesc expan extent facsimile fileDesc foreign front gi gloss graphic head hyphenation idno imprint item keywords label langUsage language lb licence line list listPrefixDef media monogr name namespace normalization note notesStmt orgName p pb persName postBox postCode prefixDef profileDesc projectDesc ptr pubPlace publicationStmt publisher punctuation q quotation ref relatedItem rendition resp respStmt revisionDesc samplingDecl schemaRef series seriesStmt sourceDesc sourceDoc street surface surfaceGrp tag tagUsage tagsDecl term text textClass textLang title titleStmt val zone] | ||||||||
| Attributes | Attributes
| ||||||||
| Example | <p>
<!-- ... --> As Willard McCarty (<bibl xml:id="mcc_2012">2012, p.2</bibl>) tells us, <quote source="#mcc_2012">‘Collaboration’ is a problematic and should be a contested
term.</quote>
<!-- ... -->
</p> | ||||||||
| Example | <p>
<!-- ... -->
<quote source="#chicago_15_ed">Grammatical theories are in flux, and the more we learn, the
less we seem to know.</quote>
<!-- ... -->
</p>
<!-- ... -->
<bibl xml:id="chicago_15_ed">
<title level="m">The Chicago Manual of Style</title>,
<edition>15th edition</edition>. <pubPlace>Chicago</pubPlace>: <publisher>University of
Chicago Press</publisher> (<date>2003</date>), <biblScope unit="page">p.147</biblScope>.
</bibl> | ||||||||
| Example | <elementRef key="p" source="tei:2.0.1"/> Include in the schema an element named <p> available from the TEI P5 2.0.1 release. | ||||||||
| Example | <schemaSpec ident="myODD"
source="mycompiledODD.xml">
<!-- further declarations specifying the components required -->
</schemaSpec> Create a schema using components taken from the file mycompiledODD.xml. | ||||||||
| att.internetMedia provides attributes for specifying the type of a computer resource using a standard taxonomy. | |||||||
| Module | tei — Level 2: Minimal Encoding | ||||||
| Members | att.media[graphic] ptr ref | ||||||
| Attributes | Attributes
| ||||||
| Example | In this example mimeType is used to indicate that the URL points to a TEI XML file encoded in UTF-8. <ref mimeType="application/tei+xml; charset=UTF-8"
target="http://sourceforge.net/p/tei/code/HEAD/tree/trunk/P5/Source/guidelines-en.xml"/> | ||||||
| Note | This attribute class provides an attribute for describing a computer resource, typically available over the internet, using a value taken from a standard taxonomy. At present only a single taxonomy is supported, the Multipurpose Internet Mail Extensions (MIME) Media Type system. This typology of media types is defined by the Internet Engineering Task Force in RFC 2046. The list of types is maintained by the Internet Assigned Numbers Authority (IANA). The mimeType attribute must have a value taken from this list. | ||||||
| att.media provides attributes for specifying display and related properties of external media. | |||||||||||||||||||
| Module | tei — Level 2: Minimal Encoding | ||||||||||||||||||
| Members | graphic | ||||||||||||||||||
| Attributes | Attributes att.internetMedia (@mimeType)
| ||||||||||||||||||
| att.patternReplacement provides attributes for regular-expression matching and replacement. [16.2.3. Using Abbreviated Pointers 2.3.6.3. Milestone Method 2.3.6. The Reference System Declaration 2.3.6.2. Search-and-Replace Method] | |||||||||||||||||
| Module | header — Level 2: Minimal Encoding | ||||||||||||||||
| Members | prefixDef | ||||||||||||||||
| Attributes | Attributes
| ||||||||||||||||
| att.personal (attributes for components of names usually, but not necessarily, personal names) common attributes for those elements which form part of a name usually, but not necessarily, a personal name. [13.2.1. Personal Names] | |||||||||||||||
| Module | tei — Level 2: Minimal Encoding | ||||||||||||||
| Members | name orgName persName | ||||||||||||||
| Attributes | Attributes
| ||||||||||||||
| att.pointing provides a set of attributes used by all elements which point to other elements by means of one or more URI references. [1.3.1.1.2. Language Indicators 3.6. Simple Links and Cross-References] | |||||||||
| Module | tei — Level 2: Minimal Encoding | ||||||||
| Members | citedRange gloss licence ptr ref term | ||||||||
| Attributes | Attributes
| ||||||||
| att.ranging provides attributes for describing numerical ranges. | |||||||||||||||||||||||||||||||
| Module | tei — Level 2: Minimal Encoding | ||||||||||||||||||||||||||||||
| Members | att.dimensions[date] | ||||||||||||||||||||||||||||||
| Attributes | Attributes
| ||||||||||||||||||||||||||||||
| Example | The MS. was lost in transmission by mail from <del rend="overstrike">
<gap reason="illegible"
extent="one or two letters" atLeast="1" atMost="2" unit="chars"/>
</del> Philadelphia to the Graphic office, New York.
| ||||||||||||||||||||||||||||||
| att.resourced provides attributes by which a resource (such as an externally held media file) may be located. | |||||||
| Module | tei — Level 2: Minimal Encoding | ||||||
| Members | graphic media | ||||||
| Attributes | Attributes
| ||||||
| att.sortable provides attributes for elements in lists or groups that are sortable, but whose sorting key cannot be derived mechanically from the element content. [9.1. Dictionary Body and Overall Structure] | |||||||||||
| Module | tei — Level 2: Minimal Encoding | ||||||||||
| Members | bibl biblStruct idno item list term | ||||||||||
| Attributes | Attributes
| ||||||||||
| att.spanning provides attributes for elements which delimit a span of text by pointing mechanisms rather than by enclosing it. [11.3.1.4. Additions and Deletions 1.3.1. Attribute Classes] | |||||||||
| Module | tei — Level 2: Minimal Encoding | ||||||||
| Members | lb pb | ||||||||
| Attributes | Attributes
| ||||||||
| Note | The span is defined as running in document order from the start of the content of the pointing element to the end of the content of the element pointed to by the spanTo attribute (if any). If no value is supplied for the attribute, the assumption is that the span is coextensive with the pointing element. If no content is present, the assumption is that the starting point of the span is immediately following the element itself. | ||||||||
| att.timed provides attributes common to those elements which have a duration in time, expressed either absolutely or by reference to an alignment map. [8.3.5. Temporal Information] | |||||||||||||||||
| Module | tei — Level 2: Minimal Encoding | ||||||||||||||||
| Members | media | ||||||||||||||||
| Attributes | Attributes
| ||||||||||||||||
| att.translatable provides attributes used to indicate the status of a translatable portion of an ODD document. | |||||||||
| Module | tei — Level 2: Minimal Encoding | ||||||||
| Members | gloss | ||||||||
| Attributes | Attributes
| ||||||||
| att.typed provides attributes which can be used to classify or subclassify elements in any way. [1.3.1. Attribute Classes 17.1.1. Words and Above 3.5.1. Referring Strings 3.6. Simple Links and Cross-References 3.5.5. Abbreviations and Their Expansions 3.12.1. Core Tags for Verse 7.2.5. Speech Contents 4.1.1. Un-numbered Divisions 4.1.2. Numbered Divisions 4.2.1. Headings and Trailers 4.4. Virtual Divisions 13.3.2.3. Personal Relationships 11.3.1.1. Core Elements for Transcriptional Work 16.1.1. Pointers and Links 16.3. Blocks, Segments, and Anchors 12.2. Linking the Apparatus to the Text 22.5.1.2. Defining Content Models: RELAX NG 8.3. Elements Unique to Spoken Texts 23.3.1.4. Modification of Attribute and Attribute Value Lists] | |||||||||||
| Module | tei — Level 2: Minimal Encoding | ||||||||||
| Members | ab application bibl biblStruct change cit date gloss head label lb line media name note orgName pb persName ptr ref relatedItem schemaRef surface surfaceGrp term text zone | ||||||||||
| Attributes | Attributes
| ||||||||||
| Schematron |
<sch:rule context="tei:*[@subtype]">
<sch:assert test="@type">The <sch:name/> element should not be categorized in detail with @subtype unless also categorized in general with @type</sch:assert>
</sch:rule> | ||||||||||
| Note | When appropriate, values from an established typology should be used. Alternatively a typology may be defined in the associated TEI header. If values are to be taken from a project-specific list, this should be defined using the <valList> element in the project-specific schema description, as described in 23.3.1.4. Modification of Attribute and Attribute Value Lists . | ||||||||||
| att.written provides an attribute to indicate the hand in which the textual content of an element was written in the source being transcribed. [1.3.1. Attribute Classes] | |||||||
| Module | tei — Level 2: Minimal Encoding | ||||||
| Members | div label line note p text zone | ||||||
| Attributes | Attributes
| ||||||
| macro.limitedContent (paragraph content) defines the content of prose elements that are not used for transcription of extant materials. [1.3. The TEI Class System] | |
| Module | tei — Level 2: Minimal Encoding |
| Used by | |
| Content model |
<content>
<alternate minOccurs="0"
maxOccurs="unbounded">
<textNode/>
<classRef key="model.limitedPhrase"/>
<classRef key="model.inter"/>
</alternate>
</content>
|
| Declaration | L2_macro.limitedContent = ( text | L2_model.limitedPhrase | L2_model.inter )* |
| macro.paraContent (paragraph content) defines the content of paragraphs and similar elements. [1.3. The TEI Class System] | |
| Module | tei — Level 2: Minimal Encoding |
| Used by | |
| Content model |
<content>
<alternate minOccurs="0"
maxOccurs="unbounded">
<textNode/>
<classRef key="model.gLike"/>
<classRef key="model.phrase"/>
<classRef key="model.inter"/>
<classRef key="model.global"/>
<elementRef key="lg"/>
<classRef key="model.lLike"/>
</alternate>
</content>
|
| Declaration |
L2_macro.paraContent =
(
text
| L2_model.gLike
| L2_model.phrase
| L2_model.inter
| L2_model.global
| lg
| L2_model.lLike
)* |
| macro.phraseSeq (phrase sequence) defines a sequence of character data and phrase-level elements. [1.4.1. Standard Content Models] | |
| Module | tei — Level 2: Minimal Encoding |
| Used by | |
| Content model |
<content>
<alternate minOccurs="0"
maxOccurs="unbounded">
<textNode/>
<classRef key="model.gLike"/>
<classRef key="model.phrase"/>
<classRef key="model.global"/>
</alternate>
</content>
|
| Declaration | L2_macro.phraseSeq = ( text | L2_model.gLike | L2_model.phrase | L2_model.global )* |
| macro.phraseSeq.limited (limited phrase sequence) defines a sequence of character data and those phrase-level elements that are not typically used for transcribing extant documents. [1.4.1. Standard Content Models] | |
| Module | tei — Level 2: Minimal Encoding |
| Used by | |
| Content model |
<content>
<alternate minOccurs="0"
maxOccurs="unbounded">
<textNode/>
<classRef key="model.limitedPhrase"/>
<classRef key="model.global"/>
</alternate>
</content>
|
| Declaration | L2_macro.phraseSeq.limited = ( text | L2_model.limitedPhrase | L2_model.global )* |
| macro.specialPara ('special' paragraph content) defines the content model of elements such as notes or list items, which either contain a series of component-level elements or else have the same structure as a paragraph, containing a series of phrase-level and inter-level elements. [1.3. The TEI Class System] | |
| Module | tei — Level 2: Minimal Encoding |
| Used by | |
| Content model |
<content>
<alternate minOccurs="0"
maxOccurs="unbounded">
<textNode/>
<classRef key="model.gLike"/>
<classRef key="model.phrase"/>
<classRef key="model.inter"/>
<classRef key="model.divPart"/>
<classRef key="model.global"/>
</alternate>
</content>
|
| Declaration |
L2_macro.specialPara =
(
text
| L2_model.gLike
| L2_model.phrase
| L2_model.inter
| L2_model.divPart
| L2_model.global
)* |
| lib.teins | |
| Module | derived-module-bptl-L2 |
| Used by | Element:
|
| Content model |
<content>
<valList type="closed">
<valItem ident="http://www.tei-c.org/ns/1.0"/>
</valList>
</content>
|
| Declaration | L2_lib.teins = "http://www.tei-c.org/ns/1.0" |
| teidata.certainty defines the range of attribute values expressing a degree of certainty. | |
| Module | tei — Level 2: Minimal Encoding |
| Used by | |
| Content model |
<content>
<valList type="closed">
<valItem ident="high"/>
<valItem ident="medium"/>
<valItem ident="low"/>
<valItem ident="unknown"/>
</valList>
</content>
|
| Declaration | L2_teidata.certainty = "high" | "medium" | "low" | "unknown" |
| Note | Certainty may be expressed by one of the predefined symbolic values high, medium, or low. The value unknown should be used in cases where the encoder does not wish to assert an opinion about the matter. |
| teidata.count defines the range of attribute values used for a non-negative integer value used as a count. | |
| Module | tei — Level 2: Minimal Encoding |
| Used by | |
| Content model |
<content>
<dataRef name="nonNegativeInteger"/>
</content>
|
| Declaration | L2_teidata.count = xsd:nonNegativeInteger |
| Note | Any positive integer value or zero is permitted |
| teidata.duration.iso defines the range of attribute values available for representation of a duration in time using ISO 8601 standard formats | |
| Module | tei — Level 2: Minimal Encoding |
| Used by | |
| Content model |
<content>
<dataRef name="token"
restriction="[0-9.,DHMPRSTWYZ/:+\-]+"/>
</content>
|
| Declaration |
L2_teidata.duration.iso = token { pattern = "[0-9.,DHMPRSTWYZ/:+\-]+" } |
| Example | <time dur-iso="PT0,75H">three-quarters of an hour</time> |
| Example | <date dur-iso="P1,5D">a day and a half</date> |
| Example | <date dur-iso="P14D">a fortnight</date> |
| Example | <time dur-iso="PT0.02S">20 ms</time> |
| Note | A duration is expressed as a sequence of number-letter pairs, preceded by the letter P; the letter gives the unit and may be Y (year), M (month), D (day), H (hour), M (minute), or S (second), in that order. The numbers are all unsigned integers, except for the last, which may have a decimal component (using either For complete details, see ISO 8601 Data elements and interchange formats — Information interchange — Representation of dates and times. |
| teidata.duration.w3c defines the range of attribute values available for representation of a duration in time using W3C datatypes. | |
| Module | tei — Level 2: Minimal Encoding |
| Used by | |
| Content model |
<content>
<dataRef name="duration"/>
</content>
|
| Declaration | L2_teidata.duration.w3c = xsd:duration |
| Example | <time dur="PT45M">forty-five minutes</time> |
| Example | <date dur="P1DT12H">a day and a half</date> |
| Example | <date dur="P7D">a week</date> |
| Example | <time dur="PT0.02S">20 ms</time> |
| Note | A duration is expressed as a sequence of number-letter pairs, preceded by the letter P; the letter gives the unit and may be Y (year), M (month), D (day), H (hour), M (minute), or S (second), in that order. The numbers are all unsigned integers, except for the For complete details, see the W3C specification. |
| teidata.enumerated defines the range of attribute values expressed as a single XML name taken from a list of documented possibilities. | |
| Module | tei — Level 2: Minimal Encoding |
| Used by | Element:
|
| Content model |
<content>
<dataRef key="teidata.word"/>
</content>
|
| Declaration | L2_teidata.enumerated = teidata.word |
| Note | Attributes using this datatype must contain a single ‘word’ which contains only letters, digits, punctuation characters, or symbols: thus it cannot include whitespace. Typically, the list of documented possibilities will be provided (or exemplified) by a value list in the associated attribute specification, expressed with a <valList> element. |
| teidata.language defines the range of attribute values used to identify a particular combination of human language and writing system. [6.1. Language Identification] | |
| Module | tei — Level 2: Minimal Encoding |
| Used by | |
| Content model |
<content>
<alternate>
<dataRef name="language"/>
<valList>
<valItem ident=""/>
</valList>
</alternate>
</content>
|
| Declaration | L2_teidata.language = xsd:language | ( "" ) |
| Note | The values for this attribute are language ‘tags’ as defined in BCP 47. Currently BCP 47 comprises RFC 5646 and RFC 4647; over time, other IETF documents may succeed these as the best current practice. A ‘language tag’, per BCP 47, is assembled from a sequence of components or subtags separated by the hyphen character (-, U+002D). The tag is made of the following subtags, in the following order. Every subtag except the first is optional. If present, each occurs only once, except the fourth and fifth components (variant and extension), which are repeatable.
There are two exceptions to the above format. First, there are language tags in the IANA registry that do not match the above syntax, but are present because they have been ‘grandfathered’ from previous specifications. Second, an entire language tag can consist of only a private use subtag. These tags start with Examples include
The W3C Internationalization Activity has published a useful introduction to BCP 47, Language tags in HTML and XML. |
| teidata.name defines the range of attribute values expressed as an XML Name. | |
| Module | tei — Level 2: Minimal Encoding |
| Used by | |
| Content model |
<content>
<dataRef name="Name"/>
</content>
|
| Declaration | L2_teidata.name = xsd:Name |
| Note | Attributes using this datatype must contain a single word which follows the rules defining a legal XML name (see http://www.w3.org/TR/REC-xml/#dt-name): for example they cannot include whitespace or begin with digits. |
| teidata.namespace defines the range of attribute values used to indicate XML namespaces as defined by the W3C Namespaces in XML Technical Recommendation. | |
| Module | tei — Level 2: Minimal Encoding |
| Used by | |
| Content model |
<content>
<dataRef name="anyURI"/>
</content>
|
| Declaration | L2_teidata.namespace = xsd:anyURI |
| Note | The range of syntactically valid values is defined by RFC 3986 Uniform Resource Identifier (URI): Generic Syntax |
| teidata.numeric defines the range of attribute values used for numeric values. | |
| Module | tei — Level 2: Minimal Encoding |
| Used by | |
| Content model |
<content>
<alternate>
<dataRef name="double"/>
<dataRef name="token"
restriction="(\-?[\d]+/\-?[\d]+)"/>
<dataRef name="decimal"/>
</alternate>
</content>
|
| Declaration |
L2_teidata.numeric =
xsd:double | token { pattern = "(\-?[\d]+/\-?[\d]+)" } | xsd:decimal |
| Note | Any numeric value, represented as a decimal number, in floating point format, or as a ratio. To represent a floating point number, expressed in scientific notation, ‘E notation’, a variant of ‘exponential notation’, may be used. In this format, the value is expressed as two numbers separated by the letter E. The first number, the significand (sometimes called the mantissa) is given in decimal format, while the second is an integer. The value is obtained by multiplying the mantissa by 10 the number of times indicated by the integer. Thus the value represented in decimal notation as 1000.0 might be represented in scientific notation as 10E3. A value expressed as a ratio is represented by two integer values separated by a solidus (/) character. Thus, the value represented in decimal notation as 0.5 might be represented as a ratio by the string 1/2. |
| teidata.outputMeasurement defines a range of values for use in specifying the size of an object that is intended for display. | |
| Module | tei — Level 2: Minimal Encoding |
| Used by | |
| Content model |
<content>
<dataRef name="token"
restriction="[\-+]?\d+(\.\d+)?(%|cm|mm|in|pt|pc|px|em|ex|gd|rem|vw|vh|vm)"/>
</content>
|
| Declaration |
L2_teidata.outputMeasurement =
token
{
pattern = "[\-+]?\d+(\.\d+)?(%|cm|mm|in|pt|pc|px|em|ex|gd|rem|vw|vh|vm)"
} |
| Example | <figure>
<head>The TEI Logo</head>
<figDesc>Stylized yellow angle brackets with the letters <mentioned>TEI</mentioned> in
between and <mentioned>text encoding initiative</mentioned> underneath, all on a white
background.</figDesc>
<graphic height="600px" width="600px"
url="http://www.tei-c.org/logos/TEI-600.jpg"/>
</figure> |
| Note | These values map directly onto the values used by XSL-FO and CSS. For definitions of the units see those specifications; at the time of this writing the most complete list is in the CSS3 working draft. |
| teidata.pattern defines attribute values which are expressed as a regular expression. | |
| Module | tei — Level 2: Minimal Encoding |
| Used by | |
| Content model |
<content>
<dataRef name="token"/>
</content>
|
| Declaration | L2_teidata.pattern = token |
| Note | A regular expression, often called a pattern, is an expression that describes a set of strings. They are usually used to give a concise description of a set, without having to list all elements. For example, the set containing the three strings Handel, Händel, and Haendel can be described by the pattern WikipediaH(ä|ae?)ndel (or alternatively, it is said that the pattern H(ä|ae?)ndel matches each of the three strings)This TEI datatype is mapped to the XSD token datatype, and may therefore contain any string of characters. However, it is recommended that the value used conform to the particular flavour of regular expression syntax supported by XSD Schema. |
| teidata.point defines the data type used to express a point in cartesian space. | |
| Module | tei — Level 2: Minimal Encoding |
| Used by | |
| Content model |
<content>
<dataRef name="token"
restriction="(\-?[0-9]+\.?[0-9]*,\-?[0-9]+\.?[0-9]*)"/>
</content>
|
| Declaration |
L2_teidata.point =
token { pattern = "(\-?[0-9]+\.?[0-9]*,\-?[0-9]+\.?[0-9]*)" } |
| Example | <facsimile>
<surface ulx="0" uly="0" lrx="400" lry="280">
<zone points="220,100 300,210 170,250 123,234">
<graphic url="handwriting.png "/>
</zone>
</surface>
</facsimile> |
| Note | A point is defined by two numeric values, which may be expressed in any notation permitted. |
| teidata.pointer defines the range of attribute values used to provide a single URI, absolute or relative, pointing to some other resource, either within the current document or elsewhere. | |
| Module | tei — Level 2: Minimal Encoding |
| Used by | |
| Content model |
<content>
<dataRef name="anyURI"/>
</content>
|
| Declaration | L2_teidata.pointer = xsd:anyURI |
| Note | The range of syntactically valid values is defined by RFC 3986 Uniform Resource Identifier (URI): Generic Syntax. Note that the values themselves are encoded using RFC 3987 Internationalized Resource Identifiers (IRIs) mapping to URIs. For example, |
| teidata.prefix defines a range of values that may function as a URI scheme name. | |
| Module | tei — Level 2: Minimal Encoding |
| Used by | Element:
|
| Content model |
<content>
<dataRef name="token"
restriction="[a-z][a-z0-9\+\.\-]*"/>
</content>
|
| Declaration |
L2_teidata.prefix = token { pattern = "[a-z][a-z0-9\+\.\-]*" } |
| Note | This datatype is used to constrain a string of characters to one that can be used as a URI scheme name according to RFC 3986, section 3.1. Thus only the 26 lowercase letters a–z, the 10 digits 0–9, the plus sign, the period, and the hyphen are permitted, and the value must start with a letter. |
| teidata.probCert defines a range of attribute values which can be expressed either as a numeric probability or as a coded certainty value. | |
| Module | tei — Level 2: Minimal Encoding |
| Used by | |
| Content model |
<content>
<alternate>
<dataRef key="teidata.probability"/>
<dataRef key="teidata.certainty"/>
</alternate>
</content>
|
| Declaration | L2_teidata.probCert = teidata.probability | teidata.certainty |
| teidata.probability defines the range of attribute values expressing a probability. | |
| Module | tei — Level 2: Minimal Encoding |
| Used by | |
| Content model |
<content>
<dataRef name="double"/>
</content>
|
| Declaration | L2_teidata.probability = xsd:double |
| Note | Probability is expressed as a real number between 0 and 1; 0 representing certainly false and 1 representing certainly true. |
| teidata.replacement defines attribute values which contain a replacement template. | |
| Module | tei — Level 2: Minimal Encoding |
| Used by | |
| Content model |
<content>
<textNode/>
</content>
|
| Declaration | L2_teidata.replacement = text |
| teidata.temporal.w3c defines the range of attribute values expressing a temporal expression such as a date, a time, or a combination of them, that conform to the W3C XML Schema Part 2: Datatypes Second Edition specification. | |
| Module | tei — Level 2: Minimal Encoding |
| Used by | Element:
|
| Content model |
<content>
<alternate>
<dataRef name="date"/>
<dataRef name="gYear"/>
<dataRef name="gMonth"/>
<dataRef name="gDay"/>
<dataRef name="gYearMonth"/>
<dataRef name="gMonthDay"/>
<dataRef name="time"/>
<dataRef name="dateTime"/>
</alternate>
</content>
|
| Declaration | L2_teidata.temporal.w3c = xsd:date | xsd:gYear | xsd:gMonth | xsd:gDay | xsd:gYearMonth | xsd:gMonthDay | xsd:time | xsd:dateTime |
| Note | If it is likely that the value used is to be compared with another, then a time zone indicator should always be included, and only the dateTime representation should be used. |
| teidata.text defines the range of attribute values used to express some kind of identifying string as a single sequence of unicode characters possibly including whitespace. | |
| Module | tei — Level 2: Minimal Encoding |
| Used by | Element:
|
| Content model |
<content>
<dataRef name="string"/>
</content>
|
| Declaration | L2_teidata.text = string |
| Note | Attributes using this datatype must contain a single ‘token’ in which whitespace and other punctuation characters are permitted. |
| teidata.truthValue defines the range of attribute values used to express a truth value. | |
| Module | tei — Level 2: Minimal Encoding |
| Used by | |
| Content model |
<content>
<dataRef name="boolean"/>
</content>
|
| Declaration | L2_teidata.truthValue = xsd:boolean |
| Note | The possible values of this datatype are 1 or true, or 0 or false. This datatype applies only for cases where uncertainty is inappropriate; if the attribute concerned may have a value other than true or false, e.g. unknown, or inapplicable, it should have the extended version of this datatype: data.xTruthValue. |
| teidata.unboundedInt defines an attribute value which can be either any non-negative integer or the string "unbounded". | |
| Module | tei — Level 2: Minimal Encoding |
| Used by | |
| Content model |
<content> <alternate>
<dataRef name="nonNegativeInteger"/>
<valList type="closed">
<valItem ident="unbounded"/>
</valList>
</alternate>
</content>
|
| Declaration | L2_teidata.unboundedInt = xsd:nonNegativeInteger | ( "unbounded" ) |
| teidata.version defines the range of attribute values which may be used to specify a TEI or Unicode version number. | |
| Module | tei — Level 2: Minimal Encoding |
| Used by | Element:
|
| Content model |
<content>
<dataRef name="token"
restriction="[\d]+(\.[\d]+){0,2}"/>
</content>
|
| Declaration |
L2_teidata.version = token { pattern = "[\d]+(\.[\d]+){0,2}" } |
| Note | The value of this attribute follows the pattern specified by the Unicode consortium for its version number (http://unicode.org/versions/). A version number contains digits and fullstop characters only. The first number supplied identifies the major version number. A second and third number, for minor and sub-minor version numbers, may also be supplied. |
| teidata.versionNumber defines the range of attribute values used for version numbers. | |
| Module | tei — Level 2: Minimal Encoding |
| Used by | Element:
|
| Content model |
<content>
<dataRef name="token"
restriction="[\d]+[a-z]*[\d]*(\.[\d]+[a-z]*[\d]*){0,3}"/>
</content>
|
| Declaration |
L2_teidata.versionNumber =
token { pattern = "[\d]+[a-z]*[\d]*(\.[\d]+[a-z]*[\d]*){0,3}" } |
| teidata.word defines the range of attribute values expressed as a single word or token. | |
| Module | tei — Level 2: Minimal Encoding |
| Used by | |
| Content model |
<content>
<dataRef name="token"
restriction="(\p{L}|\p{N}|\p{P}|\p{S})+"/>
</content>
|
| Declaration |
L2_teidata.word = token { pattern = "(\p{L}|\p{N}|\p{P}|\p{S})+" } |
| Note | Attributes using this datatype must contain a single ‘word’ which contains only letters, digits, punctuation characters, or symbols: thus it cannot include whitespace. |
| teidata.xmlName defines attribute values which contain an XML name. | |
| Module | tei — Level 2: Minimal Encoding |
| Used by | |
| Content model |
<content>
<dataRef name="NCName"/>
</content>
|
| Declaration | L2_teidata.xmlName = xsd:NCName |
| Note | The rules defining an XML name form a part of the XML Specification. |
| teidata.xpath defines attribute values which contain an XPath expression. | |
| Module | tei — Level 2: Minimal Encoding |
| Used by | |
| Content model |
<content>
<textNode/>
</content>
|
| Declaration | L2_teidata.xpath = text |
| Note | Any XPath expression using the syntax defined in [[undefined XSLT2]] |
| Schematron |
<s:rule context="tei:fileDesc">
<s:report test="tei:extent">The <extent> element
should not be used as a direct child of
<fileDesc>, but rather only as a descendant of a
bibliographic citation (e.g., of the source).</s:report>
</s:rule> |
| Schematron |
<s:ns uri="http://www.tei-c.org/ns/1.0"
prefix="tei"/>
<s:rule context="tei:*/@*">
<s:assert test="name(.) = ('anchored', 'baseForm', 'baseTypes', 'calendar', 'cause',
'cert', 'class', 'cols', 'copyOf', 'corresp', 'degree', 'dur', 'dur-iso',
'ed', 'end', 'eol', 'evaluate', 'exclude', 'facs', 'from', 'from-iso',
'full', 'gi', 'given', 'group', 'hand', 'height', 'ident', 'key',
'level', 'locus', 'marks', 'met', 'min', 'n', 'name', 'next', 'notAfter',
'notBefore', 'org', 'part', 'period', 'place', 'precision', 'prev',
'quantity', 'reason', 'ref', 'rend', 'render', 'rendition', 'resp',
'rhyme', 'role', 'rows', 'sex', 'scale', 'scheme', 'scope', 'select',
'sort', 'subtype', 'synch', 'target', 'targetEnd', 'targets', 'targFunc',
'to', 'to-iso', 'type', 'unit', 'uri', 'url', 'usage', 'version',
'when', 'who', 'width', 'lrx', 'lry', 'ulx', 'uly', 'xml:base', 'xml:id',
'xml:lang', 'xml:space')">The
use of the <s:name/>= attribute (found here on the
<<s:value-of select="local-name(..)"/>>
element) is not recommended by the Best Practices
for TEI in Libraries</s:assert>
</s:rule> |
| Schematron |
<s:rule context="tei:imprint/tei:date">
<s:assert test="@when or ( @notBefore and @notAfter )"> When inside an <imprint>, a <date>
element should have a machine-readable version
of the date specified either on the @when
attribute, or, in the case of not knowing the
precise date, on the @notBefore and @notAfter
attributes.</s:assert>
</s:rule> |