WARNING: This is an in-development working system, and as such may at times be broken.
WARNING: Current processors probably cannot generate valid DTDs (and perhaps not even XSDs) from this ODD.
| <TEI> (TEI document) contains a single TEI-conformant document, combining a single TEI header with one or more members of the model.resource class. Multiple <TEI> elements may be combined within a <TEI> (or <teiCorpus>) element. [4. Default Text Structure 16.1. Varieties of Composite Text] | |||||||||||||||||
| Module | textstructure | ||||||||||||||||
| Attributes |
| ||||||||||||||||
| Member of | |||||||||||||||||
| Contained by | core: teiCorpus | ||||||||||||||||
| May contain | |||||||||||||||||
| Note | As with all elements in the TEI scheme (except <egXML>) this element is in the TEI namespace (see 5.7.2. Namespaces). Thus, when it is used as the outermost element of a TEI document, it is necessary to specify the TEI namespace on it. This is customarily achieved by including http://www.tei-c.org/ns/1.0 as the value of the XML namespace declaration (xmlns), without indicating a prefix, and then not using a prefix on TEI elements in the rest of the document. For example: <TEI version="4.8.1" xml:lang="it" xmlns="http://www.tei-c.org/ns/1.0">. | ||||||||||||||||
| Example | <TEI version="3.3.0" xmlns="http://www.tei-c.org/ns/1.0">
<teiHeader>
<fileDesc>
<titleStmt>
<title>The shortest TEI Document Imaginable</title>
</titleStmt>
<publicationStmt>
<p>First published as part of TEI P2, this is the P5
version using a namespace.</p>
</publicationStmt>
<sourceDesc>
<p>No source: this is an original work.</p>
</sourceDesc>
</fileDesc>
</teiHeader>
<text>
<body>
<p>This is about the shortest TEI document imaginable.</p>
</body>
</text>
</TEI> | ||||||||||||||||
| Example | <TEI version="2.9.1" xmlns="http://www.tei-c.org/ns/1.0">
<teiHeader>
<fileDesc>
<titleStmt>
<title>A TEI Document containing four page images </title>
</titleStmt>
<publicationStmt>
<p>Unpublished demonstration file.</p>
</publicationStmt>
<sourceDesc>
<p>No source: this is an original work.</p>
</sourceDesc>
</fileDesc>
</teiHeader>
<facsimile>
<graphic url="page1.png"/>
<graphic url="page2.png"/>
<graphic url="page3.png"/>
<graphic url="page4.png"/>
</facsimile>
</TEI> | ||||||||||||||||
| Content model |
<content>
<sequence minOccurs="1" maxOccurs="1">
<elementRef key="teiHeader"/>
<elementRef key="text"/>
</sequence>
</content>
⚓ | ||||||||||||||||
| Schema Declaration |
element TEI
{
ws_att.global.attribute.affirmed,
ws_att.global.attribute.xmlid,
ws_att.global.attribute.n,
ws_att.global.attribute.xmlbase,
ws_att.global.attribute.xmlspace,
ws_att.global.change.attribute.change,
ws_att.global.linking.attribute.corresp,
ws_att.global.linking.attribute.sameAs,
ws_att.global.linking.attribute.next,
ws_att.global.linking.attribute.prev,
ws_att.global.rendition.attribute.rend,
ws_att.global.rendition.attribute.style,
ws_att.global.rendition.attribute.rendition,
ws_att.global.responsibility.attribute.cert,
ws_att.global.responsibility.attribute.resp,
ws_att.global.source.attribute.source,
ws_att.typed.attributes,
attribute xml:lang { text },
attribute version { text }?,
( ws_teiHeader, ws_text )
}⚓ | ||||||||||||||||
| <ab> (anonymous block) contains any component-level unit of text, acting as a container for phrase or inter level elements analogous to, but without the same constraints as, a paragraph. [17.3. Blocks, Segments, and Anchors] | |||||||||||
| Module | linking | ||||||||||
| Attributes |
| ||||||||||
| Member of | |||||||||||
| Contained by | derived-module-wwp-store: advertisement docSale header: availability calendar correction editionStmt editorialDecl encodingDesc handNote hyphenation langUsage licence normalization prefixDef projectDesc publicationStmt quotation samplingDecl sourceDesc linking: ab transcr: metamark | ||||||||||
| May contain | core: abbr add address author bibl biblStruct cb choice corr date del desc distinct email emph expan foreign gap gloss graphic hi l label lb lg list listBibl measure mentioned milestone name note num orig pb ptr quote ref reg rs said sic soCalled stage term time title unclear drama: castList gaiji: g header: idno msdescription: dimensions height width textstructure: floatingText transcr: addSpan am damageSpan delSpan ex handShift listTranspose metamark mod mw redo space subst substJoin supplied surplus undo character data | ||||||||||
| Note | The <ab> element may be used at the encoder's discretion to mark any component-level elements in a text for which no other more specific appropriate markup is defined. Unlike paragraphs, <ab> may nest and may use the type and subtype attributes. | ||||||||||
| Example | <div type="book" n="Genesis">
<div type="chapter" n="1">
<ab>In the beginning God created the heaven and the earth.</ab>
<ab>And the earth was without form, and void; and
darkness was upon the face of the deep. And the
spirit of God moved upon the face of the waters.</ab>
<ab>And God said, Let there be light: and there was light.</ab>
<!-- ...-->
</div>
</div> | ||||||||||
| Schematron |
<sch:rule context="tei:l//tei:ab">
<sch:assert test="ancestor::tei:floatingText | parent::tei:figure | parent::tei:note"> Abstract model violation: Metrical lines may not contain higher-level divisions such as p or ab, unless ab is a child of figure or note, or is a descendant of floatingText.
</sch:assert>
</sch:rule> | ||||||||||
| Content model |
<content>
<macroRef key="macro.abContent"/>
</content>
⚓ | ||||||||||
| Schema Declaration |
element ab
{
ws_att.global.attributes,
ws_att.cmc.attributes,
ws_att.declaring.attributes,
ws_att.fragmentable.attributes,
ws_att.typed.attribute.subtype,
ws_att.written.attributes,
attribute type
{
"caption" | "issue" | "commentary" | "timelineitem" | "placeholder"
}?,
ws_macro.abContent
}⚓ | ||||||||||
| <abbr> (abbreviation) contains an abbreviation of any sort. [3.6.5. Abbreviations and Their Expansions] | |||||||||||||
| Module | core | ||||||||||||
| Attributes |
| ||||||||||||
| Member of | |||||||||||||
| Contained by | core: abbr add addrLine author bibl biblScope choice citedRange corr date del desc distinct editor email emph expan foreign gloss head headItem headLabel hi item l label measure mentioned name num orig p pubPlace publisher quote ref reg resp rs said sic soCalled speaker stage term time title unclear derived-module-wwp-store: acrostic anagram docAuthorization docSale mcr regMe translator textstructure: closer dateline docDate docEdition docImprint docRole imprimatur opener respLine salute signed titlePart trailer | ||||||||||||
| May contain | core: abbr add address author cb choice corr date del distinct email emph expan foreign gap gloss graphic hi lb measure mentioned milestone name note num orig pb ptr quote ref reg rs said sic soCalled term time title unclear figures: figure gaiji: g header: idno msdescription: dimensions height width textstructure: floatingText transcr: addSpan am damageSpan delSpan ex handShift listTranspose metamark mod mw redo space subst substJoin supplied surplus undo character data | ||||||||||||
| 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
{
ws_att.global.attributes,
ws_att.cmc.attributes,
ws_att.typed.attribute.subtype,
attribute type { text }?,
ws_macro.phraseSeq
}⚓ | ||||||||||||
| <acrostic> a derived element that contains the word or phrase (including any appropriate phrase-level encoding like <persName>) that are spelled by the initial letters of a passage (e.g., the first letter of each lineof a stanza or poem). | |||||||||||||
| Module | derived-module-wwp-store | ||||||||||||
| Attributes |
| ||||||||||||
| Contained by | derived-module-wwp-store: acrostics | ||||||||||||
| May contain | core: abbr add address author cb choice corr date del distinct email emph expan foreign gap gloss graphic hi lb measure mentioned milestone name note num orig pb ptr quote ref reg rs said sic soCalled term time title unclear figures: figure gaiji: g header: idno msdescription: dimensions height width textstructure: floatingText transcr: addSpan am damageSpan delSpan ex handShift listTranspose metamark mod mw redo space subst substJoin supplied surplus undo character data | ||||||||||||
| Content model |
<content>
<macroRef key="macro.phraseSeq"/>
</content>
⚓ | ||||||||||||
| Schema Declaration |
element acrostic
{
ws_att.global.attributes,
attribute target { text },
attribute components { list { * } }?,
ws_macro.phraseSeq
}⚓ | ||||||||||||
| <acrostics> Container that occurs in <hyperDiv> and holds one or more <acrostic> elements. | |
| Module | derived-module-wwp-store |
| Attributes |
|
| Member of | |
| Contained by | derived-module-wwp-store: hyperDiv |
| May contain | derived-module-wwp-store: acrostic |
| Content model |
<content>
<elementRef key="acrostic" minOccurs="1"
maxOccurs="unbounded"/>
</content>
⚓ |
| Schema Declaration |
element acrostics { ws_att.global.attributes, ws_acrostic+ }⚓ |
| <actor> contains the name of an actor appearing within a cast list. [7.1.4. Cast Lists] | |||||||||||||||||
| Module | drama | ||||||||||||||||
| Attributes |
| ||||||||||||||||
| Member of | |||||||||||||||||
| Contained by | drama: castItem | ||||||||||||||||
| May contain | core: abbr add address author cb choice corr date del distinct email emph expan foreign gap gloss graphic hi lb measure mentioned milestone name note num orig pb ptr quote ref reg rs said sic soCalled term time title unclear figures: figure gaiji: g header: idno msdescription: dimensions height width textstructure: floatingText transcr: addSpan am damageSpan delSpan ex handShift listTranspose metamark mod mw redo space subst substJoin supplied surplus undo character data | ||||||||||||||||
| Note | This element should be used only to mark the name of the actor as given in the source. Chapter 14. Names, Dates, People, and Places discusses ways of marking the components of names, and also of associating names with biographical information about a person. | ||||||||||||||||
| Example | <castItem>
<role>Mathias</role>
<roleDesc>the Burgomaster</roleDesc>
<actor ref="https://en.wikipedia.org/wiki/Henry_Irving">Mr. Henry Irving</actor>
</castItem> | ||||||||||||||||
| Content model |
<content>
<macroRef key="macro.phraseSeq"/>
</content>
⚓ | ||||||||||||||||
| Schema Declaration |
element actor
{
ws_att.global.attributes,
ws_att.canonical.attributes,
attribute sex { list { + } }?,
attribute gender { list { + } }?,
ws_macro.phraseSeq
}⚓ | ||||||||||||||||
| <add> (addition) contains letters, words, or phrases inserted in the source text by an author, scribe, or a previous annotator or corrector. [3.5.3. Additions, Deletions, and Omissions] | |||||||||
| Module | core | ||||||||
| Attributes |
| ||||||||
| Member of | |||||||||
| Contained by | core: abbr add addrLine address author bibl biblScope citedRange corr date del distinct editor email emph expan foreign gloss head headItem headLabel hi imprint item l label lg list measure mentioned name note num orig p pubPlace publisher quote ref reg resp rs said series sic soCalled sp speaker stage term time title unclear derived-module-wwp-store: acrostic adds advertisement anagram docAuthorization docSale elision mcr regMe translator | ||||||||
| May contain | core: abbr add address author bibl biblStruct cb choice corr date del desc distinct email emph expan foreign gap gloss graphic hi l label lb lg list listBibl measure mentioned milestone name note num orig pb ptr quote ref reg rs said sic soCalled stage term time title unclear drama: castList gaiji: g header: idno msdescription: dimensions height width textstructure: floatingText transcr: addSpan am damageSpan delSpan ex handShift listTranspose metamark mod mw redo space subst substJoin supplied surplus undo character data | ||||||||
| Note | In a diplomatic edition attempting to represent an original source, the <add> element should not be used for additions to the current TEI electronic edition made by editors or encoders. In these cases, either the <corr> or <supplied> element are recommended. In a TEI edition of a historical text with previous editorial emendations in which such additions or reconstructions are considered part of the source text, the use of <add> may be appropriate, dependent on the editorial philosophy of the project. | ||||||||
| Example | The story I am
going to relate is true as to its main facts, and as to the
consequences <add place="above">of these facts</add> from which
this tale takes its title. | ||||||||
| Content model |
<content>
<macroRef key="macro.paraContent"/>
</content>
⚓ | ||||||||
| Schema Declaration |
element add
{
ws_att.global.attributes,
ws_att.transcriptional.attribute.cause,
ws_att.transcriptional.attribute.seq,
ws_att.editLike.attribute.evidence,
ws_att.editLike.attribute.instant,
ws_att.typed.attributes,
attribute hand { text },
ws_macro.paraContent
}⚓ | ||||||||
| <addSpan> (added span of text) marks the beginning of a longer sequence of text added by an author, scribe, annotator or corrector (see also <add>). [12.3.1.4. Additions and Deletions] | |||||||||
| Module | transcr | ||||||||
| Attributes |
| ||||||||
| Member of | |||||||||
| Contained by | core: abbr add addrLine address author bibl biblScope citedRange corr date del distinct editor email emph expan foreign gloss head headItem headLabel hi imprint item l label lg list measure mentioned name note num orig p pubPlace publisher quote ref reg resp rs said series sic soCalled sp speaker stage term time title unclear derived-module-wwp-store: acrostic advertisement anagram docAuthorization docSale elision mcr regMe translator | ||||||||
| May contain | Empty element | ||||||||
| Note | Both the beginning and the end of the added material must be marked; the beginning by the <addSpan> element itself, the end by the spanTo attribute. | ||||||||
| Example | <handNote xml:id="HEOL"
scribe="HelgiÓlafsson"/>
<!-- ... -->
<body>
<div>
<!-- text here -->
</div>
<addSpan n="added_gathering" hand="#HEOL"
spanTo="#P025"/>
<div>
<!-- text of first added poem here -->
</div>
<div>
<!-- text of second added poem here -->
</div>
<div>
<!-- text of third added poem here -->
</div>
<div>
<!-- text of fourth added poem here -->
</div>
<anchor xml:id="P025"/>
<div>
<!-- more text here -->
</div>
</body> | ||||||||
| Schematron |
<sch:rule context="tei:addSpan">
<sch:assert test="@spanTo">The @spanTo attribute of <sch:name/> is required.</sch:assert>
</sch:rule> | ||||||||
| Schematron |
<sch:rule context="tei:addSpan">
<sch:assert test="@spanTo">L'attribut spanTo est requis.</sch:assert>
</sch:rule> | ||||||||
| Content model |
<content>
<empty/>
</content>
⚓ | ||||||||
| Schema Declaration |
element addSpan
{
ws_att.global.attributes,
ws_att.dimensions.attributes,
ws_att.spanning.attributes,
ws_att.transcriptional.attribute.cause,
ws_att.transcriptional.attribute.seq,
ws_att.editLike.attribute.evidence,
ws_att.editLike.attribute.instant,
ws_att.typed.attributes,
attribute hand { text },
empty
}⚓ | ||||||||
| <addrLine> (address line) contains one line of a postal address. [3.6.2. Addresses 2.2.4. Publication, Distribution, Licensing, etc. 3.12.2.4. Imprint, Size of a Document, and Reprint Information] | |
| Module | core |
| Attributes |
|
| Member of | |
| Contained by | core: address |
| May contain | core: abbr add address author cb choice corr date del distinct email emph expan foreign gap gloss graphic hi lb measure mentioned milestone name note num orig pb ptr quote ref reg rs said sic soCalled term time title unclear figures: figure gaiji: g header: idno msdescription: dimensions height width textstructure: floatingText transcr: addSpan am damageSpan delSpan ex handShift listTranspose metamark mod mw redo space subst substJoin supplied surplus undo character data |
| 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 { ws_att.global.attributes, ws_macro.phraseSeq }⚓ |
| <address> (address) contains a postal address, for example of a publisher, an organization, or an individual. [3.6.2. Addresses 2.2.4. Publication, Distribution, Licensing, etc. 3.12.2.4. Imprint, Size of a Document, and Reprint Information] | |
| Module | core |
| Attributes |
|
| Member of | |
| Contained by | core: abbr add addrLine author bibl biblScope citedRange corr date del desc distinct editor email emph expan foreign gloss head headItem headLabel hi item l label measure mentioned name num orig p pubPlace publisher quote ref reg resp rs said sic soCalled speaker stage term time title unclear derived-module-wwp-store: acrostic anagram docAuthorization docSale mcr regMe translator textstructure: closer dateline docDate docEdition docImprint docRole imprimatur opener respLine salute signed titlePart trailer |
| 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
{
ws_att.global.attributes,
ws_att.cmc.attributes,
( ws_model.global*, ( ( ws_model.addrPart, ws_model.global* )+ ) )
}⚓ |
| <adds> Container that occurs in <hyperDiv> and holds one or more <add> elements. | |
| Module | derived-module-wwp-store |
| Attributes |
|
| Member of | |
| Contained by | derived-module-wwp-store: hyperDiv |
| May contain | core: add |
| Note | Currently we only encode an <add> in the <hyperDiv> if its content is a note of some sort. |
| Content model |
<content>
<elementRef key="add" minOccurs="1"
maxOccurs="unbounded"/>
</content>
⚓ |
| Schema Declaration |
element adds { ws_att.global.attributes, ws_add+ }⚓ |
| <advertisement> A section of text, typically in the backmatter, that advertises other books by the same author, publisher, bookseller, etc. | |
| Module | derived-module-wwp-store |
| Attributes |
|
| Member of | |
| Contained by | core: abbr add addrLine address author bibl biblScope biblStruct citedRange corr date del distinct editor email emph expan foreign gloss head headItem headLabel hi imprint item l label lg list measure mentioned monogr name note num orig p pubPlace publisher quote ref reg resp rs said series sic soCalled sp speaker stage term time title unclear derived-module-wwp-store: acrostic advertisement anagram docAuthorization docSale elision mcr regMe translator gaiji: char |
| May contain | core: add author bibl biblScope biblStruct cb citedRange desc editor gap l label lb lg list listBibl milestone note p pb pubPlace publisher quote respStmt said series sp stage derived-module-wwp-store: advertisement elision translator unknown header: availability edition extent funder sponsor textstructure: floatingText transcr: addSpan damageSpan delSpan listTranspose metamark mw space substJoin |
| Note | These are different from the ‘advertisements’ that occur in front matter (prefatory materials that resemble introductions). The front-matter ‘advertisements’ should be recorded with <div type="prefatory">. The advertisement usually contains a <bibl> element, since it often has information about the title and author of a book. Note, though, that prose descriptions of the texts should not be recorded within bibl. Many advertisements will contain information about the pricing of the texts for sale. These prices should be recorded in <measure> if they are renditionally distinct. These prices should not, however, be recorded in <docSale>, as this element should be used exclusively in title pages. |
| Content model |
<content>
<alternate minOccurs="0"
maxOccurs="unbounded">
<classRef key="model.common"/>
<classRef key="model.global"/>
<classRef key="model.biblPart"/>
</alternate>
</content>
⚓ |
| Schema Declaration |
element advertisement
{
ws_att.global.attributes,
( ws_model.common | ws_model.global | ws_model.biblPart )*
}⚓ |
| <alt> (alternation) identifies an alternation or a set of choices among elements or passages. [17.8. Alternation] | |||||||||||||||||||||||||
| Module | linking | ||||||||||||||||||||||||
| Attributes |
| ||||||||||||||||||||||||
| Member of | |||||||||||||||||||||||||
| Contained by | core: abbr add addrLine address author bibl biblScope citedRange corr date del distinct editor email emph expan foreign gloss head headItem headLabel hi imprint item l label lg list measure mentioned name note num orig p pubPlace publisher quote ref reg resp rs said series sic soCalled sp speaker stage term time title unclear derived-module-wwp-store: acrostic advertisement anagram docAuthorization docSale elision mcr regMe translator | ||||||||||||||||||||||||
| May contain | Empty element | ||||||||||||||||||||||||
| Note | Here at the WWP, an <alt> with a type of element must have a subtype whose value is the name of an element (e.g., person). Further, each of the space-separated values of the target of such an <alt> must point to whatever element is named on subtype (e.g., <person>). | ||||||||||||||||||||||||
| Example | <alt mode="excl" target="#we.fun #we.sun"
weights="0.5 0.5"/> | ||||||||||||||||||||||||
| Schematron |
<sch:rule context="wwp:alt[ @type eq 'element']">
<sch:assert test="@subtype castable as xs:Name">When the @type of <alt> is "element", the @subtype must be an element name</sch:assert>
</sch:rule> | ||||||||||||||||||||||||
| Schematron |
<sch:rule context="wwp:alt[ @type eq 'element'][/wwp:TEI/wwp:teiHeader/wwp:encodingDesc/wwp:listPrefixDef]">
<sch:let name="path"
value="'https://www.wwp-test.neu.edu/wwo/texts/'"/>
<sch:let name="TARGETs"
value="tokenize( normalize-space( @target ) )"/>
<sch:let name="TPREFs"
value="for $t in $TARGETs return substring-before( $t,':')"/>
<sch:let name="URLs"
value="for $p in $TPREFs return concat( $path, substring-before( /wwp:TEI/wwp:teiHeader/wwp:encodingDesc/wwp:listPrefixDef//wwp:prefixDef[
@ident eq $p ]/@replacementPattern, '#' ) )"/>
<sch:let name="KEYs"
value="for $t in $TARGETs return substring-after( $t,':')"/>
<sch:let name="ALTERNATEs"
value="for $k in $KEYs return if ( count( index-of( $KEYs, $k ) ) eq 1 )
then if ( doc-available( $URLs[ index-of( $KEYs, $k )] ) ) then if
( document( $URLs[ index-of( $KEYs, $k )] )//TEI:*[ @xml:id eq $k
] ) then document( $URLs[ index-of( $KEYs, $k )] )//TEI:*[ @xml:id
eq $k ] else . else . else ."/>
<sch:let name="CORRECTs"
value="for $gi in $ALTERNATEs return name($gi) eq @subtype"/>
<sch:report test="count( $TARGETs ) eq 0">Empty @target of <alt></sch:report>
<sch:report test="$CORRECTs = false()">Each pointer in the @target of <alt> should point to a <<sch:value-of select="@subtype"/>>, but at least one of the pointers in this one ("<sch:value-of select="normalize-space( @target )"/>") point to: <sch:value-of select="if ( not( ALTERNATEs ) ) then 'nowhere' else for $a in $ALTERNATEs
return if ( $a is . ) then ' nothing' else concat(' <', name($a),
'>')"/>.</sch:report>
</sch:rule> | ||||||||||||||||||||||||
| Content model |
<content>
<empty/>
</content>
⚓ | ||||||||||||||||||||||||
| Schema Declaration |
element alt
{
ws_att.global.attributes,
ws_att.cmc.attributes,
ws_att.pointing.attribute.targetLang,
ws_att.pointing.attribute.evaluate,
ws_att.typed.attributes,
attribute target { list { * } }?,
attribute mode { "excl" | "incl" }?,
attribute weights { list { * } }?,
empty
}⚓ | ||||||||||||||||||||||||
| <altGrp> (alternation group) groups a collection of <alt> elements and possibly pointers. [17.8. Alternation] | |||||||||
| Module | linking | ||||||||
| Attributes |
| ||||||||
| Member of | |||||||||
| Contained by | derived-module-wwp-store: hyperDiv | ||||||||
| May contain | |||||||||
| Note | Any number of alternations, pointers or extended pointers. | ||||||||
| Example | <altGrp mode="excl">
<alt target="#dm #lt #bb"
weights="0.5 0.25 0.25"/>
<alt target="#rl #db" weights="0.5 0.5"/>
</altGrp> | ||||||||
| Example | <altGrp mode="incl">
<alt target="#dm #rl" weights="0.90 0.90"/>
<alt target="#lt #rl" weights="0.5 0.5"/>
<alt target="#bb #rl" weights="0.5 0.5"/>
<alt target="#dm #db" weights="0.10 0.10"/>
<alt target="#lt #db" weights="0.45 0.90"/>
<alt target="#bb #db" weights="0.45 0.90"/>
</altGrp> | ||||||||
| Content model |
<content>
<sequence minOccurs="1" maxOccurs="1">
<classRef key="model.descLike"
minOccurs="0" maxOccurs="unbounded"/>
<alternate minOccurs="0"
maxOccurs="unbounded">
<elementRef key="alt"/>
<elementRef key="ptr"/>
</alternate>
</sequence>
</content>
⚓ | ||||||||
| Schema Declaration |
element altGrp
{
ws_att.global.attributes,
ws_att.pointing.group.attributes,
attribute mode { "excl" | "incl" }?,
( ws_model.descLike*, ( ws_alt | ws_ptr )* )
}⚓ | ||||||||
| <am> (abbreviation marker) contains a sequence of letters or signs present in an abbreviation which are omitted or replaced in the expanded form of the abbreviation. [12.3.1.2. Abbreviation and Expansion] | |
| Module | transcr |
| Attributes |
|
| Member of | |
| Contained by | core: abbr add addrLine author bibl biblScope citedRange corr date del desc distinct editor email emph expan foreign gloss head headItem headLabel hi item l label measure mentioned name num orig p pubPlace publisher quote ref reg resp rs said sic soCalled speaker stage term time title unclear derived-module-wwp-store: acrostic anagram docAuthorization docSale mcr regMe translator textstructure: closer dateline docDate docEdition docImprint docRole imprimatur opener respLine salute signed titlePart trailer |
| May contain | |
| Example | do you <abbr>Mr<am>.</am>
</abbr> Jones?
|
| Example | <choice>
<abbr>Aug<am>g</am>
</abbr>
<expan>Aug<ex>ustorum duo</ex>
</expan>
</choice> |
| Example | <abbr>eu<am>
<g ref="#b-er"/>
</am>y</abbr>
<abbr>
<am>
<g ref="#b-per"/>
</am>sone
</abbr> ...
|
| Content model |
<content>
<alternate minOccurs="0"
maxOccurs="unbounded">
<textNode/>
<classRef key="model.gLike"/>
<classRef key="model.pPart.transcriptional"/>
</alternate>
</content>
⚓ |
| Schema Declaration |
element am
{
ws_att.global.attributes,
ws_att.editLike.attributes,
ws_att.typed.attributes,
( text | ws_model.gLike | ws_model.pPart.transcriptional )*
}⚓ |
| <anagram> points to 2 or more textual elements to indicate they are anagrams of each other, OR points to a single textual element to indicate said element is an anagram of its content | |||||||||||||
| Module | derived-module-wwp-store | ||||||||||||
| Attributes |
| ||||||||||||
| Contained by | derived-module-wwp-store: anagrams | ||||||||||||
| May contain | core: abbr add address author cb choice corr date del distinct email emph expan foreign gap gloss graphic hi lb measure mentioned milestone name note num orig pb ptr quote ref reg rs said sic soCalled term time title unclear figures: figure gaiji: g header: idno msdescription: dimensions height width textstructure: floatingText transcr: addSpan am damageSpan delSpan ex handShift listTranspose metamark mod mw redo space subst substJoin supplied surplus undo character data | ||||||||||||
| Note | The <anagram> element may contain content to indicate the re-arranged order of the letters in the source, for use when the source does not indicate the re-arrangement itself. E.g., if the source says ‘He hired a new ‘crap built on lies’ officer’, but does not explain what ‘crap built on lies’ is an anagrom for, we might encode <anagram target="#cbol">public relations</anagram>
<!-- ... -->
<lb/>He hired a new <soCalled xml:id="cbol">crap built
on lies</soCalled> officer
| ||||||||||||
| Content model |
<content>
<macroRef key="macro.phraseSeq"/>
</content>
⚓ | ||||||||||||
| Schema Declaration |
element anagram
{
ws_att.global.attributes,
ws_att.pointing.attribute.targetLang,
ws_att.pointing.attribute.evaluate,
attribute target { list { + } },
ws_macro.phraseSeq
}⚓ | ||||||||||||
| <anagrams> Container that occurs in <hyperDiv> and holds one or more <anagram> elements. | |
| Module | derived-module-wwp-store |
| Attributes |
|
| Member of | |
| Contained by | derived-module-wwp-store: hyperDiv |
| May contain | derived-module-wwp-store: anagram |
| Content model |
<content>
<elementRef key="anagram" minOccurs="1"
maxOccurs="unbounded"/>
</content>
⚓ |
| Schema Declaration |
element anagrams { ws_att.global.attributes, ws_anagram+ }⚓ |
| <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.12.2.1. Analytic, Monographic, and Series Levels] | |
| Module | core |
| Attributes |
|
| 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
{
ws_att.global.attributes,
(
ws_author
| ws_editor
| ws_respStmt
| ws_title
| ws_model.ptrLike
| ws_date
| textLang
| ws_idno
| ws_availability
)*
}⚓ |
| <anchor> (anchor point) attaches an identifier to a point within a text, whether or not it corresponds with a textual element. [8.4.2. Synchronization and Overlap 17.5. Correspondence and Alignment] | |||||||||||||||||||
| Module | linking | ||||||||||||||||||
| Attributes |
| ||||||||||||||||||
| Member of | |||||||||||||||||||
| Contained by | core: abbr add addrLine address author bibl biblScope citedRange corr date del distinct editor email emph expan foreign gloss head headItem headLabel hi imprint item l label lg list listBibl measure mentioned name note num orig p pubPlace publisher quote ref reg resp rs said series sic soCalled sp speaker stage term time title unclear derived-module-wwp-store: acrostic advertisement anagram docAuthorization docSale elision mcr regMe translator | ||||||||||||||||||
| May contain | Empty element | ||||||||||||||||||
| Note | On this element, the global xml:id attribute must be supplied to specify an identifier for the point at which this element occurs within a document. The value used may be chosen freely provided that it is unique within the document and is a syntactically valid name. There is no requirement for values containing numbers to be in sequence. | ||||||||||||||||||
| Example | <s>The anchor is he<anchor xml:id="A234"/>re somewhere.</s>
<s>Help me find it.<ptr target="#A234"/>
</s> | ||||||||||||||||||
| Content model |
<content>
<empty/>
</content>
⚓ | ||||||||||||||||||
| Schema Declaration |
element anchor
{
ws_att.global.attribute.affirmed,
ws_att.global.attribute.n,
ws_att.global.attribute.xmllang,
ws_att.global.attribute.xmlbase,
ws_att.global.attribute.xmlspace,
ws_att.global.change.attribute.change,
ws_att.global.linking.attribute.corresp,
ws_att.global.linking.attribute.sameAs,
ws_att.global.linking.attribute.next,
ws_att.global.linking.attribute.prev,
ws_att.global.rendition.attribute.style,
ws_att.global.rendition.attribute.rendition,
ws_att.global.responsibility.attribute.cert,
ws_att.global.responsibility.attribute.resp,
ws_att.global.source.attribute.source,
ws_att.cmc.attributes,
ws_att.typed.attributes,
attribute xml:id { text },
attribute rend { list { + } }?,
empty
}⚓ | ||||||||||||||||||
| <argument> (argument) contains a formal list or prose description of the topics addressed by a subdivision of a text. [4.2. Elements Common to All Divisions 4.6. Title Pages] | |
| Module | textstructure |
| Attributes |
|
| Member of | |
| Contained by | |
| May contain | |
| Example | <argument>
<p>Monte Video — Maldonado — Excursion
to R Polanco — Lazo and Bolas — Partridges —
Absence of Trees — Deer — Capybara, or River Hog —
Tucutuco — Molothrus, cuckoo-like habits — Tyrant
Flycatcher — Mocking-bird — Carrion Hawks —
Tubes formed by Lightning — House struck</p>
</argument> |
| Content model |
<content>
<sequence>
<alternate minOccurs="0"
maxOccurs="unbounded">
<classRef key="model.global"/>
<classRef key="model.headLike"/>
</alternate>
<sequence minOccurs="1"
maxOccurs="unbounded">
<classRef key="model.common"/>
<classRef key="model.global"
minOccurs="0" maxOccurs="unbounded"/>
</sequence>
</sequence>
</content>
⚓ |
| Schema Declaration |
element argument
{
ws_att.global.attributes,
ws_att.cmc.attributes,
(
( ws_model.global | ws_model.headLike )*,
( ( ws_model.common, ws_model.global* )+ )
)
}⚓ |
| <att> (attribute) contains the name of an attribute appearing within running text. [23. Documentation Elements] | |||||||||
| Module | tagdocs | ||||||||
| Attributes |
| ||||||||
| Member of | |||||||||
| Contained by | core: abbr add addrLine author biblScope citedRange corr date del desc distinct editor email emph expan foreign gloss head headItem headLabel hi item l label measure mentioned name num orig p pubPlace publisher quote ref reg resp rs said sic soCalled speaker stage term time title unclear derived-module-wwp-store: acrostic anagram docAuthorization docSale mcr regMe translator textstructure: closer dateline docDate docEdition docImprint docRole imprimatur opener respLine salute signed titlePart trailer | ||||||||
| May contain | XSD Name | ||||||||
| Note | As an alternative to using the 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
{
ws_att.global.attributes,
attribute scheme { text }?,
teidata.name
}⚓ | ||||||||
| <author> (author) in a bibliographic reference, contains the name(s) of an author, personal or corporate, of a work; for example in the same form as that provided by a recognized bibliographic name authority. [3.12.2.2. Titles, Authors, and Editors 2.2.1. The Title Statement] | |||||||||
| Module | core | ||||||||
| Attributes |
| ||||||||
| Member of | |||||||||
| Contained by | core: abbr add addrLine analytic author bibl biblScope citedRange corr date del distinct editor email emph expan foreign gloss head headItem headLabel hi item l label measure mentioned monogr name num orig p pubPlace publisher quote ref reg rs said sic soCalled speaker stage term time title unclear derived-module-wwp-store: acrostic advertisement anagram docAuthorization docSale mcr regMe translator figures: cell header: edition editionStmt handNote licence titleStmt textstructure: closer dateline docDate docEdition docImprint docRole imprimatur opener respLine salute signed titlePart trailer | ||||||||
| May contain | core: abbr add address author cb choice corr date del distinct email emph expan foreign gap gloss graphic hi lb measure mentioned milestone name note num orig pb ptr quote ref reg rs said sic soCalled term time title unclear figures: figure gaiji: g header: idno msdescription: dimensions height width textstructure: floatingText transcr: addSpan am damageSpan delSpan ex handShift listTranspose metamark mod mw redo space subst substJoin supplied surplus undo character data | ||||||||
| 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 attributes key or 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 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. When the appropriate TEI modules are in use, it may also contain detailed tagging of the names used for people, organizations or places, in particular where multiple names are given. | ||||||||
| Example | |||||||||
| Schematron |
<sch:rule context="wwp:teiHeader/wwp:fileDesc/wwp:titleStmt/wwp:author/wwp:persName |wwp:teiHeader/wwp:fileDesc/wwp:sourceDesc//wwp:author/wwp:persName">
<sch:assert test="@ref">Authors should have a reference to the personography.</sch:assert>
</sch:rule> | ||||||||
| Content model |
<content>
<macroRef key="macro.phraseSeq"/>
</content>
⚓ | ||||||||
| Schema Declaration |
element author
{
ws_att.global.attributes,
ws_att.datable.attributes,
ws_att.naming.attributes,
attribute type { "main" | "other" }?,
ws_macro.phraseSeq
}⚓ | ||||||||
| <availability> (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 | ||||||||
| Attributes |
| ||||||||
| Member of | |||||||||
| Contained by | |||||||||
| 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
{
ws_att.global.attributes,
ws_att.declarable.attributes,
attribute status { "free" | "unknown" | "restricted" }?,
( ws_model.availabilityPart | ws_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 |
| Attributes |
|
| Contained by | textstructure: floatingText text |
| May contain | derived-module-wwp-store: advertisement docAuthorization elision unknown textstructure: argument closer dateline div docDate docEdition docImprint docRole epigraph imprimatur postscript respLine titleBlock titlePart trailer transcr: addSpan damageSpan delSpan listTranspose metamark mw space substJoin |
| Note | At the WWP a <titleBlock> is permitted in the content of <back> after a <trailer> (or other member of model.divBottomPart). This was originally put in to accomodate smith.conversations.xml. |
| Example | <back>
<div type="appendix">
<head>The Golden Dream or, the Ingenuous Confession</head>
<p>TO shew the Depravity of human Nature, and how apt the Mind is to be misled by Trinkets
and false Appearances, Mrs. Two-Shoes does acknowledge, that after she became rich, she
had like to have been, too fond of Money
<!-- .... -->
</p>
</div>
<!-- ... -->
<div type="epistle">
<head>A letter from the Printer, which he desires may be inserted</head>
<salute>Sir.</salute>
<p>I have done with your Copy, so you may return it to the Vatican, if you please;
<!-- ... -->
</p>
</div>
<div type="advert">
<head>The Books usually read by the Scholars of Mrs Two-Shoes are these and are sold at Mr
Newbery's at the Bible and Sun in St Paul's Church-yard.</head>
<list>
<item n="1">The Christmas Box, Price 1d.</item>
<item n="2">The History of Giles Gingerbread, 1d.</item>
<!-- ... -->
<item n="42">A Curious Collection of Travels, selected from the Writers of all Nations,
10 Vol, Pr. bound 1l.</item>
</list>
</div>
<div type="advert">
<head>By the KING's Royal Patent, Are sold by J. NEWBERY, at the Bible and Sun in St.
Paul's Church-Yard.</head>
<list>
<item n="1">Dr. James's Powders for Fevers, the Small-Pox, Measles, Colds, &c. 2s.
6d</item>
<item n="2">Dr. Hooper's Female Pills, 1s.</item>
<!-- ... -->
</list>
</div>
</back> |
| Content model |
<content>
<sequence minOccurs="1" maxOccurs="1">
<alternate minOccurs="0"
maxOccurs="unbounded">
<classRef key="model.frontPart"/>
<classRef key="model.pLike.front"/>
<classRef key="model.pLike"/>
<classRef key="model.listLike"/>
<classRef key="model.global"/>
</alternate>
<sequence minOccurs="0" maxOccurs="1">
<classRef key="model.divLike"/>
<alternate minOccurs="0"
maxOccurs="unbounded">
<classRef key="model.frontPart"/>
<classRef key="model.divLike"/>
<classRef key="model.global"/>
</alternate>
</sequence>
<sequence minOccurs="0" maxOccurs="1">
<classRef key="model.divBottomPart"/>
<alternate minOccurs="0"
maxOccurs="unbounded">
<classRef key="model.divBottomPart"/>
<elementRef key="titlePage"/>
<classRef key="model.global"/>
</alternate>
</sequence>
</sequence>
</content>
⚓ |
| Schema Declaration |
element back
{
ws_att.global.attributes,
ws_att.declaring.attributes,
(
(
ws_model.frontPart
| ws_model.pLike.front
| ws_model.pLike
| ws_model.listLike
| ws_model.global
)*,
(
(
ws_model.divLike,
( ws_model.frontPart | ws_model.divLike | ws_model.global )*
)?
),
(
(
ws_model.divBottomPart,
( ws_model.divBottomPart | ws_titlePage | ws_model.global )*
)?
)
)
}⚓ |
| <bibl> (bibliographic citation) contains a loosely-structured bibliographic citation of which the sub-components may or may not be explicitly tagged. [3.12.1. Methods of Encoding Bibliographic References and Lists of References 2.2.7. The Source Description 16.3.2. Declarable Elements] | |
| Module | core |
| Attributes |
|
| Member of | |
| Contained by | core: add bibl corr del desc emph head hi item l listBibl note orig p quote ref reg said sic stage title unclear derived-module-wwp-store: advertisement docAuthorization docSale mcr header: handNote licence sourceDesc textstructure: argument body div docEdition epigraph imprimatur postscript salute signed titlePart trailer |
| May contain | core: abbr add address author bibl biblScope cb choice citedRange corr date del distinct editor email emph expan foreign gap gloss hi lb list measure mentioned milestone name note num orig pb ptr pubPlace publisher quote ref reg respStmt rs series sic soCalled term time title unclear derived-module-wwp-store: advertisement elision mcr regMe translator unknown vuji figures: figure gaiji: g textstructure: epigraph transcr: addSpan am damageSpan delSpan ex handShift listTranspose metamark mod mw redo space subst substJoin supplied surplus undo character data |
| 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"/>
<elementRef key="epigraph"/>
</alternate>
</content>
⚓ |
| Schema Declaration |
element bibl
{
ws_att.global.attributes,
ws_att.canonical.attributes,
ws_att.cmc.attributes,
ws_att.declarable.attributes,
ws_att.docStatus.attributes,
ws_att.sortable.attributes,
ws_att.typed.attributes,
(
text
| ws_model.gLike
| ws_model.highlighted
| ws_model.pPart.data
| ws_model.pPart.edit
| ws_model.segLike
| ws_model.ptrLike
| ws_model.biblPart
| ws_model.global
| ws_epigraph
)*
}⚓ |
| <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.12.2.5. Scopes and Ranges in Bibliographic Citations] | |
| Module | core |
| Attributes |
|
| Member of | |
| Contained by | derived-module-wwp-store: advertisement |
| May contain | core: abbr add address author cb choice corr date del distinct email emph expan foreign gap gloss graphic hi lb measure mentioned milestone name note num orig pb ptr quote ref reg rs said sic soCalled term time title unclear figures: figure gaiji: g header: idno msdescription: dimensions height width textstructure: floatingText transcr: addSpan am damageSpan delSpan ex handShift listTranspose metamark mod mw redo space subst substJoin supplied surplus undo character data |
| 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
{
ws_att.global.attributes,
ws_att.citing.attributes,
ws_macro.phraseSeq
}⚓ |
| <biblStruct> (structured bibliographic citation) contains a structured bibliographic citation, in which only bibliographic sub-elements appear and in a specified order. [3.12.1. Methods of Encoding Bibliographic References and Lists of References 2.2.7. The Source Description 16.3.2. Declarable Elements] | |
| Module | core |
| Attributes |
|
| Member of | |
| Contained by | core: add corr del desc emph head hi item l listBibl note orig p quote ref reg said sic stage title unclear derived-module-wwp-store: advertisement docAuthorization docSale mcr header: handNote licence sourceDesc textstructure: argument body div docEdition epigraph imprimatur postscript salute signed titlePart trailer |
| May contain | derived-module-wwp-store: advertisement |
| 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> |
| Example | <biblStruct type="newspaper">
<analytic>
<author>
<forename>David</forename>
<surname>Barstow</surname>
</author>
<author>
<forename>Susanne</forename>
<surname>Craig</surname>
</author>
<author>
<forename>Russ</forename>
<surname>Buettner</surname>
</author>
<title type="main">Trump Took Part in Suspect Schemes to Evade Tax Bills</title>
<title type="sub">Behind the Myth of a Self-Made Billionaire, a Vast Inheritance From His Father</title>
</analytic>
<monogr>
<title level="j">The New York Times</title>
<imprint>
<pubPlace>New York</pubPlace>
<publisher>A. G. Sulzberger</publisher>
<date when="2018-10-03">Wednesday, October 3, 2018</date>
</imprint>
<biblScope unit="volume">CLXVIII</biblScope>
<biblScope unit="issue">58,104</biblScope>
<biblScope unit="page">1</biblScope>
</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
{
ws_att.global.attributes,
ws_att.canonical.attributes,
ws_att.cmc.attributes,
ws_att.declarable.attributes,
ws_att.docStatus.attributes,
ws_att.sortable.attributes,
ws_att.typed.attributes,
(
ws_analytic*,
( ( ws_monogr, ws_series* )+ ),
( ws_model.noteLike | ws_model.ptrLike | relatedItem | ws_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 |
| Attributes |
|
| Contained by | textstructure: floatingText text |
| May contain | core: add bibl biblStruct cb desc gap head l label lb lg list listBibl milestone note p pb quote said sp stage derived-module-wwp-store: advertisement elision unknown header: projectDesc textstructure: argument closer dateline div docDate docRole epigraph floatingText opener postscript respLine trailer transcr: addSpan damageSpan delSpan listTranspose metamark mw space substJoin |
| Example | <body>
<l>Nu scylun hergan hefaenricaes uard</l>
<l>metudæs maecti end his modgidanc</l>
<l>uerc uuldurfadur sue he uundra gihuaes</l>
<l>eci dryctin or astelidæ</l>
<l>he aerist scop aelda barnum</l>
<l>heben til hrofe haleg scepen.</l>
<l>tha middungeard moncynnæs uard</l>
<l>eci dryctin æfter tiadæ</l>
<l>firum foldu frea allmectig</l>
<trailer>primo cantauit Cædmon istud carmen.</trailer>
</body> |
| Content model |
<content>
<sequence minOccurs="1" maxOccurs="1">
<classRef key="model.global"
minOccurs="0" maxOccurs="unbounded"/>
<sequence minOccurs="0" maxOccurs="1">
<classRef key="model.divTop"/>
<alternate minOccurs="0"
maxOccurs="unbounded">
<classRef key="model.global"/>
<classRef key="model.divTop"/>
</alternate>
</sequence>
<alternate minOccurs="1" maxOccurs="1">
<sequence minOccurs="2"
maxOccurs="unbounded">
<classRef key="model.divLike"/>
<classRef key="model.global"
minOccurs="0" maxOccurs="unbounded"/>
</sequence>
<sequence minOccurs="1" maxOccurs="1">
<sequence minOccurs="1"
maxOccurs="unbounded">
<alternate minOccurs="1" maxOccurs="1">
<elementRef key="schemaSpec"/>
<classRef key="model.common"/>
</alternate>
<classRef key="model.global"
minOccurs="0" maxOccurs="unbounded"/>
</sequence>
<sequence minOccurs="0" maxOccurs="1">
<elementRef key="projectDesc"
minOccurs="1" maxOccurs="1"/>
<sequence minOccurs="2"
maxOccurs="unbounded">
<classRef key="model.divLike"/>
<classRef key="model.global"
minOccurs="0" maxOccurs="unbounded"/>
</sequence>
</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 body
{
ws_att.structuralCategorization.attributes,
ws_att.global.attributes,
ws_att.declaring.attributes,
(
ws_model.global*,
( ( ws_model.divTop, ( ws_model.global | ws_model.divTop )* )? ),
(
(
ws_model.divLike,
ws_model.global*,
ws_model.divLike,
ws_model.global*,
( ws_model.divLike, ws_model.global* )*
)
| (
( ( ( schemaSpec | ws_model.common ), ws_model.global* )+ ),
(
(
ws_projectDesc,
(
ws_model.divLike,
ws_model.global*,
ws_model.divLike,
ws_model.global*,
( ws_model.divLike, ws_model.global* )*
)
)?
)
)
),
( ( ws_model.divBottom, ws_model.global* )* )
)
}⚓ |
| <respLine> (byline) contains a statement of responsibility given for a work on its title page or at the head or end of the work. [4.2.2. Openers and Closers 4.5. Front Matter] | |
| Module | textstructure |
| Attributes |
|
| Member of | |
| Contained by | |
| May contain | core: abbr add address author cb choice corr date del distinct email emph expan foreign gap gloss graphic hi lb measure mentioned milestone name note num orig pb ptr ref reg rs sic soCalled term time title unclear figures: figure gaiji: g header: idno msdescription: dimensions height width textstructure: docRole transcr: addSpan am damageSpan delSpan ex handShift listTranspose metamark mod mw redo space subst substJoin supplied surplus undo character data |
| Note | The byline on a title page may include either the name or a description for the document's author. Where the name is included, it may optionally be tagged using the <docRole> element. |
| Example | <respLine>Written by a CITIZEN who continued all the
while in London. Never made publick before.</respLine> |
| Example | <respLine>Written from her own MEMORANDUMS</respLine> |
| Example | <respLine>By George Jones, Political Editor, in Washington</respLine> |
| Example | <respLine>BY
<docRole>THOMAS PHILIPOTT,</docRole>
Master of Arts,
(Somtimes)
Of Clare-Hall in Cambridge.</respLine> |
| Content model |
<content>
<alternate minOccurs="0"
maxOccurs="unbounded">
<textNode/>
<classRef key="model.gLike"/>
<classRef key="model.phrase"/>
<elementRef key="docAuthor"/>
<classRef key="model.global"/>
</alternate>
</content>
⚓ |
| Schema Declaration |
element respLine
{
ws_att.global.attributes,
ws_att.cmc.attributes,
( text | ws_model.gLike | ws_model.phrase | ws_docAuthor | ws_model.global )*
}⚓ |
| <calendar> (calendar) describes a calendar or dating system used in a dating formula in the text. [2.4.5. Calendar Description] | |
| Module | header |
| Attributes |
|
| Contained by | header: calendarDesc |
| May contain | |
| Example | <calendarDesc>
<calendar xml:id="julianEngland">
<p>Julian Calendar (including proleptic)</p>
</calendar>
</calendarDesc> |
| Example | <calendarDesc>
<calendar xml:id="egyptian"
target="http://en.wikipedia.org/wiki/Egyptian_calendar">
<p>Egyptian calendar (as defined by Wikipedia)</p>
</calendar>
</calendarDesc> |
| Content model |
<content>
<classRef key="model.pLike" minOccurs="1"
maxOccurs="unbounded"/>
</content>
⚓ |
| Schema Declaration |
element calendar
{
ws_att.global.attributes,
ws_att.pointing.attributes,
ws_att.typed.attributes,
ws_model.pLike+
}⚓ |
| <calendarDesc> (calendar description) contains a description of the calendar system used in any dating expression found in the text. [2.4. The Profile Description 2.4.5. Calendar Description] | |
| Module | header |
| Attributes |
|
| Member of | |
| Contained by | header: profileDesc |
| May contain | header: calendar |
| Note | In the first example above, calendars and short codes for xml:ids are from W3 guidelines at http://www.w3.org/TR/xpath-functions-11/#lang-cal-country |
| Example | <calendarDesc>
<calendar xml:id="cal_AD">
<p>Anno Domini (Christian Era)</p>
</calendar>
<calendar xml:id="cal_AH">
<p>Anno Hegirae (Muhammedan Era)</p>
</calendar>
<calendar xml:id="cal_AME">
<p>Mauludi Era (solar years since Mohammed's birth)</p>
</calendar>
<calendar xml:id="cal_AM">
<p>Anno Mundi (Jewish Calendar)</p>
</calendar>
<calendar xml:id="cal_AP">
<p>Anno Persici</p>
</calendar>
<calendar xml:id="cal_AS">
<p>Aji Saka Era (Java)</p>
</calendar>
<calendar xml:id="cal_BE">
<p>Buddhist Era</p>
</calendar>
<calendar xml:id="cal_CB">
<p>Cooch Behar Era</p>
</calendar>
<calendar xml:id="cal_CE">
<p>Common Era</p>
</calendar>
<calendar xml:id="cal_CL">
<p>Chinese Lunar Era</p>
</calendar>
<calendar xml:id="cal_CS">
<p>Chula Sakarat Era</p>
</calendar>
<calendar xml:id="cal_EE">
<p>Ethiopian Era</p>
</calendar>
<calendar xml:id="cal_FE">
<p>Fasli Era</p>
</calendar>
<calendar xml:id="cal_ISO">
<p>ISO 8601 calendar</p>
</calendar>
<calendar xml:id="cal_JE">
<p>Japanese Calendar</p>
</calendar>
<calendar xml:id="cal_KE">
<p>Khalsa Era (Sikh calendar)</p>
</calendar>
<calendar xml:id="cal_KY">
<p>Kali Yuga</p>
</calendar>
<calendar xml:id="cal_ME">
<p>Malabar Era</p>
</calendar>
<calendar xml:id="cal_MS">
<p>Monarchic Solar Era</p>
</calendar>
<calendar xml:id="cal_NS">
<p>Nepal Samwat Era</p>
</calendar>
<calendar xml:id="cal_OS">
<p>Old Style (Julian Calendar)</p>
</calendar>
<calendar xml:id="cal_RS">
<p>Rattanakosin (Bangkok) Era</p>
</calendar>
<calendar xml:id="cal_SE">
<p>Saka Era</p>
</calendar>
<calendar xml:id="cal_SH">
<p>Mohammedan Solar Era (Iran)</p>
</calendar>
<calendar xml:id="cal_SS">
<p>Saka Samvat</p>
</calendar>
<calendar xml:id="cal_TE">
<p>Tripurabda Era</p>
</calendar>
<calendar xml:id="cal_VE">
<p>Vikrama Era</p>
</calendar>
<calendar xml:id="cal_VS">
<p>Vikrama Samvat Era</p>
</calendar>
</calendarDesc> |
| Example | <calendarDesc>
<calendar xml:id="cal_Gregorian">
<p>Gregorian calendar</p>
</calendar>
<calendar xml:id="cal_Julian">
<p>Julian calendar</p>
</calendar>
<calendar xml:id="cal_Islamic">
<p>Islamic or Muslim (hijri) lunar calendar</p>
</calendar>
<calendar xml:id="cal_Hebrew">
<p>Hebrew or Jewish lunisolar calendar</p>
</calendar>
<calendar xml:id="cal_Revolutionary">
<p>French Revolutionary calendar</p>
</calendar>
<calendar xml:id="cal_Iranian">
<p>Iranian or Persian (Jalaali) solar calendar</p>
</calendar>
<calendar xml:id="cal_Coptic">
<p>Coptic or Alexandrian calendar</p>
</calendar>
<calendar xml:id="cal_Chinese">
<p>Chinese lunisolar calendar</p>
</calendar>
</calendarDesc> |
| Example | <calendarDesc>
<calendar xml:id="cal_Egyptian"
target="http://en.wikipedia.org/wiki/Egyptian_calendar">
<p>Egyptian calendar (as defined by Wikipedia)</p>
</calendar>
</calendarDesc> |
| Content model |
<content>
<elementRef key="calendar" minOccurs="1"
maxOccurs="unbounded"/>
</content>
⚓ |
| Schema Declaration |
element calendarDesc { ws_att.global.attributes, ws_calendar+ }⚓ |
| <castGroup> (cast list grouping) groups one or more individual <castItem> elements within a cast list. [7.1.4. Cast Lists] | |||||||
| Module | drama | ||||||
| Attributes |
| ||||||
| Contained by | |||||||
| May contain | |||||||
| Note | The rend attribute may be used, as here, to indicate whether the grouping is indicated by a brace, whitespace, font change, etc. Note that in this example the role description ‘friends of Mathias’ is understood to apply to both roles equally. | ||||||
| Example | <castGroup rend="braced">
<castItem>
<role>Walter</role>
<actor>Mr Frank Hall</actor>
</castItem>
<castItem>
<role>Hans</role>
<actor>Mr F.W. Irish</actor>
</castItem>
<roleDesc>friends of Mathias</roleDesc>
</castGroup> | ||||||
| Content model |
<content>
<sequence minOccurs="1" maxOccurs="1">
<alternate minOccurs="0"
maxOccurs="unbounded">
<classRef key="model.global"/>
<classRef key="model.headLike"/>
</alternate>
<sequence minOccurs="1"
maxOccurs="unbounded">
<alternate minOccurs="1" maxOccurs="1">
<elementRef key="castItem"/>
<elementRef key="castGroup"/>
<elementRef key="roleDesc"/>
</alternate>
<classRef key="model.global"
minOccurs="0" maxOccurs="unbounded"/>
</sequence>
<sequence minOccurs="0" maxOccurs="1">
<elementRef key="trailer"/>
<classRef key="model.global"
minOccurs="0" maxOccurs="unbounded"/>
</sequence>
</sequence>
</content>
⚓ | ||||||
| Schema Declaration |
element castGroup
{
ws_att.global.attributes,
attribute gender { text }?,
(
( ws_model.global | ws_model.headLike )*,
( ( ( ws_castItem | ws_castGroup | ws_roleDesc ), ws_model.global* )+ ),
( ( ws_trailer, ws_model.global* )? )
)
}⚓ | ||||||
| <castItem> (cast list item) contains a single entry within a cast list, describing either a single role or a list of non-speaking roles. [7.1.4. Cast Lists] | |||||||||||||||||||
| Module | drama | ||||||||||||||||||
| Attributes |
| ||||||||||||||||||
| Contained by | |||||||||||||||||||
| May contain | core: abbr add address author cb choice corr date del desc distinct email emph expan foreign gap gloss graphic hi label lb measure mentioned milestone name note num orig pb ptr ref reg rs sic soCalled term time title unclear figures: figure gaiji: g header: idno msdescription: dimensions height width transcr: addSpan am damageSpan delSpan ex handShift listTranspose metamark mod mw redo space subst substJoin supplied surplus undo character data | ||||||||||||||||||
| Example | <castItem>
<role>Player</role>
<actor>Mr Milward</actor>
</castItem> | ||||||||||||||||||
| Example | <castItem type="list">Constables, Drawer, Turnkey, etc.</castItem> | ||||||||||||||||||
| Content model |
<content>
<alternate minOccurs="0"
maxOccurs="unbounded">
<textNode/>
<classRef key="model.gLike"/>
<classRef key="model.castItemPart"/>
<classRef key="model.phrase"/>
<classRef key="model.global"/>
</alternate>
</content>
⚓ | ||||||||||||||||||
| Schema Declaration |
element castItem
{
ws_att.global.attributes,
ws_att.typed.attribute.subtype,
attribute type { "role" | "list" }?,
attribute gender { text }?,
(
text
| ws_model.gLike
| ws_model.castItemPart
| ws_model.phrase
| ws_model.global
)*
}⚓ | ||||||||||||||||||
| <castList> (cast list) contains a single cast list or dramatis personae. [7.1.4. Cast Lists 7.1. Front and Back Matter ] | |
| Module | drama |
| Attributes |
|
| Member of | |
| Contained by | derived-module-wwp-store: advertisement docAuthorization docSale hyperDiv mcr textstructure: argument back body div docEdition epigraph front imprimatur postscript salute signed titlePart trailer |
| May contain | |
| Example | <castList>
<castGroup>
<head rend="braced">Mendicants</head>
<castItem>
<role>Aafaa</role>
<actor>Femi Johnson</actor>
</castItem>
<castItem>
<role>Blindman</role>
<actor>Femi Osofisan</actor>
</castItem>
<castItem>
<role>Goyi</role>
<actor>Wale Ogunyemi</actor>
</castItem>
<castItem>
<role>Cripple</role>
<actor>Tunji Oyelana</actor>
</castItem>
</castGroup>
<castItem>
<role>Si Bero</role>
<roleDesc>Sister to Dr Bero</roleDesc>
<actor>Deolo Adedoyin</actor>
</castItem>
<castGroup>
<head rend="braced">Two old women</head>
<castItem>
<role>Iya Agba</role>
<actor>Nguba Agolia</actor>
</castItem>
<castItem>
<role>Iya Mate</role>
<actor>Bopo George</actor>
</castItem>
</castGroup>
<castItem>
<role>Dr Bero</role>
<roleDesc>Specialist</roleDesc>
<actor>Nat Okoro</actor>
</castItem>
<castItem>
<role>Priest</role>
<actor>Gbenga Sonuga</actor>
</castItem>
<castItem>
<role>The old man</role>
<roleDesc>Bero's father</roleDesc>
<actor>Dapo Adelugba</actor>
</castItem>
</castList>
<stage type="mix">The action takes place in and around the home surgery of
Dr Bero, lately returned from the wars.</stage> |
| Content model |
<content>
<sequence minOccurs="1" maxOccurs="1">
<alternate minOccurs="0"
maxOccurs="unbounded">
<classRef key="model.divTop"/>
<classRef key="model.global"/>
</alternate>
<sequence minOccurs="0"
maxOccurs="unbounded">
<classRef key="model.common"/>
<classRef key="model.global"
minOccurs="0" maxOccurs="unbounded"/>
</sequence>
<sequence minOccurs="1"
maxOccurs="unbounded">
<alternate minOccurs="1" maxOccurs="1">
<elementRef key="castItem"/>
<elementRef key="castGroup"/>
</alternate>
<classRef key="model.global"
minOccurs="0" maxOccurs="unbounded"/>
</sequence>
<sequence minOccurs="0"
maxOccurs="unbounded">
<classRef key="model.common"/>
<classRef key="model.global"
minOccurs="0" maxOccurs="unbounded"/>
</sequence>
</sequence>
</content>
⚓ |
| Schema Declaration |
element castList
{
ws_att.global.attributes,
(
( ws_model.divTop | ws_model.global )*,
( ( ws_model.common, ws_model.global* )* ),
( ( ( ws_castItem | ws_castGroup ), ws_model.global* )+ ),
( ( ws_model.common, ws_model.global* )* )
)
}⚓ |
| <catDesc> (category description) describes some category within a taxonomy or text typology, either in the form of a brief prose description or in terms of the situational parameters used by the TEI formal <textDesc>. [2.3.7. The Classification Declaration] | |
| Module | header |
| Attributes |
|
| Contained by | header: category |
| May contain | |
| Example | <catDesc>Prose reportage</catDesc> |
| Example | <catDesc>
<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>
</catDesc> |
| Content model |
<content>
<alternate minOccurs="0"
maxOccurs="unbounded">
<textNode/>
<classRef key="model.limitedPhrase"/>
<classRef key="model.catDescPart"/>
</alternate>
</content>
⚓ |
| Schema Declaration |
element catDesc
{
ws_att.global.attributes,
ws_att.canonical.attributes,
( text | ws_model.limitedPhrase | ws_model.catDescPart )*
}⚓ |
| <catRef> (category reference) specifies one or more defined categories within some taxonomy or text typology. [2.4.3. The Text Classification] | |||||||||||||||
| Module | header | ||||||||||||||
| Attributes |
| ||||||||||||||
| Contained by | |||||||||||||||
| May contain | Empty element | ||||||||||||||
| Note | The scheme attribute needs to be supplied only if more than one taxonomy has been declared. | ||||||||||||||
| Example | <catRef scheme="#myTopics"
target="#news #prov #sales2"/>
<!-- elsewhere -->
<taxonomy xml:id="myTopics">
<category xml:id="news">
<catDesc>Newspapers</catDesc>
</category>
<category xml:id="prov">
<catDesc>Provincial</catDesc>
</category>
<category xml:id="sales2">
<catDesc>Low to average annual sales</catDesc>
</category>
</taxonomy> | ||||||||||||||
| Content model |
<content>
<empty/>
</content>
⚓ | ||||||||||||||
| Schema Declaration |
element catRef
{
ws_att.global.attributes,
ws_att.pointing.attributes,
attribute type { "main" | "other" }?,
attribute scheme { text }?,
empty
}⚓ | ||||||||||||||
| <category> (category) contains an individual descriptive category, possibly nested within a superordinate category, within a user-defined taxonomy. [2.3.7. The Classification Declaration] | |
| Module | header |
| Attributes |
|
| Contained by | |
| May contain | |
| Example | <category xml:id="b1">
<catDesc>Prose reportage</catDesc>
</category> |
| Example | <category xml:id="b2">
<catDesc>Prose </catDesc>
<category xml:id="b11">
<catDesc>journalism</catDesc>
</category>
<category xml:id="b12">
<catDesc>fiction</catDesc>
</category>
</category> |
| Example | <category xml:id="LIT">
<catDesc xml:lang="pl">literatura piękna</catDesc>
<catDesc xml:lang="en">fiction</catDesc>
<category xml:id="LPROSE">
<catDesc xml:lang="pl">proza</catDesc>
<catDesc xml:lang="en">prose</catDesc>
</category>
<category xml:id="LPOETRY">
<catDesc xml:lang="pl">poezja</catDesc>
<catDesc xml:lang="en">poetry</catDesc>
</category>
<category xml:id="LDRAMA">
<catDesc xml:lang="pl">dramat</catDesc>
<catDesc xml:lang="en">drama</catDesc>
</category>
</category> |
| Content model |
<content>
<sequence>
<alternate>
<elementRef key="catDesc" minOccurs="1"
maxOccurs="unbounded"/>
<alternate minOccurs="0"
maxOccurs="unbounded">
<classRef key="model.descLike"/>
<elementRef key="equiv"/>
<elementRef key="gloss"/>
</alternate>
</alternate>
<elementRef key="category" minOccurs="0"
maxOccurs="unbounded"/>
</sequence>
</content>
⚓ |
| Schema Declaration |
element category
{
ws_att.global.attributes,
ws_att.datcat.attributes,
(
( ws_catDesc+ | ( ws_model.descLike | equiv | ws_gloss )* ),
ws_category*
)
}⚓ |
| <cb> (column beginning) marks the beginning of a new column of a text on a multi-column page. [3.11.3. Milestone Elements] | |
| Module | core |
| Attributes |
|
| Member of | |
| Contained by | core: abbr add addrLine address author bibl biblScope citedRange corr date del distinct editor email emph expan foreign gloss head headItem headLabel hi imprint item l label lg list listBibl measure mentioned name note num orig p pubPlace publisher quote ref reg resp rs said series sic soCalled sp speaker stage term time title unclear derived-module-wwp-store: acrostic advertisement anagram docAuthorization docSale elision mcr regMe translator |
| May contain | Empty element |
| Note | On this element, the global n attribute indicates the number or other value associated with the column which follows the point of insertion of this <cb> element. Encoders should adopt a clear and consistent policy as to whether the numbers associated with column beginnings relate to the physical sequence number of the column in the whole text, or whether columns are numbered within the page. The <cb> element is placed at the head of the column to which it refers. |
| Example | Markup of an early English dictionary printed in two columns: <pb/>
<cb n="1"/>
<entryFree>
<form>Well</form>, <sense>a Pit to hold Spring-Water</sense>:
<sense>In the Art of <hi rend="italic">War</hi>, a Depth the Miner
sinks into the Ground, to find out and disappoint the Enemies Mines,
or to prepare one</sense>.
</entryFree>
<entryFree>To <form>Welter</form>, <sense>to wallow</sense>, or
<sense>lie groveling</sense>.</entryFree>
<!-- remainder of column -->
<cb n="2"/>
<entryFree>
<form>Wey</form>, <sense>the greatest Measure for dry Things,
containing five Chaldron</sense>.
</entryFree>
<entryFree>
<form>Whale</form>, <sense>the greatest of
Sea-Fishes</sense>.
</entryFree> |
| Content model |
<content>
<empty/>
</content>
⚓ |
| Schema Declaration |
element cb
{
ws_att.global.attributes,
ws_att.breaking.attributes,
ws_att.cmc.attributes,
ws_att.edition.attributes,
ws_att.spanning.attributes,
ws_att.typed.attributes,
empty
}⚓ |
| <cell> (cell) contains one cell of a table. [15.1.1. TEI Tables] | |
| Module | figures |
| Attributes |
|
| Contained by | figures: row |
| May contain | core: abbr add address author bibl biblStruct cb choice corr date del desc distinct email emph expan foreign gap gloss graphic hi l label lb lg list listBibl measure mentioned milestone name note num orig p pb ptr quote ref reg rs said sic soCalled sp stage term time title unclear gaiji: g header: idno msdescription: dimensions height width textstructure: floatingText transcr: addSpan am damageSpan delSpan ex handShift listTranspose metamark mod mw redo space subst substJoin supplied surplus undo character data |
| Example | <row>
<cell role="label">General conduct</cell>
<cell role="data">Not satisfactory, on account of his great unpunctuality
and inattention to duties</cell>
</row> |
| Content model |
<content>
<macroRef key="macro.specialPara"/>
</content>
⚓ |
| Schema Declaration |
element cell
{
ws_att.global.attributes,
ws_att.tableDecoration.attributes,
ws_macro.specialPara
}⚓ |
| <change> (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 12.7. Identifying Changes and Revisions] | |||||||||||||||||||||||||
| Module | header | ||||||||||||||||||||||||
| Attributes |
| ||||||||||||||||||||||||
| 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>
<alternate minOccurs="0"
maxOccurs="unbounded">
<textNode/>
<elementRef key="gi"/>
<elementRef key="ptr"/>
<elementRef key="code"/>
<elementRef key="att"/>
<elementRef key="quote"/>
<elementRef key="list"/>
<elementRef key="val"/>
<elementRef key="persName"/>
<elementRef key="tag"/>
<elementRef key="name"/>
<elementRef key="date"/>
<elementRef key="emph"/>
<elementRef key="title"/>
<elementRef key="note"/>
</alternate>
</content>
⚓ | ||||||||||||||||||||||||
| Schema Declaration |
element change
{
ws_att.global.attributes,
ws_att.datable.attribute.period,
ws_att.datable.custom.attribute.when-custom,
ws_att.datable.custom.attribute.notBefore-custom,
ws_att.datable.custom.attribute.notAfter-custom,
ws_att.datable.custom.attribute.from-custom,
ws_att.datable.custom.attribute.to-custom,
ws_att.datable.custom.attribute.datingPoint,
ws_att.datable.custom.attribute.datingMethod,
ws_att.datable.iso.attribute.when-iso,
ws_att.datable.iso.attribute.notBefore-iso,
ws_att.datable.iso.attribute.notAfter-iso,
ws_att.datable.iso.attribute.from-iso,
ws_att.datable.iso.attribute.to-iso,
ws_att.datable.w3c.attribute.notBefore,
ws_att.datable.w3c.attribute.notAfter,
ws_att.datable.w3c.attribute.from,
ws_att.datable.w3c.attribute.to,
ws_att.docStatus.attributes,
ws_att.typed.attributes,
attribute who { list { ?, ?, ?, ?, ? } },
attribute when { text },
attribute target { list { + } }?,
(
text
| ws_gi
| ws_ptr
| ws_code
| ws_att
| ws_quote
| ws_list
| ws_val
| ws_persName
| ws_tag
| ws_name
| ws_date
| ws_emph
| ws_title
| ws_note
)*
}⚓ | ||||||||||||||||||||||||
| <char> (character) provides descriptive information about a character. [5.2. Markup Constructs for Representation of Characters and Glyphs] | |
| Module | gaiji |
| Attributes |
|
| Contained by | gaiji: charDecl |
| May contain | |
| Example | <char xml:id="circledU4EBA">
<localProp name="Name"
value="CIRCLED IDEOGRAPH 4EBA"/>
<localProp name="daikanwa" value="36"/>
<unicodeProp name="Decomposition_Mapping"
value="circle"/>
<mapping type="standard">人</mapping>
</char> |
| Content model |
<content>
<alternate minOccurs="0"
maxOccurs="unbounded">
<elementRef key="unicodeProp"/>
<elementRef key="unihanProp"/>
<elementRef key="localProp"/>
<elementRef key="mapping"/>
<elementRef key="figure"/>
<classRef key="model.graphicLike"/>
<classRef key="model.noteLike"/>
<classRef key="model.descLike"/>
</alternate>
</content>
⚓ |
| Schema Declaration |
element char
{
ws_att.global.attributes,
(
unicodeProp
| unihanProp
| localProp
| ws_mapping
| ws_figure
| ws_model.graphicLike
| ws_model.noteLike
| ws_model.descLike
)*
}⚓ |
| <charDecl> (character declarations) provides information about nonstandard characters and glyphs. [5.2. Markup Constructs for Representation of Characters and Glyphs] | |
| Module | gaiji |
| Attributes |
|
| Member of | |
| Contained by | header: encodingDesc |
| May contain | |
| Example | <charDecl>
<char xml:id="aENL">
<unicodeProp name="Name"
value="LATIN LETTER ENLARGED SMALL A"/>
<mapping type="standard">a</mapping>
</char>
</charDecl> |
| Content model |
<content>
<sequence>
<elementRef key="desc" minOccurs="0"/>
<alternate minOccurs="1"
maxOccurs="unbounded">
<elementRef key="char"/>
<elementRef key="glyph"/>
</alternate>
</sequence>
</content>
⚓ |
| Schema Declaration |
element charDecl
{
ws_att.global.attributes,
( ws_desc?, ( ws_char | glyph )+ )
}⚓ |
| <choice> (choice) groups a number of alternative encodings for the same point in a text. [3.5. Simple Editorial Changes] | |
| Module | core |
| Attributes |
|
| Member of | |
| Contained by | core: abbr add addrLine author bibl biblScope citedRange corr date del desc distinct editor email emph expan foreign gloss head headItem headLabel hi item l label measure mentioned name num orig p pubPlace publisher quote ref reg resp rs said sic soCalled speaker stage term time title unclear derived-module-wwp-store: acrostic anagram docAuthorization docSale mcr regMe translator textstructure: closer dateline docDate docEdition docImprint docRole imprimatur opener respLine salute signed titlePart trailer |
| 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 13.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="1" maxOccurs="1">
<sequence minOccurs="1" maxOccurs="1">
<elementRef key="sic"/>
<elementRef key="corr"
maxOccurs="unbounded"/>
</sequence>
<sequence minOccurs="1" maxOccurs="1">
<elementRef key="abbr"/>
<elementRef key="expan"
maxOccurs="unbounded"/>
</sequence>
<sequence minOccurs="1" maxOccurs="1">
<elementRef key="orig"/>
<elementRef key="reg"
maxOccurs="unbounded"/>
</sequence>
<elementRef key="unclear" minOccurs="2"
maxOccurs="unbounded"/>
<elementRef key="supplied" minOccurs="2"
maxOccurs="unbounded"/>
</alternate>
</content>
⚓ |
| Schema Declaration |
element choice
{
ws_att.global.attributes,
ws_att.cmc.attributes,
(
( ws_sic, ws_corr+ )
| ( ws_abbr, ws_expan+ )
| ( ws_orig, ws_reg+ )
| ( ws_unclear, ws_unclear, ws_unclear* )
| ( ws_supplied, ws_supplied, ws_supplied* )
)
}⚓ |
| <citedRange> (cited range) defines the range of cited content, often represented by pages or other units. [3.12.2.5. Scopes and Ranges in Bibliographic Citations] | |
| Module | core |
| Attributes |
|
| Member of | |
| Contained by | core: bibl biblStruct derived-module-wwp-store: advertisement |
| May contain | core: abbr add address author cb choice corr date del distinct email emph expan foreign gap gloss graphic hi lb measure mentioned milestone name note num orig pb ptr quote ref reg rs said sic soCalled term time title unclear figures: figure gaiji: g header: idno msdescription: dimensions height width textstructure: floatingText transcr: addSpan am damageSpan delSpan ex handShift listTranspose metamark mod mw redo space subst substJoin supplied surplus undo character data |
| 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
{
ws_att.global.attributes,
ws_att.citing.attributes,
ws_att.pointing.attributes,
ws_macro.phraseSeq
}⚓ |
| <classDecl> (classification declarations) contains a taxonomy (in a <taxonomy>) defining any classificatory codes used elsewhere in the text. [2.3.7. The Classification Declaration 2.3. The Encoding Description] | |
| Module | header |
| Attributes |
|
| Member of | |
| Contained by | header: encodingDesc |
| May contain | header: taxonomy |
| Note | The WWP version of this element more restrictive than TEI. The TEI allows one or more <taxonomy> children, whereas we allow only one. |
| 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"/>
</content>
⚓ |
| Schema Declaration |
element classDecl { ws_att.global.attributes, ws_taxonomy }⚓ |
| <closer> (closer) groups together salutations, datelines, and similar phrases appearing as a final group at the end of a division, especially of a letter. [4.2.2. Openers and Closers 4.2. Elements Common to All Divisions] | |
| Module | textstructure |
| Attributes |
|
| Member of | |
| Contained by | |
| May contain | core: abbr add address author cb choice corr date del distinct email emph expan foreign gap gloss graphic hi lb measure mentioned milestone name note num orig pb ptr ref reg rs sic soCalled term time title unclear figures: figure gaiji: g header: idno msdescription: dimensions height width transcr: addSpan am damageSpan delSpan ex handShift listTranspose metamark mod mw redo space subst substJoin supplied surplus undo character data |
| Example | <div type="letter">
<p> perhaps you will favour me with a sight of it when convenient.</p>
<closer>
<salute>I remain, &c. &c.</salute>
<signed>H. Colburn</signed>
</closer>
</div> |
| Example | <div type="chapter">
<p>
<!-- ... --> and his heart was going like mad and yes I said yes I will Yes.</p>
<closer>
<dateline>
<name type="place">Trieste-Zürich-Paris,</name>
<date>1914–1921</date>
</dateline>
</closer>
</div> |
| Content model |
<content>
<alternate minOccurs="0"
maxOccurs="unbounded">
<textNode/>
<classRef key="model.gLike"/>
<elementRef key="signed"/>
<elementRef key="dateline"/>
<elementRef key="salute"/>
<classRef key="model.phrase"/>
<classRef key="model.global"/>
</alternate>
</content>
⚓ |
| Schema Declaration |
element closer
{
ws_att.global.attributes,
ws_att.cmc.attributes,
ws_att.written.attributes,
(
text
| ws_model.gLike
| ws_signed
| ws_dateline
| ws_salute
| ws_model.phrase
| ws_model.global
)*
}⚓ |
| <code> contains literal code from some formal language such as a programming language. [23.1.1. Phrase Level Terms] | |||||||
| Module | tagdocs | ||||||
| Attributes |
| ||||||
| Member of | |||||||
| Contained by | core: abbr add addrLine author bibl biblScope citedRange corr date del desc distinct editor email emph expan foreign gloss head headItem headLabel hi item l label measure mentioned name num orig p pubPlace publisher quote ref reg resp rs said sic soCalled speaker stage term time title unclear derived-module-wwp-store: acrostic anagram docAuthorization docSale mcr regMe translator textstructure: closer dateline docDate docEdition docImprint docRole imprimatur opener respLine salute signed titlePart trailer | ||||||
| May contain | Character data only | ||||||
| Example | <code lang="JAVA"> Size fCheckbox1Size = new Size();
fCheckbox1Size.Height = 500;
fCheckbox1Size.Width = 500;
xCheckbox1.setSize(fCheckbox1Size);
</code> | ||||||
| Content model |
<content>
<textNode/>
</content>
⚓ | ||||||
| Schema Declaration |
element code { ws_att.global.attributes, attribute lang { text }?, text }⚓ | ||||||
| <corr> (correction) contains the correct form of a passage apparently erroneous in the copy text. [3.5.1. Apparent Errors] | |
| Module | core |
| Attributes |
|
| Member of | |
| Contained by | core: abbr add addrLine author bibl biblScope choice citedRange corr date del distinct editor email emph expan foreign gloss head headItem headLabel hi item l label measure mentioned name num orig p pubPlace publisher quote ref reg rs said sic soCalled speaker stage term time title unclear derived-module-wwp-store: acrostic anagram docAuthorization docSale mcr regMe translator figures: cell textstructure: closer dateline docDate docEdition docImprint docRole imprimatur opener respLine salute signed titlePart trailer |
| May contain | core: abbr add address author bibl biblStruct cb choice corr date del desc distinct email emph expan foreign gap gloss graphic hi l label lb lg list listBibl measure mentioned milestone name note num orig pb ptr quote ref reg rs said sic soCalled stage term time title unclear drama: castList gaiji: g header: idno msdescription: dimensions height width textstructure: floatingText transcr: addSpan am damageSpan delSpan ex handShift listTranspose metamark mod mw redo space subst substJoin supplied surplus undo character data |
| Example | If all that is desired is to call attention to the fact that the copy text has been corrected, <corr> may be used alone: I don't know,
Juan. It's so far in the past now — how <corr>can we</corr> prove
or disprove anyone's theories? |
| Example | It is also possible, using the <choice> and <sic> elements, to provide an uncorrected reading: I don't know, Juan. It's so far in the past now —
how <choice>
<sic>we can</sic>
<corr>can we</corr>
</choice> prove or
disprove anyone's theories? |
| Content model |
<content>
<macroRef key="macro.paraContent"/>
</content>
⚓ |
| Schema Declaration |
element corr
{
ws_att.global.attributes,
ws_att.cmc.attributes,
ws_att.editLike.attributes,
ws_att.typed.attributes,
ws_macro.paraContent
}⚓ |
| <correction> (correction principles) states how and under what circumstances corrections have been made in the text. [2.3.3. The Editorial Practices Declaration 16.3.2. Declarable Elements] | |||||||||||||||||
| Module | header | ||||||||||||||||
| Attributes |
| ||||||||||||||||
| Member of | |||||||||||||||||
| 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.5. 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
{
ws_att.global.attributes,
ws_att.declarable.attributes,
attribute status { "high" | "medium" | "low" | "unknown" }?,
attribute method { "silent" | "markup" }?,
ws_model.pLike+
}⚓ | ||||||||||||||||
| <country> (country) contains the name of a geo-political unit, such as a nation, country, colony, or commonwealth, larger than or administratively superior to a region and smaller than a bloc. [14.2.3. Place Names] | |
| Module | namesdates |
| Contained by | core: pubPlace |
| May contain | core: abbr add address author cb choice corr date del distinct email emph expan foreign gap gloss graphic hi lb measure mentioned milestone name note num orig pb ptr quote ref reg rs said sic soCalled term time title unclear figures: figure gaiji: g header: idno msdescription: dimensions height width textstructure: floatingText transcr: addSpan am damageSpan delSpan ex handShift listTranspose metamark mod mw redo space subst substJoin supplied surplus undo character data |
| Note | At the WWP, <country> (and <region> and <settlement>) are only used as a child of <pubPlace>. |
| Example | <country key="DK">Denmark</country> |
| Content model |
<content>
<macroRef key="macro.phraseSeq"/>
</content>
⚓ |
| Schema Declaration |
element country { ws_macro.phraseSeq }⚓ |
| <damageSpan> (damaged span of text) marks the beginning of a longer sequence of text which is damaged in some way but still legible. [12.3.3.1. Damage, Illegibility, and Supplied Text] | |
| Module | transcr |
| Attributes |
|
| Member of | |
| Contained by | core: abbr add addrLine address author bibl biblScope citedRange corr date del distinct editor email emph expan foreign gloss head headItem headLabel hi imprint item l label lg list measure mentioned name note num orig p pubPlace publisher quote ref reg resp rs said series sic soCalled sp speaker stage term time title unclear derived-module-wwp-store: acrostic advertisement anagram docAuthorization docSale elision mcr regMe translator |
| May contain | Empty element |
| Note | Both the beginning and ending of the damaged sequence must be marked: the beginning by the <damageSpan> element, the ending by the target of the spanTo attribute: if no other element available, the <anchor> element may be used for this purpose. The damaged text must be at least partially legible, in order for the encoder to be able to transcribe it. If it is not legible at all, the <damageSpan> element should not be used. Rather, the <gap> or <unclear> element should be employed, with the value of the reason attribute giving the cause. See further sections 12.3.3.1. Damage, Illegibility, and Supplied Text and 12.3.3.2. Use of the gap, del, damage, unclear, and supplied Elements in Combination. |
| Example | <p>Paragraph partially damaged. This is the undamaged
portion <damageSpan spanTo="#a34"/>and this the damaged
portion of the paragraph.</p>
<p>This paragraph is entirely damaged.</p>
<p>Paragraph partially damaged; in the middle of this
paragraph the damage ends and the anchor point marks
the start of the <anchor xml:id="a34"/> undamaged part of the text. ...</p> |
| Schematron |
<sch:rule context="tei:damageSpan">
<sch:assert test="@spanTo">The @spanTo attribute of <sch:name/> is required.</sch:assert>
</sch:rule> |
| Schematron |
<sch:rule context="tei:damageSpan">
<sch:assert test="@spanTo">L'attribut spanTo est requis.</sch:assert>
</sch:rule> |
| Content model |
<content>
<empty/>
</content>
⚓ |
| Schema Declaration |
element damageSpan
{
ws_att.global.attributes,
ws_att.damaged.attributes,
ws_att.spanning.attributes,
ws_att.typed.attributes,
empty
}⚓ |
| <date> (date) contains a date in any format. [3.6.4. Dates and Times 2.2.4. Publication, Distribution, Licensing, etc. 2.6. The Revision Description 3.12.2.4. Imprint, Size of a Document, and Reprint Information 16.2.3. The Setting Description 14.4. Dates] | |||||||||||
| Module | core | ||||||||||
| Attributes |
| ||||||||||
| Member of | |||||||||||
| Contained by | core: abbr add addrLine analytic author bibl biblScope citedRange corr date del desc distinct editor email emph expan foreign gloss head headItem headLabel hi imprint item l label measure mentioned name num orig p pubPlace publisher quote ref reg resp rs said sic soCalled speaker stage term time title unclear derived-module-wwp-store: acrostic anagram docAuthorization docSale mcr regMe translator textstructure: closer dateline docDate docEdition docImprint docRole imprimatur opener respLine salute signed titlePart trailer | ||||||||||
| May contain | core: abbr add address author cb choice corr date del distinct email emph expan foreign gap gloss graphic hi lb measure mentioned milestone name note num orig pb ptr ref reg rs sic soCalled term time title unclear figures: figure gaiji: g header: idno msdescription: dimensions height width transcr: addSpan am damageSpan delSpan ex handShift listTranspose metamark mod mw redo space subst substJoin supplied surplus undo character data | ||||||||||
| Note | A B.C. date is encoded per ISO 8601:2019 (not ISO 8601:1988 and thus TEI), which (like the astronomical calendar) has a year 0. Thus the year AD 1 (or 1 CE, 0001) was immediately preceded by the year BC 1 (or 1 BCE, 0000), which was immediately preceded by the year BC 2 (or 2 BCE, -0001). <date when="-1077">1078 B.C.</date> Unlike TEI, where the temporal attributes like when and notAfter are normalizations of the date in question to Gregorian or proleptic Gregorian, at the WWP temporal attributes are merely regularized versions of the date as presented in the source, i.e. whether it be in Gregorian, Julian (aka ‘N.S.’ or ‘O.S.’), or something else, only the format is changed. | ||||||||||
| 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> | ||||||||||
| Schematron |
<sch:pattern>
<sch:rule context="tei:application |tei:date[ not(@prev) and ( @calendar = ('#cal_Gregorian','#cal_NS','#cal_Julian')
or not( @calendar ) ) ] |tei:time[ not(@prev) and ( @calendar = ('#cal_Gregorian','#cal_NS','#cal_Julian')
or not( @calendar ) ) ]">
<sch:assert test="@when or @when-custom or @when-iso or @notBefore or @notBefore-custom
or @notBefore-iso or @notAfter or @notAfter-iso or @notAfter-custom
or @from or @from-custom or @from-iso or @to or @to-custom or @to-iso">At least one temporal normalization attribute should be specified on a <<sch:value-of select="name(.)"/>><sch:value-of select="if (@calendar) then concat(' with calendar=', @calendar) else ''"/> (unless it has @prev).</sch:assert>
</sch:rule>
</sch:pattern> | ||||||||||
| Schematron |
<sch:pattern>
<sch:rule context="tei:date[ @prev or @calendar = ('#cal_Mundi','#cal_undetermined')
] |tei:time[ @prev or @calendar = ('#cal_Mundi','#cal_undetermined')
]">
<sch:report test="@when or @when-custom or @when-iso or @notBefore or @notBefore-custom
or @notBefore-iso or @notAfter or @notAfter-iso or @notAfter-custom
or @from or @from-custom or @from-iso or @to or @to-custom or @to-iso">No temporal normalization attributes may be specified on a <<sch:value-of select="name(.)"/>> that has <sch:value-of select="if (@prev) then 'a @prev attriute' else concat('has calendar=', @calendar
)"/>.</sch:report>
</sch:rule>
</sch:pattern> | ||||||||||
| Schematron |
<sch:rule context="tei:docDate/tei:date">
<sch:let name="dateLen"
value="string-length(normalize-space(.) )"/>
<sch:let name="docDateLen"
value="string-length(normalize-space(..))"/>
<sch:report test="$docDateLen - $dateLen gt 2"
role="warn">Having a date element nested inside a docDate is rarely required</sch:report>
<sch:report test="$docDateLen - $dateLen le 2"
role="error">The date element is not used inside docDate to represent the same date as the docDate — just use the attributes of docDate.</sch:report>
</sch:rule> | ||||||||||
| Schematron |
<sch:rule context="tei:date/@cert">
<sch:assert test="ancestor::wwp:sourceDesc">Here at the WWP we only indicate uncertain dates inside the <sourceDesc>.</sch:assert>
<sch:assert test="normalize-space(.) eq 'low'">The value of @cert on <date> should be "low" (or there should be no @cert).</sch:assert>
</sch:rule> | ||||||||||
| Schematron |
<sch:rule context="tei:imprint/tei:date[2]">
<sch:let name="numDates"
value="count( ../tei:date )"/>
<sch:let name="numIssua"
value="count( ../tei:date[@type eq 'issuance'] )"/>
<sch:assert test="$numDates - $numIssua = 1">One and only of these <date> elements should NOT have type=issuance; all the others should.</sch:assert>
</sch:rule> | ||||||||||
| 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
{
ws_att.global.attributes,
ws_att.calendarSystem.attributes,
ws_att.canonical.attributes,
ws_att.cmc.attributes,
ws_att.datable.attributes,
ws_att.dimensions.attributes,
ws_att.editLike.attributes,
ws_att.typed.attribute.subtype,
attribute type { "issuance" }?,
( text | ws_model.gLike | ws_model.phrase | ws_model.global )*
}⚓ | ||||||||||
| <dateline> (dateline) contains a brief description of the place, date, time, etc. of production of a letter, newspaper story, or other work, prefixed or suffixed to it as a kind of heading or trailer. [4.2.2. Openers and Closers] | |
| Module | textstructure |
| Attributes |
|
| Member of | |
| Contained by | |
| May contain | core: abbr add address author cb choice corr date del distinct email emph expan foreign gap gloss graphic hi lb measure mentioned milestone name note num orig pb ptr ref reg rs sic soCalled term time title unclear figures: figure gaiji: g header: idno msdescription: dimensions height width textstructure: docDate transcr: addSpan am damageSpan delSpan ex handShift listTranspose metamark mod mw redo space subst substJoin supplied surplus undo character data |
| Example | <dateline>Walden, this 29. of August 1592</dateline> |
| Example | <div type="chapter">
<p>
<!-- ... --> and his heart was going like mad and yes I said yes I will Yes.</p>
<closer>
<dateline>
<name type="place">Trieste-Zürich-Paris,</name>
<date>1914–1921</date>
</dateline>
</closer>
</div> |
| Content model |
<content>
<alternate minOccurs="0"
maxOccurs="unbounded">
<textNode/>
<classRef key="model.gLike"/>
<classRef key="model.phrase"/>
<classRef key="model.global"/>
<elementRef key="docDate"/>
</alternate>
</content>
⚓ |
| Schema Declaration |
element dateline
{
ws_att.global.attributes,
ws_att.cmc.attributes,
ws_att.written.attributes,
( text | ws_model.gLike | ws_model.phrase | ws_model.global | ws_docDate )*
}⚓ |
| <del> (deletion) contains a letter, word, or passage deleted, marked as deleted, or otherwise indicated as superfluous or spurious in the copy text by an author, scribe, or a previous annotator or corrector. [3.5.3. Additions, Deletions, and Omissions] | |
| Module | core |
| Attributes |
|
| Member of | |
| Contained by | core: abbr add addrLine author bibl biblScope citedRange corr date del distinct editor email emph expan foreign gloss head headItem headLabel hi item l label measure mentioned name num orig p pubPlace publisher quote ref reg rs said sic soCalled speaker stage term time title unclear derived-module-wwp-store: acrostic anagram docAuthorization docSale mcr regMe translator figures: cell textstructure: closer dateline docDate docEdition docImprint docRole imprimatur opener respLine salute signed titlePart trailer |
| May contain | core: abbr add address author bibl biblStruct cb choice corr date del desc distinct email emph expan foreign gap gloss graphic hi l label lb lg list listBibl measure mentioned milestone name note num orig pb ptr quote ref reg rs said sic soCalled stage term time title unclear drama: castList gaiji: g header: idno msdescription: dimensions height width textstructure: floatingText transcr: addSpan am damageSpan delSpan ex handShift listTranspose metamark mod mw redo space subst substJoin supplied surplus undo character data |
| Note | At the WWP we do not (currently) use type on <del>. |
| Example | <l>
<del rend="overtyped">Mein</del> Frisch <del rend="overstrike" type="primary">schwebt</del>
weht der Wind
</l> |
| Example | <del rend="overstrike">
<gap reason="illegible" quantity="5"
unit="character"/>
</del> |
| Content model |
<content>
<macroRef key="macro.paraContent"/>
</content>
⚓ |
| Schema Declaration |
element del
{
ws_att.global.attributes,
ws_att.cmc.attributes,
ws_att.dimensions.attributes,
ws_att.transcriptional.attributes,
ws_att.typed.attribute.subtype,
ws_macro.paraContent
}⚓ |
| <delSpan> (deleted span of text) marks the beginning of a longer sequence of text deleted, marked as deleted, or otherwise signaled as superfluous or spurious by an author, scribe, annotator, or corrector. [12.3.1.4. Additions and Deletions] | |
| Module | transcr |
| Attributes |
|
| Member of | |
| Contained by | core: abbr add addrLine address author bibl biblScope citedRange corr date del distinct editor email emph expan foreign gloss head headItem headLabel hi imprint item l label lg list measure mentioned name note num orig p pubPlace publisher quote ref reg resp rs said series sic soCalled sp speaker stage term time title unclear derived-module-wwp-store: acrostic advertisement anagram docAuthorization docSale elision mcr regMe translator |
| May contain | Empty element |
| Note | Both the beginning and ending of the deleted sequence must be marked: the beginning by the <delSpan> element, the ending by the target of the spanTo attribute. The text deleted must be at least partially legible, in order for the encoder to be able to transcribe it. If it is not legible at all, the <delSpan> tag should not be used. Rather, the <gap> tag should be employed to signal that text cannot be transcribed, with the value of the reason attribute giving the cause for the omission from the transcription as deletion. If it is not fully legible, the <unclear> element should be used to signal the areas of text which cannot be read with confidence. See further sections 12.3.1.7. Text Omitted from or Supplied in the Transcription and, for the close association of the <delSpan> tag with the <gap>, <damage>, <unclear> and <supplied> elements, 12.3.3.2. Use of the gap, del, damage, unclear, and supplied Elements in Combination. The <delSpan> tag should not be used for deletions made by editors or encoders. In these cases, either the <corr> tag or the <gap> tag should be used. |
| Example | <p>Paragraph partially deleted. This is the undeleted
portion <delSpan spanTo="#a23"/>and this the deleted
portion of the paragraph.</p>
<p>Paragraph deleted together with adjacent material.</p>
<p>Second fully deleted paragraph.</p>
<p>Paragraph partially deleted; in the middle of this
paragraph the deletion ends and the anchor point marks
the resumption <anchor xml:id="a23"/> of the text. ...</p> |
| Schematron |
<sch:rule context="tei:delSpan">
<sch:assert test="@spanTo">The @spanTo attribute of <sch:name/> is required.</sch:assert>
</sch:rule> |
| Schematron |
<sch:rule context="tei:delSpan">
<sch:assert test="@spanTo">L'attribut spanTo est requis.</sch:assert>
</sch:rule> |
| Content model |
<content>
<empty/>
</content>
⚓ |
| Schema Declaration |
element delSpan
{
ws_att.global.attributes,
ws_att.dimensions.attributes,
ws_att.spanning.attributes,
ws_att.transcriptional.attributes,
ws_att.typed.attributes,
empty
}⚓ |
| <desc> (description) contains a short description of the purpose, function, or use of its parent element, or when the parent is a documentation element, describes or defines the object being documented. [23.4.1. Description of Components] | |||||||||||||
| Module | core | ||||||||||||
| Attributes |
| ||||||||||||
| Member of | |||||||||||||
| Contained by | core: add corr del desc emph graphic head hi item l lg list listBibl note orig p quote ref reg said sic stage title unclear derived-module-wwp-store: advertisement docAuthorization docSale mcr header: category handNote licence listPrefixDef textstructure: argument body div docEdition epigraph group imprimatur postscript salute signed titlePart trailer | ||||||||||||
| May contain | core: abbr address bibl biblStruct choice date desc distinct email emph expan foreign gloss hi l label lg list listBibl measure mentioned name num ptr quote ref rs said soCalled stage term time title derived-module-wwp-store: mcr drama: castList figures: table header: idno msdescription: dimensions height width textstructure: floatingText character data | ||||||||||||
| Note | When used in a specification element such as <elementSpec>, TEI convention requires that this be expressed as a finite clause, begining with an active verb. | ||||||||||||
| Example | Example of a <desc> element inside a documentation element. <dataSpec module="tei"
ident="teidata.point">
<desc versionDate="2010-10-17"
xml:lang="en">defines the data type used to express a point in cartesian space.</desc>
<content>
<dataRef name="token"
restriction="(-?[0-9]+(\.[0-9]+)?,-?[0-9]+(\.[0-9]+)?)"/>
</content>
<!-- ... -->
</dataSpec> | ||||||||||||
| Example | Example of a <desc> element in a non-documentation element. <place xml:id="KERG2">
<placeName>Kerguelen Islands</placeName>
<!-- ... -->
<terrain>
<desc>antarctic tundra</desc>
</terrain>
<!-- ... -->
</place> | ||||||||||||
| Schematron | A <desc> with a type of deprecationInfo should only occur when its parent element is being deprecated. Furthermore, it should always occur in an element that is being deprecated when <desc> is a valid child of that element.
<sch:rule context="tei:desc[ @type eq 'deprecationInfo']">
<sch:assert test="../@validUntil">Information about a
deprecation should only be present in a specification element
that is being deprecated: that is, only an element that has a
@validUntil attribute should have a child <desc
type="deprecationInfo">.</sch:assert>
</sch:rule> | ||||||||||||
| Content model |
<content>
<macroRef key="macro.limitedContent"/>
</content>
⚓ | ||||||||||||
| Schema Declaration |
element desc
{
ws_att.global.attributes,
ws_att.cmc.attributes,
ws_att.translatable.attributes,
ws_att.typed.attribute.subtype,
attribute type { "deprecationInfo" }?,
ws_macro.limitedContent
}⚓ | ||||||||||||
| <dimensions> (dimensions) contains a dimensional specification. [11.3.4. Dimensions] | |||||||||||
| Module | msdescription | ||||||||||
| Attributes |
| ||||||||||
| Member of | |||||||||||
| Contained by | core: abbr add addrLine author biblScope citedRange corr date del desc distinct editor email emph expan foreign gloss head headItem headLabel hi item l label measure mentioned name num orig p pubPlace publisher quote ref reg resp rs said sic soCalled speaker stage term time title unclear derived-module-wwp-store: acrostic anagram docAuthorization docSale mcr regMe translator textstructure: closer dateline docDate docEdition docImprint docRole imprimatur opener respLine salute signed titlePart trailer | ||||||||||
| May contain | |||||||||||
| Note | Contains no more than one of each of the specialized elements used to express a three-dimensional object's height, width, and depth, combined with any number of other kinds of dimensional specification. | ||||||||||
| Example | <dimensions type="leaves">
<height scope="range">157-160</height>
<width>105</width>
</dimensions>
<dimensions type="ruled">
<height scope="most">90</height>
<width scope="most">48</width>
</dimensions>
<dimensions unit="in">
<height>12</height>
<width>10</width>
</dimensions> | ||||||||||
| Example | This element may be used to record the dimensions of any text-bearing object, not necessarily a codex. For example: <dimensions type="panels">
<height scope="all">7004</height>
<width scope="all">1803</width>
<dim type="relief" unit="mm">345</dim>
</dimensions> This might be used to show that the inscribed panels on some (imaginary) monument are all the same size (7004 by 1803 cm) and stand out from the rest of the monument by 345 mm. | ||||||||||
| Example | When simple numeric quantities are involved, they may be expressed on the quantity attribute of any or all of the child elements, as in the following example: <dimensions type="leaves">
<height scope="range">157-160</height>
<width quantity="105"/>
</dimensions>
<dimensions type="ruled">
<height unit="cm" scope="most"
quantity="90"/>
<width unit="cm" scope="most" quantity="48"/>
</dimensions>
<dimensions unit="in">
<height quantity="12"/>
<width quantity="10"/>
</dimensions> | ||||||||||
| Schematron |
<sch:rule context="tei:dimensions">
<sch:report test="count(tei:width) gt 1"> The element <sch:name/> may appear once only
</sch:report>
<sch:report test="count(tei:height) gt 1"> The element <sch:name/> may appear once only
</sch:report>
<sch:report test="count(tei:depth) gt 1"> The element <sch:name/> may appear once only
</sch:report>
</sch:rule> | ||||||||||
| Content model |
<content>
<alternate minOccurs="1" maxOccurs="1">
<elementRef key="format"/>
<sequence minOccurs="1" maxOccurs="1">
<elementRef key="height"/>
<elementRef key="width" minOccurs="0"/>
<elementRef key="depth" minOccurs="0"/>
</sequence>
<sequence minOccurs="1" maxOccurs="1">
<elementRef key="width"/>
<elementRef key="depth" minOccurs="0"/>
</sequence>
<elementRef key="depth"/>
</alternate>
</content>
⚓ | ||||||||||
| Schema Declaration |
element dimensions
{
ws_att.global.attributes,
ws_att.dimensions.attributes,
ws_att.typed.attribute.subtype,
attribute type { text }?,
(
ws_format
| ( ws_height, ws_width?, depth? )
| ( ws_width, depth? )
| depth
)
}⚓ | ||||||||||
| <distinct> identifies any word or phrase which is regarded as linguistically distinct, for example as archaic, technical, dialectal, non-preferred, etc., or as forming part of a sublanguage. [3.3.2.3. Other Linguistically Distinct Material] | |||||||||||||||||||||||||||
| Module | core | ||||||||||||||||||||||||||
| Attributes |
| ||||||||||||||||||||||||||
| Member of | |||||||||||||||||||||||||||
| Contained by | core: abbr add addrLine author bibl biblScope citedRange corr date del desc distinct editor email emph expan foreign gloss head headItem headLabel hi item l label measure mentioned name num orig p pubPlace publisher quote ref reg resp rs said sic soCalled speaker stage term time title unclear derived-module-wwp-store: acrostic anagram docAuthorization docSale mcr regMe translator textstructure: closer dateline docDate docEdition docImprint docRole imprimatur opener respLine salute signed titlePart trailer | ||||||||||||||||||||||||||
| May contain | core: abbr add address author cb choice corr date del distinct email emph expan foreign gap gloss graphic hi lb measure mentioned milestone name note num orig pb ptr quote ref reg rs said sic soCalled term time title unclear figures: figure gaiji: g header: idno msdescription: dimensions height width textstructure: floatingText transcr: addSpan am damageSpan delSpan ex handShift listTranspose metamark mod mw redo space subst substJoin supplied surplus undo character data | ||||||||||||||||||||||||||
| Example | Next morning a boy
in that dormitory confided to his bosom friend, a <distinct type="ps_slang">fag</distinct> of
Macrea's, that there was trouble in their midst which King <distinct type="archaic">would fain</distinct>
keep secret.
| ||||||||||||||||||||||||||
| Content model |
<content>
<macroRef key="macro.phraseSeq"/>
</content>
⚓ | ||||||||||||||||||||||||||
| Schema Declaration |
element distinct
{
ws_att.global.attributes,
ws_att.cmc.attributes,
ws_att.typed.attribute.subtype,
attribute type { text }?,
attribute time { text }?,
attribute space { text }?,
attribute social { text }?,
ws_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 |
| Attributes |
|
| Member of | |
| Contained by | |
| May contain | core: add bibl biblStruct cb desc gap head l label lb lg list listBibl milestone note p pb quote said sp stage derived-module-wwp-store: advertisement elision unknown textstructure: argument closer dateline div docDate docRole epigraph floatingText opener postscript respLine trailer transcr: addSpan damageSpan delSpan listTranspose metamark mw space substJoin |
| 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 |
<sch:pattern>
<sch:rule context="tei:div[ @type eq 'epigraph'][ descendant::tei:epigraph ]">
<sch:assert test="true()"/>
</sch:rule>
<sch:rule context="tei:div[ not( @type eq 'epigraph') ]">
<sch:assert test="descendant::tei:div or descendant::tei:l[ not( ancestor::tei:epigraph
)] or descendant::tei:ab[ not( ancestor::tei:epigraph )] or descendant::tei:p[
not( ancestor::tei:epigraph )] or descendant::tei:floatingText[ not(
ancestor::tei:epigraph )] or descendant::tei:lg[ not( ancestor::tei:epigraph
)] or descendant::tei:sp[ not( ancestor::tei:epigraph )] or descendant::tei:bibl[
not( ancestor::tei:epigraph )] or descendant::tei:biblFull or descendant::tei:biblStruct[
not( ancestor::tei:epigraph )] or descendant::tei:list[ not( ancestor::tei:epigraph
)] or descendant::tei:listBibl[ not( ancestor::tei:epigraph )] or
descendant::tei:table[ not( ancestor::tei:epigraph )] or descendant::tei:listEvent
or descendant::tei:quote[ not( ancestor::tei:epigraph )] or descendant::tei:stage[
not( ancestor::tei:epigraph )] or descendant::tei:castList[ not( ancestor::tei:epigraph
)] or descendant::tei:gap[ not( ancestor::tei:epigraph )] or descendant::tei:join
or descendant::tei:joinGrp or descendant::wwp:advertisement[ not(
ancestor::tei:epigraph )] or descendant::tei:note[ not( ancestor::tei:epigraph
)] or descendant::tei:figure[ not( ancestor::tei:epigraph )] or descendant::wwp:unknown[
not( ancestor::tei:epigraph )] or descendant::tei:trailer or descendant::wwp:elision[
not( ancestor::tei:epigraph )]"><<sch:name/>> with no significant content (i.e., none of: ab advertisement bibl biblFull biblStruct castList div elision figure floatingText gap join joinGrp l lg list listBibl listEvent note p quote sp stage trailer unknown)</sch:assert>
</sch:rule>
</sch:pattern> |
| Schematron |
<sch:rule context="wwp:div[ @type eq 'contents']">
<sch:assert test=".//wwp:*[ @type eq 'toc']"> A division intended for a table of contents should have one (e.g., a <list type="toc">).
</sch:assert>
</sch:rule> |
| Schematron |
<sch:rule context="tei:l//tei:div">
<sch:assert test="ancestor::tei:floatingText"> Abstract model violation: Metrical lines may not contain higher-level structural elements such as div, unless div is a descendant of floatingText.
</sch:assert>
</sch:rule> |
| Schematron |
<sch:rule context="tei:div">
<sch: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, unless div is a descendant of floatingText.
</sch:report>
</sch:rule> |
| Content model |
<content>
<sequence minOccurs="1" maxOccurs="1">
<alternate minOccurs="0"
maxOccurs="unbounded">
<classRef key="model.divTop"/>
<classRef key="model.global"/>
</alternate>
<alternate minOccurs="0" maxOccurs="1">
<sequence minOccurs="1"
maxOccurs="unbounded">
<classRef key="model.divLike"/>
<classRef key="model.global"
minOccurs="0" maxOccurs="unbounded"/>
</sequence>
<sequence minOccurs="1" maxOccurs="1">
<sequence minOccurs="1"
maxOccurs="unbounded">
<classRef key="model.common"/>
<classRef key="model.global"
minOccurs="0" maxOccurs="unbounded"/>
</sequence>
<sequence minOccurs="0"
maxOccurs="unbounded">
<classRef key="model.divLike"/>
<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 div
{
ws_att.structuralCategorization.attributes,
ws_att.global.attributes,
ws_att.declaring.attributes,
ws_att.divLike.attributes,
ws_att.written.attributes,
(
( ws_model.divTop | ws_model.global )*,
(
( ( ws_model.divLike, ws_model.global* )+ )
| (
( ( ws_model.common, ws_model.global* )+ ),
( ( ws_model.divLike, ws_model.global* )* )
)
)?,
( ( ws_model.divBottom, ws_model.global* )* )
)
}⚓ |
| <docRole> (document role) contains an indication of a person or organization who played a significant role in the production of the source book, as given on the title page (often but not always contained in a byline). [4.6. Title Pages] | |||||||
| Module | textstructure | ||||||
| Attributes |
| ||||||
| Member of | |||||||
| Contained by | drama: castList figures: table textstructure: back body div docImprint front group imprimatur respLine titleBlock titlePart | ||||||
| May contain | core: abbr add address author cb choice corr date del distinct email emph expan foreign gap gloss graphic hi lb measure mentioned milestone name note num orig pb ptr quote ref reg rs said sic soCalled term time title unclear figures: figure gaiji: g header: idno msdescription: dimensions height width textstructure: floatingText transcr: addSpan am damageSpan delSpan ex handShift listTranspose metamark mod mw redo space subst substJoin supplied surplus undo character data | ||||||
| Note | The document author's name often occurs within a byline, but the <docRole> element may be used whether the <respLine> element is used or not. It should be used only for the author(s) of the entire document, not for author(s) of any subset or part of it. (Attributions of authorship of a subset or part of the document, for example of a chapter in a textbook or an article in a newspaper, may be encoded with <respLine> without <docRole>.) | ||||||
| Example | <titleBlock>
<docTitle>
<titlePart>Travels into Several Remote Nations of the World, in Four
Parts.</titlePart>
</docTitle>
<respLine> By <docRole>Lemuel Gulliver</docRole>, First a Surgeon,
and then a Captain of several Ships</respLine>
</titleBlock> | ||||||
| Content model |
<content>
<macroRef key="macro.phraseSeq"/>
</content>
⚓ | ||||||
| Schema Declaration |
element docRole
{
ws_att.global.attributes,
ws_att.canonical.attributes,
ws_att.cmc.attributes,
attribute type
{
"author"
| "editor"
| "translator"
| "publisher"
| "printer"
| "bookseller"
| "printer-publisher"
| "licensee"
| "licensor"
| "uncertain"
},
ws_macro.phraseSeq
}⚓ | ||||||
| <docAuthorization> contains a formal statement authorizing the publication of a work; differs from <imprimatur> because FIXME . | |
| Module | derived-module-wwp-store |
| Attributes |
|
| Member of | |
| Contained by | textstructure: back front titleBlock |
| May contain | core: abbr add address author bibl biblStruct cb choice corr date del desc distinct email emph expan foreign gap gloss graphic hi l label lb lg list listBibl measure mentioned milestone name note num orig pb ptr quote ref reg rs said sic soCalled stage term time title unclear drama: castList gaiji: g header: idno msdescription: dimensions height width textstructure: floatingText transcr: addSpan am damageSpan delSpan ex handShift listTranspose metamark mod mw redo space subst substJoin supplied surplus undo character data |
| Note | We have 4 elements for this kind of thing:
|
| Content model |
<content>
<macroRef key="macro.paraContent"/>
</content>
⚓ |
| Schema Declaration |
element docAuthorization { ws_att.global.attributes, ws_macro.paraContent }⚓ |
| <docDate> (document date) contains the date of a document, as given on a title page or in a dateline. [4.6. Title Pages] | |
| Module | textstructure |
| Attributes |
|
| Member of | |
| Contained by | |
| May contain | core: abbr add address author cb choice corr date del distinct email emph expan foreign gap gloss graphic hi lb measure mentioned milestone name note num orig pb ptr quote ref reg rs said sic soCalled term time title unclear figures: figure gaiji: g header: idno msdescription: dimensions height width textstructure: floatingText transcr: addSpan am damageSpan delSpan ex handShift listTranspose metamark mod mw redo space subst substJoin supplied surplus undo character data |
| Note | Cf. the general <date> element in the core tag set. This specialized element is provided for convenience in marking and processing the date of the documents, since it is likely to require specialized handling for many applications. It should be used only for the date of the entire document, not for any subset or part of it. |
| Example | <docImprint>Oxford, Clarendon Press, <docDate>1987</docDate>
</docImprint> |
| Content model |
<content>
<macroRef key="macro.phraseSeq"/>
</content>
⚓ |
| Schema Declaration |
element docDate
{
ws_att.global.attributes,
ws_att.calendarSystem.attributes,
ws_att.cmc.attributes,
ws_att.datable.attributes,
ws_macro.phraseSeq
}⚓ |
| <docEdition> (document edition) contains an edition statement as presented on a title page of a document. [4.6. Title Pages] | |
| Module | textstructure |
| Attributes |
|
| Member of | |
| Contained by | textstructure: back front titleBlock |
| May contain | core: abbr add address author bibl biblStruct cb choice corr date del desc distinct email emph expan foreign gap gloss graphic hi l label lb lg list listBibl measure mentioned milestone name note num orig pb ptr quote ref reg rs said sic soCalled stage term time title unclear drama: castList gaiji: g header: idno msdescription: dimensions height width textstructure: floatingText transcr: addSpan am damageSpan delSpan ex handShift listTranspose metamark mod mw redo space subst substJoin supplied surplus undo character data |
| Note | Cf. the <edition> element of bibliographic citation. As usual, the shorter name has been given to the more frequent element. |
| Example | <docEdition>The Third edition Corrected</docEdition> |
| Content model |
<content>
<macroRef key="macro.paraContent"/>
</content>
⚓ |
| Schema Declaration |
element docEdition { ws_att.global.attributes, ws_macro.paraContent }⚓ |
| <docImprint> (document imprint) contains the imprint statement (place and date of publication, publisher name), as given (usually) at the foot of a title page. [4.6. Title Pages] | |
| Module | textstructure |
| Attributes |
|
| Member of | |
| Contained by | textstructure: back front titleBlock |
| May contain | core: abbr add address author cb choice corr date del distinct email emph expan foreign gap gloss graphic hi lb measure mentioned milestone name note num orig pb ptr pubPlace publisher ref reg rs sic soCalled term time title unclear figures: figure gaiji: g header: idno msdescription: dimensions height width transcr: addSpan am damageSpan delSpan ex handShift listTranspose metamark mod mw redo space subst substJoin supplied surplus undo character data |
| Note | Cf. the <imprint> element of bibliographic citations. As with title, author, and editions, the shorter name is reserved for the element likely to be used more often. |
| Example | <docImprint>Oxford, Clarendon Press, 1987</docImprint> Imprints may be somewhat more complex: <docImprint>
<pubPlace>London</pubPlace>
Printed for <name>E. Nutt</name>,
at
<pubPlace>Royal Exchange</pubPlace>;
<name>J. Roberts</name> in
<pubPlace>wick-Lane</pubPlace>;
<name>A. Dodd</name> without
<pubPlace>Temple-Bar</pubPlace>;
and <name>J. Graves</name> in
<pubPlace>St. James's-street.</pubPlace>
<date>1722.</date>
</docImprint> |
| Content model |
<content>
<alternate minOccurs="0"
maxOccurs="unbounded">
<textNode/>
<classRef key="model.gLike"/>
<classRef key="model.phrase"/>
<elementRef key="pubPlace"/>
<elementRef key="docDate"/>
<elementRef key="publisher"/>
<elementRef key="docAuthor"/>
<elementRef key="docSale"/>
<classRef key="model.global"/>
</alternate>
</content>
⚓ |
| Schema Declaration |
element docImprint
{
ws_att.global.attributes,
(
text
| ws_model.gLike
| ws_model.phrase
| ws_pubPlace
| ws_docDate
| ws_publisher
| ws_docAuthor
| ws_docSale
| ws_model.global
)*
}⚓ |
| <docSale> (document sales information) used to encode commercial transaction infromation (e.g., price) as appears in a <titleBlock>. | |
| Module | derived-module-wwp-store |
| Attributes |
|
| Member of | |
| Contained by | textstructure: docImprint titleBlock |
| May contain | core: abbr add address author bibl biblStruct cb choice corr date del desc distinct email emph expan foreign gap gloss graphic hi l label lb lg list listBibl measure mentioned milestone name note num orig p pb ptr quote ref reg rs said sic soCalled sp stage term time title unclear gaiji: g header: idno msdescription: dimensions height width textstructure: floatingText transcr: addSpan am damageSpan delSpan ex handShift listTranspose metamark mod mw redo space subst substJoin supplied surplus undo character data |
| Content model |
<content>
<macroRef key="macro.specialPara"/>
</content>
⚓ |
| Schema Declaration |
element docSale { ws_att.global.attributes, ws_macro.specialPara }⚓ |
| <edition> (edition) describes the particularities of one edition of a text. [2.2.2. The Edition Statement] | |
| Module | header |
| Attributes |
|
| Member of | |
| Contained by | |
| May contain | core: abbr add address author cb choice corr date del distinct email emph expan foreign gap gloss graphic hi lb measure mentioned milestone name note num orig pb ptr quote ref reg rs said sic soCalled term time title unclear figures: figure gaiji: g header: idno msdescription: dimensions height width textstructure: floatingText transcr: addSpan am damageSpan delSpan ex handShift listTranspose metamark mod mw redo space subst substJoin supplied surplus undo character data |
| 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 { ws_att.global.attributes, ws_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 |
| Attributes |
|
| 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
{
ws_att.global.attributes,
( ws_model.pLike+ | ( ws_edition, ws_model.respLike* ) )
}⚓ |
| <editor> contains a secondary statement of responsibility for a bibliographic item, for example the name of an individual, institution or organization, (or of several such) acting as editor, compiler, translator, etc. [3.12.2.2. Titles, Authors, and Editors] | |
| Module | core |
| Attributes |
|
| Member of | |
| Contained by | derived-module-wwp-store: advertisement header: editionStmt titleStmt |
| May contain | core: abbr add address author cb choice corr date del distinct email emph expan foreign gap gloss graphic hi lb measure mentioned milestone name note num orig pb ptr quote ref reg rs said sic soCalled term time title unclear figures: figure gaiji: g header: idno msdescription: dimensions height width textstructure: floatingText transcr: addSpan am damageSpan delSpan ex handShift listTranspose metamark mod mw redo space subst substJoin supplied surplus undo character data |
| 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 role="Technical_Editor">Ron Van den Branden</editor>
<editor role="Editor-in-Chief">John Walsh</editor>
<editor role="Managing_Editor">Anne Baillot</editor> |
| Content model |
<content>
<macroRef key="macro.phraseSeq"/>
</content>
⚓ |
| Schema Declaration |
element editor
{
ws_att.global.attributes,
ws_att.datable.attributes,
ws_att.naming.attributes,
ws_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 16.3.2. Declarable Elements] | |
| Module | header |
| Attributes |
|
| Member of | |
| Contained by | header: encodingDesc |
| May contain | |
| Example | <editorialDecl>
<normalization>
<p>All words converted to Modern American spelling using
Websters 9th Collegiate dictionary
</p>
</normalization>
<quotation marks="all">
<p>All opening quotation marks converted to “ all closing
quotation marks converted to &cdq;.</p>
</quotation>
</editorialDecl> |
| Content model |
<content>
<alternate minOccurs="1" maxOccurs="1">
<sequence minOccurs="1" maxOccurs="1">
<classRef key="model.editorialDeclPart"
minOccurs="1" maxOccurs="unbounded"/>
<classRef key="model.pLike"
minOccurs="0" maxOccurs="unbounded"/>
</sequence>
<classRef key="model.pLike" minOccurs="1"
maxOccurs="unbounded"/>
</alternate>
</content>
⚓ |
| Schema Declaration |
element editorialDecl
{
ws_att.global.attributes,
ws_att.declarable.attributes,
( ( ws_model.editorialDeclPart+, ws_model.pLike* ) | ws_model.pLike+ )
}⚓ |
| <elision> marks cases in which material is excerpted in a quotation or other textual representation within the source text. | |
| Module | derived-module-wwp-store |
| Attributes |
|
| Member of | |
| Contained by | core: abbr add addrLine address author bibl biblScope citedRange corr date del distinct editor email emph expan foreign gloss head headItem headLabel hi imprint item l label lg list measure mentioned name note num orig p pubPlace publisher quote ref reg resp rs said series sic soCalled sp speaker stage term time title unclear derived-module-wwp-store: acrostic advertisement anagram docAuthorization docSale elision mcr regMe translator |
| May contain | |
| Example | I (Syd) think this would be how this should be used, but I may be mistaken; or we may change our minds. <lg>
<!-- ... -->
<l>Beneath accumulated horror, ſinks</l>
<l>The deſolate mourner!</l>
</lg>
<elision>
<lb/>* * * * * * * * * *
<lb/>* * * * * * * * * *
<lb/>* * * * * * * * * *
</elision>
<lg type="indeterminate">
<l>The feudal Chief, whoſe <rs type="properAdjective">Gothic</rs> battlements</l>
<l>Frown on the plain beneath, returning home</l>
<!-- ... -->
</lg> |
| Content model |
<content>
<alternate minOccurs="1"
maxOccurs="unbounded">
<classRef key="model.global"/>
<macroRef key="macro.xtext"/>
</alternate>
</content>
⚓ |
| Schema Declaration |
element elision
{
ws_att.global.attributes,
ws_att.typed.attributes,
ws_att.dimensions.attributes,
( ws_model.global | ws_macro.xtext )+
}⚓ |
| <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 |
| Attributes |
|
| Member of | |
| 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>
<alternate minOccurs="1"
maxOccurs="unbounded">
<classRef key="model.encodingDescPart"/>
<classRef key="model.pLike"/>
</alternate>
</content>
⚓ |
| Schema Declaration |
element encodingDesc
{
ws_att.global.attributes,
( ws_model.encodingDescPart | ws_model.pLike )+
}⚓ |
| <epigraph> (epigraph) contains a quotation, anonymous or attributed, appearing at the start or end of a section or on a title page. [4.2.3. Arguments, Epigraphs, and Postscripts 4.2. Elements Common to All Divisions 4.6. Title Pages] | |
| Module | textstructure |
| Attributes |
|
| Member of | |
| Contained by | |
| May contain | |
| Example | <epigraph xml:lang="la">
<cit>
<bibl>Lucret.</bibl>
<quote>
<l part="F">petere inde coronam,</l>
<l>Vnde prius nulli velarint tempora Musae.</l>
</quote>
</cit>
</epigraph> |
| Content model |
<content>
<alternate minOccurs="0"
maxOccurs="unbounded">
<classRef key="model.common"/>
<classRef key="model.global"/>
</alternate>
</content>
⚓ |
| Schema Declaration |
element epigraph
{
ws_att.global.attributes,
ws_att.cmc.attributes,
( ws_model.common | ws_model.global )*
}⚓ |
| <ex> (editorial expansion) contains a sequence of letters added by an editor or transcriber when expanding an abbreviation. [12.3.1.2. Abbreviation and Expansion] | |
| Module | transcr |
| Attributes |
|
| Member of | |
| Contained by | core: abbr add addrLine author bibl biblScope citedRange corr date del desc distinct editor email emph expan foreign gloss head headItem headLabel hi item l label measure mentioned name num orig p pubPlace publisher quote ref reg resp rs said sic soCalled speaker stage term time title unclear derived-module-wwp-store: acrostic anagram docAuthorization docSale mcr regMe translator textstructure: closer dateline docDate docEdition docImprint docRole imprimatur opener respLine salute signed titlePart trailer |
| May contain | gaiji: g character data |
| Example | The address is Southmoor <choice>
<expan>R<ex>oa</ex>d</expan>
<abbr>Rd</abbr>
</choice> |
| Content model |
<content>
<macroRef key="macro.xtext"/>
</content>
⚓ |
| Schema Declaration |
element ex
{
ws_att.global.attributes,
ws_att.dimensions.attributes,
ws_att.editLike.attributes,
ws_macro.xtext
}⚓ |
| <expan> (expansion) contains the expansion of an abbreviation. [3.6.5. Abbreviations and Their Expansions] | |
| Module | core |
| Attributes |
|
| Member of | |
| Contained by | core: abbr add addrLine author bibl biblScope choice citedRange corr date del desc distinct editor email emph expan foreign gloss head headItem headLabel hi item l label measure mentioned name num orig p pubPlace publisher quote ref reg resp rs said sic soCalled speaker stage term time title unclear derived-module-wwp-store: acrostic anagram docAuthorization docSale mcr regMe translator textstructure: closer dateline docDate docEdition docImprint docRole imprimatur opener respLine salute signed titlePart trailer |
| May contain | core: abbr add address author cb choice corr date del distinct email emph expan foreign gap gloss graphic hi lb measure mentioned milestone name note num orig pb ptr quote ref reg rs said sic soCalled term time title unclear figures: figure gaiji: g header: idno msdescription: dimensions height width textstructure: floatingText transcr: addSpan am damageSpan delSpan ex handShift listTranspose metamark mod mw redo space subst substJoin supplied surplus undo character data |
| 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. 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
{
ws_att.global.attributes,
ws_att.cmc.attributes,
ws_att.editLike.attributes,
ws_macro.phraseSeq
}⚓ |
| <extent> (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.12.2.4. Imprint, Size of a Document, and Reprint Information 11.7.1. Object Description] | |
| Module | header |
| Attributes |
|
| Member of | |
| Contained by | |
| May contain | core: measure msdescription: dimensions |
| Example | <extent>
<measure unit="pages" quantity="48"/>
</extent>
<extent>
<dimensions unit="cm" type="leaves">
<format>quarto</format>
<height>19</height>
<width>13</width>
</dimensions>
</extent> |
| Content model |
<content>
<alternate minOccurs="1" maxOccurs="1">
<elementRef key="measure"/>
<elementRef key="dimensions"/>
</alternate>
</content>
⚓ |
| Schema Declaration |
element extent { ws_att.global.attributes, ( ws_measure | ws_dimensions ) }⚓ |
| <fallback> Wrapper for fallback elements if an XInclude fails | |
| Namespace | http://www.w3.org/2001/XInclude |
| Module | derived-module-wwp-store |
| Contained by | derived-module-wwp-store: include |
| May contain | ANY |
| Content model |
<content>
<anyElement/>
</content>
⚓ |
| Schema Declaration |
element fallback { anyElement_fallback_1 }⚓ |
| <figDesc> (description of figure) contains a brief prose description of the appearance or content of a graphic figure, for use when documenting an image without displaying it. [15.4. Specific Elements for Graphic Images] | |
| Module | figures |
| Attributes |
|
| Contained by | figures: figure |
| May contain | core: abbr address bibl biblStruct choice date desc distinct email emph expan foreign gloss hi l label lg list listBibl measure mentioned name num ptr quote ref rs said soCalled stage term time title derived-module-wwp-store: mcr drama: castList figures: table header: idno msdescription: dimensions height width textstructure: floatingText character data |
| Note | This element is intended for use as an alternative to the content of its parent <figure> element ; for example, to display when the image is required but the equipment in use cannot display graphic images. It may also be used for indexing or documentary purposes. |
| Example | <figure>
<graphic url="emblem1.png"/>
<head>Emblemi d'Amore</head>
<figDesc>A pair of naked winged cupids, each holding a
flaming torch, in a rural setting.</figDesc>
</figure> |
| Content model |
<content>
<macroRef key="macro.limitedContent"/>
</content>
⚓ |
| Schema Declaration |
element figDesc { ws_att.global.attributes, ws_macro.limitedContent }⚓ |
| <figure> (figure) groups elements representing or containing graphic information such as an illustration, formula, or figure. [15.4. Specific Elements for Graphic Images] | |
| Module | figures |
| Attributes |
|
| Member of | |
| Contained by | core: abbr add addrLine address author bibl biblScope citedRange corr date del distinct editor email emph expan foreign gloss head headItem headLabel hi imprint item l label lg list measure mentioned name note num orig p pubPlace publisher quote ref reg resp rs said series sic soCalled sp speaker stage term time title unclear derived-module-wwp-store: acrostic advertisement anagram docAuthorization docSale elision mcr regMe translator gaiji: char |
| May contain | |
| Example | <figure>
<head>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>
<graphic url="http://www.example.org/fig1.png"
scale="0.5"/>
</figure> |
| Content model |
<content>
<classRef key="model.global" minOccurs="0"
maxOccurs="unbounded"/>
<sequence minOccurs="0"
maxOccurs="unbounded">
<elementRef key="head"/>
<classRef key="model.global"
minOccurs="0" maxOccurs="unbounded"/>
</sequence>
<sequence minOccurs="0"
maxOccurs="unbounded">
<alternate minOccurs="1" maxOccurs="1">
<classRef key="model.pLike"/>
<elementRef key="lg"/>
</alternate>
<classRef key="model.global"
minOccurs="0" maxOccurs="unbounded"/>
</sequence>
<sequence minOccurs="1" maxOccurs="1">
<elementRef key="figDesc"/>
<classRef key="model.global"
minOccurs="0" maxOccurs="unbounded"/>
</sequence>
<sequence minOccurs="0" maxOccurs="1">
<elementRef key="floatingText"/>
<classRef key="model.global"
minOccurs="0" maxOccurs="unbounded"/>
</sequence>
<sequence minOccurs="0"
maxOccurs="unbounded">
<alternate minOccurs="1" maxOccurs="1">
<classRef key="model.pLike"/>
<elementRef key="lg"/>
</alternate>
<classRef key="model.global"
minOccurs="0" maxOccurs="unbounded"/>
</sequence>
</content>
⚓ |
| Schema Declaration |
element figure
{
ws_att.global.attributes,
ws_att.cmc.attributes,
ws_att.typed.attributes,
ws_att.written.attributes,
ws_model.global*,
( ( ws_head, ws_model.global* )* ),
( ( ( ws_model.pLike | ws_lg ), ws_model.global* )* ),
( ws_figDesc, ws_model.global* ),
( ( ws_floatingText, ws_model.global* )? ),
( ( ( ws_model.pLike | ws_lg ), ws_model.global* )* )
}⚓ |
| <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 |
| Attributes |
|
| Contained by | header: teiHeader |
| May contain | derived-module-wwp-store: include |
| 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 minOccurs="1" maxOccurs="1">
<sequence minOccurs="1" maxOccurs="1">
<elementRef key="titleStmt"/>
<alternate minOccurs="1" maxOccurs="1">
<elementRef key="editionStmt"
minOccurs="1" maxOccurs="1"/>
<elementRef key="include" minOccurs="1"
maxOccurs="1"/>
</alternate>
<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
{
ws_att.global.attributes,
(
(
ws_titleStmt,
( ws_editionStmt | ws_include ),
ws_extent?,
ws_publicationStmt,
seriesStmt?,
ws_notesStmt?
),
ws_sourceDesc+
)
}⚓ |
| <floatingText> (floating text) contains a single text of any kind, whether unitary or composite, which interrupts the text containing it at any point and after which the surrounding text resumes. [4.3.2. Floating Texts] | |||||||||
| Module | textstructure | ||||||||
| Attributes |
| ||||||||
| Member of | |||||||||
| Contained by | core: abbr add addrLine author biblScope citedRange corr del desc distinct editor email emph expan foreign gloss head headItem headLabel hi item l label measure mentioned name note num orig p pubPlace publisher quote ref reg rs said sic soCalled sp speaker stage term title unclear derived-module-wwp-store: acrostic advertisement anagram docAuthorization docSale mcr regMe translator textstructure: argument body div docDate docEdition docRole epigraph imprimatur postscript salute signed titlePart trailer | ||||||||
| May contain | |||||||||
| Note | A floating text has the same content as any other <text> and may thus be interrupted by another floating text, or contain a <group> of tesselated texts. | ||||||||
| Example | <body>
<div type="scene">
<sp>
<p>Hush, the players begin...</p>
</sp>
<floatingText type="pwp">
<body>
<div type="act">
<sp>
<l>In Athens our tale takes place [...]</l>
</sp>
<!-- ... rest of nested act here -->
</div>
</body>
</floatingText>
<sp>
<p>Now that the play is finished ...</p>
</sp>
</div>
</body> | ||||||||
| Schematron |
<sch:rule context="wwp:floatingText">
<sch:let name="textID"
value="normalize-space( /wwp:TEI/wwp:text/@xml:id )"/>
<sch:assert test="substring( normalize-space( @xml:id ), 1, 7 ) eq substring( $textID,
1, 7 )">floatingText TR# <sch:value-of select="@xml:id"/> does not match main text TR# <sch:value-of select="$textID"/>.</sch:assert>
</sch:rule> | ||||||||
| Content model |
<content>
<sequence minOccurs="1" maxOccurs="1">
<classRef key="model.global"
minOccurs="0" maxOccurs="unbounded"/>
<sequence minOccurs="0" maxOccurs="1">
<elementRef key="hyperDiv"/>
<classRef key="model.global"
minOccurs="0" maxOccurs="unbounded"/>
</sequence>
<sequence minOccurs="0" maxOccurs="1">
<elementRef key="front"/>
<classRef key="model.global"
minOccurs="0" maxOccurs="unbounded"/>
</sequence>
<alternate minOccurs="1" maxOccurs="1">
<elementRef key="body"/>
<elementRef key="group"/>
</alternate>
<classRef key="model.global"
minOccurs="0" maxOccurs="unbounded"/>
<sequence minOccurs="0" maxOccurs="1">
<elementRef key="back"/>
<classRef key="model.global"
minOccurs="0" maxOccurs="unbounded"/>
</sequence>
</sequence>
</content>
⚓ | ||||||||
| Schema Declaration |
element floatingText
{
ws_att.structuralCategorization.attributes,
ws_att.global.attribute.affirmed,
ws_att.global.attribute.n,
ws_att.global.attribute.xmllang,
ws_att.global.attribute.xmlbase,
ws_att.global.attribute.xmlspace,
ws_att.global.change.attribute.change,
ws_att.global.linking.attribute.corresp,
ws_att.global.linking.attribute.sameAs,
ws_att.global.linking.attribute.next,
ws_att.global.linking.attribute.prev,
ws_att.global.rendition.attribute.rend,
ws_att.global.rendition.attribute.style,
ws_att.global.rendition.attribute.rendition,
ws_att.global.responsibility.attribute.cert,
ws_att.global.responsibility.attribute.resp,
ws_att.global.source.attribute.source,
ws_att.cmc.attributes,
ws_att.declaring.attributes,
attribute xml:id { text },
(
ws_model.global*,
( ( ws_hyperDiv, ws_model.global* )? ),
( ( ws_front, ws_model.global* )? ),
( ws_body | ws_group ),
ws_model.global*,
( ( ws_back, ws_model.global* )? )
)
}⚓ | ||||||||
| <foreign> (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 | ||||||||
| Attributes |
| ||||||||
| Member of | |||||||||
| Contained by | core: abbr add addrLine author bibl biblScope citedRange corr date del desc distinct editor email emph expan foreign gloss head headItem headLabel hi item l label measure mentioned name num orig p pubPlace publisher quote ref reg resp rs said sic soCalled speaker stage term time title unclear derived-module-wwp-store: acrostic anagram docAuthorization docSale mcr regMe translator textstructure: closer dateline docDate docEdition docImprint docRole imprimatur opener respLine salute signed titlePart trailer | ||||||||
| May contain | core: abbr add address author cb choice corr date del distinct email emph expan foreign gap gloss graphic hi lb measure mentioned milestone name note num orig pb ptr quote ref reg rs said sic soCalled term time title unclear figures: figure gaiji: g header: idno msdescription: dimensions height width textstructure: floatingText transcr: addSpan am damageSpan delSpan ex handShift listTranspose metamark mod mw redo space subst substJoin supplied surplus undo character data | ||||||||
| 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
{
ws_att.global.attribute.affirmed,
ws_att.global.attribute.xmlid,
ws_att.global.attribute.n,
ws_att.global.attribute.xmlbase,
ws_att.global.attribute.xmlspace,
ws_att.global.change.attribute.change,
ws_att.global.linking.attribute.corresp,
ws_att.global.linking.attribute.sameAs,
ws_att.global.linking.attribute.next,
ws_att.global.linking.attribute.prev,
ws_att.global.rendition.attribute.rend,
ws_att.global.rendition.attribute.style,
ws_att.global.rendition.attribute.rendition,
ws_att.global.responsibility.attribute.cert,
ws_att.global.responsibility.attribute.resp,
ws_att.global.source.attribute.source,
ws_att.cmc.attributes,
attribute xml:lang { text },
ws_macro.phraseSeq
}⚓ | ||||||||
| <format> contains the named format of a printed item | |
| Module | derived-module-wwp-store |
| Contained by | msdescription: dimensions |
| May contain | Empty element |
| Content model |
<content>
broadsheetduodecimofoliohalf-sheetoctavoquartounknown
</content>
⚓ |
| Schema Declaration |
element format
{
"broadsheet"
| "duodecimo"
| "folio"
| "half-sheet"
| "octavo"
| "quarto"
| "unknown"
}⚓ |
| <front> (front matter) contains any prefatory matter (headers, abstracts, 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 |
| Attributes |
|
| Contained by | textstructure: floatingText text |
| May contain | derived-module-wwp-store: advertisement docAuthorization elision unknown figures: figure textstructure: argument closer dateline div docDate docEdition docImprint docRole epigraph imprimatur postscript respLine titleBlock titlePart trailer transcr: addSpan damageSpan delSpan listTranspose metamark mw space substJoin |
| 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>
<epigraph>
<quote>Nam Sibyllam quidem Cumis ego ipse oculis meis vidi in ampulla
pendere, et cum illi pueri dicerent: <q xml:lang="grc">Σίβυλλα τί
θέλεις</q>; respondebat illa: <q xml:lang="grc">ὰποθανεῖν θέλω.</q>
</quote>
</epigraph>
<div type="dedication">
<p>For Ezra Pound <q xml:lang="it">il miglior fabbro.</q>
</p>
</div>
</front> |
| Example | <front>
<div type="dedication">
<p>To our three selves</p>
</div>
<div type="preface">
<head>Author's Note</head>
<p>All the characters in this book are purely imaginary, and if the
author has used names that may suggest a reference to living persons
she has done so inadvertently. ...</p>
</div>
</front> |
| Example | <front>
<div type="abstract">
<div>
<head> BACKGROUND:</head>
<p>Food insecurity can put children at greater risk of obesity because
of altered food choices and nonuniform consumption patterns.</p>
</div>
<div>
<head> OBJECTIVE:</head>
<p>We examined the association between obesity and both child-level
food insecurity and personal food insecurity in US children.</p>
</div>
<div>
<head> DESIGN:</head>
<p>Data from 9,701 participants in the National Health and Nutrition
Examination Survey, 2001-2010, aged 2 to 11 years were analyzed.
Child-level food insecurity was assessed with the US Department of
Agriculture's Food Security Survey Module based on eight
child-specific questions. Personal food insecurity was assessed with
five additional questions. Obesity was defined, using physical
measurements, as body mass index (calculated as kg/m2) greater than
or equal to the age- and sex-specific 95th percentile of the Centers
for Disease Control and Prevention growth charts. Logistic
regressions adjusted for sex, race/ethnic group, poverty level, and
survey year were conducted to describe associations between obesity
and food insecurity.</p>
</div>
<div>
<head> RESULTS:</head>
<p>Obesity was significantly associated with personal food insecurity
for children aged 6 to 11 years (odds ratio=1.81; 95% CI 1.33 to
2.48), but not in children aged 2 to 5 years (odds ratio=0.88; 95%
CI 0.51 to 1.51). Child-level food insecurity was not associated
with obesity among 2- to 5-year-olds or 6- to 11-year-olds.</p>
</div>
<div>
<head> CONCLUSIONS:</head>
<p>Personal food insecurity is associated with an increased risk of
obesity only in children aged 6 to 11 years. Personal
food-insecurity measures may give different results than aggregate
food-insecurity measures in children.</p>
</div>
</div>
</front> |
| Content model |
<content>
<sequence>
<alternate minOccurs="0"
maxOccurs="unbounded">
<classRef key="model.frontPart"/>
<classRef key="model.pLike"/>
<classRef key="model.pLike.front"/>
<classRef key="model.global"/>
</alternate>
<sequence minOccurs="0">
<alternate>
<sequence>
<classRef key="model.div1Like"/>
<alternate minOccurs="0"
maxOccurs="unbounded">
<classRef key="model.div1Like"/>
<classRef key="model.frontPart"/>
<classRef key="model.global"/>
</alternate>
</sequence>
<sequence>
<classRef key="model.divLike"/>
<alternate minOccurs="0"
maxOccurs="unbounded">
<classRef key="model.divLike"/>
<classRef key="model.frontPart"/>
<classRef key="model.global"/>
</alternate>
</sequence>
</alternate>
<sequence minOccurs="0">
<classRef key="model.divBottom"/>
<alternate minOccurs="0"
maxOccurs="unbounded">
<classRef key="model.divBottom"/>
<classRef key="model.global"/>
</alternate>
</sequence>
</sequence>
</sequence>
</content>
⚓ |
| Schema Declaration |
element front
{
ws_att.global.attributes,
ws_att.declaring.attributes,
(
(
ws_model.frontPart
| ws_model.pLike
| ws_model.pLike.front
| ws_model.global
)*,
(
(
(
(
ws_model.div1Like,
( ws_model.div1Like | ws_model.frontPart | ws_model.global )*
)
| (
ws_model.divLike,
( ws_model.divLike | ws_model.frontPart | ws_model.global )*
)
),
(
(
ws_model.divBottom,
( ws_model.divBottom | ws_model.global )*
)?
)
)?
)
)
}⚓ |
| <funder> (funding body) specifies the name of an individual, institution, or organization responsible for the funding of a project or text. [2.2.1. The Title Statement] | |
| Module | header |
| Attributes |
|
| Member of | |
| Contained by | |
| May contain | core: abbr add address cb choice date distinct email emph expan foreign gap gloss hi lb measure mentioned milestone name note num pb ptr ref rs soCalled term time title derived-module-wwp-store: advertisement elision mcr unknown figures: figure header: idno msdescription: dimensions height width character data |
| Note | Funders provide financial support for a project; they are distinct from sponsors (see element <sponsor>), who provide intellectual support and authority. |
| Example | <funder>The National Endowment for the Humanities, an independent federal agency</funder>
<funder>Directorate General XIII of the Commission of the European Communities</funder>
<funder>The Andrew W. Mellon Foundation</funder>
<funder>The Social Sciences and Humanities Research Council of Canada</funder> |
| Content model |
<content>
<macroRef key="macro.phraseSeq.limited"/>
</content>
⚓ |
| Schema Declaration |
element funder
{
ws_att.global.attributes,
ws_att.canonical.attributes,
ws_att.datable.attributes,
ws_macro.phraseSeq.limited
}⚓ |
| <mw> (metawork) contains a running head (e.g. a header, footer), catchword, or similar material appearing on the current page. [12.6. Headers, Footers, and Similar Matter] | |||||||||||
| Module | transcr | ||||||||||
| Attributes |
| ||||||||||
| Member of | |||||||||||
| Contained by | core: abbr add addrLine address author bibl biblScope citedRange corr date del distinct editor email emph expan foreign gloss head headItem headLabel hi imprint item l label lg list listBibl measure mentioned name note num orig p pubPlace publisher quote ref reg resp rs said series sic soCalled sp speaker stage term time title unclear derived-module-wwp-store: acrostic advertisement anagram docAuthorization docSale elision mcr regMe translator | ||||||||||
| May contain | core: abbr add address author cb choice corr date del distinct email emph expan foreign gap gloss graphic hi lb measure mentioned milestone name note num orig pb ptr quote ref reg rs said sic soCalled term time title unclear figures: figure gaiji: g header: idno msdescription: dimensions height width textstructure: floatingText transcr: addSpan am damageSpan delSpan ex handShift listTranspose metamark mod mw redo space subst substJoin supplied surplus undo character data | ||||||||||
| Note | Where running heads are consistent throughout a chapter or section, it is usually more convenient to relate them to the chapter or section, e.g. by use of the rend attribute. The <mw> element is intended for cases where the running head changes from page to page, or where details of page layout and the internal structure of the running heads are of paramount importance. | ||||||||||
| Example | <mw type="sig" place="bottom">C3</mw> | ||||||||||
| Schematron | Disallow most phrase-level encoding in catchwords and unspecified features used for organization
<sch:rule context="wwp:mw[ @type eq 'catch'] | wwp:rs[ @type eq 'ufo' ]">
<sch:let name="me"
value="if ( self::wwp:mw ) then 'a catchword' else 'an unspecified feature
used for organization'"/>
<sch:report test=" wwp:persName | wwp:placeName | wwp:name | wwp:vuji | wwp:choice |
wwp:mcr | wwp:date | wwp:regMe | wwp:title | wwp:orgName | wwp:rs
| wwp:ref[ @type ne 'error' ] | wwp:abbr | wwp:emph | wwp:term | wwp:bibl"> Precise phrase-level encoding (persName, placeName,
name, vuji, mcr, date, regMe, title, orgName, etc.)
should not occur in <sch:value-of select="$me"/>.
</sch:report>
</sch:rule> | ||||||||||
| Schematron | Note: this ODD file contains a Schematron Quick Fix for easy repair of the two likely errors tested for, below. However, the regex attribute of <sqf:stringReplace> ‘must meet the requirements of the regex attribute of the <xsl:analyze-string> element’ according to the schema. In XSLT 2.0 that attribute has a restriction that the regular expression must not be one that matches a zero-length string. This restriction was removed in XSLT 3.0, and thus Saxon le 9.5 enforces this restriction, ge 9.6 does not. So whether this Quick Fix works or not depends on which version of oXygen (and thus which version of Saxon) you are running. Since our encoders are typically still using an older version of oXygen, this Quick Fix has been commented out for now.
<sch:rule context="wwp:mw[@type eq 'catch']">
<sch:report test="matches(@rend,'pre\([^#)]*\)')">
Generally speaking, delimters in a catchword are encoded as content, not on @rend.
</sch:report>
<sch:report test="matches(@rend,'post\([^#)]*\)')">
Generally speaking, delimters in a catchword are encoded as content, not on @rend.
</sch:report>
</sch:rule> | ||||||||||
| Content model |
<content>
<macroRef key="macro.phraseSeq"/>
</content>
⚓ | ||||||||||
| Schema Declaration |
element mw
{
ws_att.global.attributes,
ws_att.typed.attribute.subtype,
ws_att.written.attributes,
attribute type
{
"border"
| "border-rule"
| "border-ornamental"
| "catch"
| "lineNum"
| "listHead"
| "pageNum"
| "pressFig"
| "sig"
| "unknown"
| "vol"
| "other"
},
ws_macro.phraseSeq
}⚓ | ||||||||||
| <g> (character or glyph) represents a glyph, or a non-standard character. [5. Characters, Glyphs, and Writing Modes] | |||||||||
| Module | gaiji | ||||||||
| Attributes |
| ||||||||
| Member of | |||||||||
| Contained by | core: abbr add addrLine author bibl biblScope citedRange corr date del distinct editor email emph expan foreign gloss head headItem headLabel hi item l label measure mentioned name num orig p pubPlace publisher quote ref reg rs said series sic soCalled speaker stage term time title unclear derived-module-wwp-store: acrostic anagram docAuthorization docSale elision mcr regMe translator figures: cell gaiji: mapping textstructure: closer dateline docDate docEdition docImprint docRole imprimatur opener respLine salute signed titlePart trailer | ||||||||
| May contain | Empty element | ||||||||
| Note | At the WWP, <g> is further constrained (than vanilla TEI) as follows:
| ||||||||
| Example | <g ref="#ctlig">ct</g> This example points to a <glyph> element with the identifier ctlig like the following: <glyph xml:id="ctlig">
<!-- here we describe the particular ct-ligature intended -->
</glyph> | ||||||||
| Example | <g ref="#per-glyph">per</g> The medieval brevigraph per could similarly be considered as an individual glyph, defined in a <glyph> element with the identifier per-glyph as follows: <glyph xml:id="per-glyph">
<!-- ... -->
</glyph> | ||||||||
| Content model |
<content>
<empty/>
</content>
⚓ | ||||||||
| Schema Declaration |
element g
{
ws_att.global.attributes,
ws_att.typed.attributes,
attribute ref { text },
empty
}⚓ | ||||||||
| <gap> indicates a point where material has been omitted in a transcription, whether for editorial reasons described in the TEI header, as part of sampling practice, or because the material is illegible, invisible, or inaudible. | |||||||||||||||||||||||||||||||||||||||||
| Module | core | ||||||||||||||||||||||||||||||||||||||||
| Attributes |
| ||||||||||||||||||||||||||||||||||||||||
| Member of | |||||||||||||||||||||||||||||||||||||||||
| Contained by | core: abbr add addrLine address author bibl biblScope citedRange corr date del distinct editor email emph expan foreign gloss head headItem headLabel hi imprint item l label lg list measure mentioned name note num orig p pubPlace publisher quote ref reg resp rs said series sic soCalled sp speaker stage term time title unclear derived-module-wwp-store: acrostic advertisement anagram docAuthorization docSale elision mcr regMe translator | ||||||||||||||||||||||||||||||||||||||||
| May contain | Empty element | ||||||||||||||||||||||||||||||||||||||||
| Note | The WWP version of <gap> has some additional restrictions and a transormation. The restrictoins are on the | ||||||||||||||||||||||||||||||||||||||||
| Schematron |
<sch:rule context="wwp:gap">
<sch:report role="error"
test=" ( @reason = ('damaged','deleted','obscured','flawed-reproduction','excerpt','other')
and @desc = ('attachment','embossing') ) or ( @reason eq 'obscured'
and @desc eq 'unknown' ) ">reason="<sch:value-of select="@reason"/>" and desc="<sch:value-of select="@desc"/>" of <gap> is an invalid combination</sch:report>
<sch:report role="warning"
test=" ( @reason = ('deleted','flawed-reproduction','excerpt','omitted','illegible-handwriting')
and @desc eq 'unknown' ) or ( @reason eq 'other' and @desc = ('handwriting','printed')
) ">are you sure the combination of reason="<sch:value-of select="@reason"/>" and desc="<sch:value-of select="@desc"/>" of <gap> makes sense?</sch:report>
<sch:assert role="error"
test="if ( @desc eq 'other' ) then id( substring( normalize-space( @corresp
), 2 ) )[self::wwp:note] else true()">When the description is just "other", there should be a <gi>note</gi> explaining the gap (and @corresp should point to that note)</sch:assert>
<sch:report role="error"
test="@reason eq 'illegible-handwriting' and @desc ne 'handwriting'">When the reason a gap is not readable is 'illegible-handwriting', then the description of that which is unreadable should be 'handwriting'</sch:report>
</sch:rule> | ||||||||||||||||||||||||||||||||||||||||
| Content model |
<content>
<empty/>
</content>
⚓ | ||||||||||||||||||||||||||||||||||||||||
| Schema Declaration |
element gap
{
ws_att.global.attributes,
attribute unit
{
"chars" | "words" | "lines" | "pages" | "cm" | "mm" | "in"
}?,
attribute extent { text },
attribute reason
{
"damaged"
| "excerpt"
| "flawed-reproduction"
| "illegible-handwriting"
| "obscured"
| "omitted"
| "other"
},
attribute hand { text }?,
attribute desc
{
"attachment"
| "embossing"
| "handwriting"
| "printed"
| "unknown"
| "other"
},
empty
}⚓ | ||||||||||||||||||||||||||||||||||||||||
| <gi> (element name) contains the name (generic identifier) of an element. [23. Documentation Elements 23.5. Element Specifications] | |||||||||
| Module | tagdocs | ||||||||
| Attributes |
| ||||||||
| Member of | |||||||||
| Contained by | core: abbr add addrLine author biblScope citedRange corr date del desc distinct editor email emph expan foreign gloss head headItem headLabel hi item l label measure mentioned name num orig p pubPlace publisher quote ref reg resp rs said sic soCalled speaker stage term time title unclear derived-module-wwp-store: acrostic anagram docAuthorization docSale mcr regMe translator textstructure: closer dateline docDate docEdition docImprint docRole imprimatur opener respLine salute signed titlePart trailer | ||||||||
| May contain | XSD Name | ||||||||
| 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 scheme 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
{
ws_att.global.attributes,
attribute scheme { text }?,
teidata.name
}⚓ | ||||||||
| <gloss> (gloss) identifies a phrase or word used to provide a gloss or definition for some other word or phrase. [3.4.1. Terms and Glosses 23.4.1. Description of Components] | |
| Module | core |
| Attributes |
|
| Member of | |
| Contained by | core: abbr add addrLine author bibl biblScope citedRange corr date del desc distinct editor email emph expan foreign gloss head headItem headLabel hi item l label measure mentioned name num orig p pubPlace publisher quote ref reg resp rs said sic soCalled speaker stage term time title unclear derived-module-wwp-store: acrostic anagram docAuthorization docSale mcr regMe translator textstructure: closer dateline docDate docEdition docImprint docRole imprimatur opener respLine salute signed titlePart trailer |
| May contain | core: abbr add address author cb choice corr date del distinct email emph expan foreign gap gloss graphic hi lb measure mentioned milestone name note num orig pb ptr quote ref reg rs said sic soCalled term time title unclear figures: figure gaiji: g header: idno msdescription: dimensions height width textstructure: floatingText transcr: addSpan am damageSpan delSpan ex handShift listTranspose metamark mod mw redo space subst substJoin supplied surplus undo character data |
| 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>
<sequence minOccurs="1"
maxOccurs="unbounded">
<macroRef key="macro.phraseSeq"/>
<elementRef key="quote" minOccurs="0"
maxOccurs="unbounded"/>
</sequence>
</content>
⚓ |
| Schema Declaration |
element gloss
{
ws_att.global.attributes,
ws_att.cmc.attributes,
ws_att.declaring.attributes,
ws_att.pointing.attribute.targetLang,
ws_att.pointing.attribute.evaluate,
ws_att.translatable.attributes,
ws_att.typed.attributes,
( ( ws_macro.phraseSeq, ws_quote* )+ )
}⚓ |
| <graphic> (graphic) indicates the location of a graphic or illustration, either forming part of a text, or providing an image of it. [3.10. Graphics and Other Non-textual Components 12.1. Digital Facsimiles] | |
| Module | core |
| Attributes |
|
| Member of | |
| Contained by | core: abbr add addrLine author biblScope citedRange corr date del distinct editor email emph expan foreign gloss head headItem headLabel hi item l label measure mentioned name num orig p pubPlace publisher quote ref reg rs said sic soCalled speaker stage term time title unclear derived-module-wwp-store: acrostic anagram docAuthorization docSale mcr regMe translator gaiji: char textstructure: closer dateline docDate docEdition docImprint docRole imprimatur opener respLine salute signed titleBlock titlePart trailer |
| May contain | core: desc |
| 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> |
| Example | <facsimile>
<surfaceGrp n="leaf1" xml:id="spi001">
<surface xml:id="spi001r">
<graphic type="normal"
subtype="thumbnail" url="spi/thumb/001r.jpg"/>
<graphic type="normal" subtype="low-res"
url="spi/normal/lowRes/001r.jpg"/>
<graphic type="normal"
subtype="high-res" url="spi/normal/highRes/001r.jpg"/>
<graphic type="high-contrast"
subtype="low-res" url="spi/contrast/lowRes/001r.jpg"/>
<graphic type="high-contrast"
subtype="high-res" url="spi/contrast/highRes/001r.jpg"/>
</surface>
<surface xml:id="spi001v">
<graphic type="normal"
subtype="thumbnail" url="spi/thumb/001v.jpg"/>
<graphic type="normal" subtype="low-res"
url="spi/normal/lowRes/001v.jpg"/>
<graphic type="normal"
subtype="high-res" url="spi/normal/highRes/001v.jpg"/>
<graphic type="high-contrast"
subtype="low-res" url="spi/contrast/lowRes/001v.jpg"/>
<graphic type="high-contrast"
subtype="high-res" url="spi/contrast/highRes/001v.jpg"/>
<zone xml:id="spi001v_detail01">
<graphic type="normal"
subtype="thumbnail" url="spi/thumb/001v-detail01.jpg"/>
<graphic type="normal"
subtype="low-res"
url="spi/normal/lowRes/001v-detail01.jpg"/>
<graphic type="normal"
subtype="high-res"
url="spi/normal/highRes/001v-detail01.jpg"/>
<graphic type="high-contrast"
subtype="low-res"
url="spi/contrast/lowRes/001v-detail01.jpg"/>
<graphic type="high-contrast"
subtype="high-res"
url="spi/contrast/highRes/001v-detail01.jpg"/>
</zone>
</surface>
</surfaceGrp>
</facsimile> |
| Content model |
<content>
<classRef key="model.descLike"
minOccurs="0" maxOccurs="unbounded"/>
</content>
⚓ |
| Schema Declaration |
element graphic
{
ws_att.global.attributes,
ws_att.cmc.attributes,
ws_att.declaring.attributes,
ws_att.media.attributes,
ws_att.resourced.attributes,
ws_att.typed.attributes,
ws_model.descLike*
}⚓ |
| <group> (group) contains the body of a composite text, grouping together a sequence of distinct texts (or groups of such texts) which are regarded as a unit for some purpose, for example the collected works of an author, a sequence of prose essays, etc. [4. Default Text Structure 4.3.1. Grouped Texts 16.1. Varieties of Composite Text] | |
| Module | textstructure |
| Attributes |
|
| Contained by | textstructure: floatingText group text |
| May contain | |
| Example | <text>
<!-- Section on Alexander Pope starts -->
<front>
<!-- biographical notice by editor -->
</front>
<group>
<text>
<!-- first poem -->
</text>
<text>
<!-- second poem -->
</text>
</group>
</text>
<!-- end of Pope section--> |
| Content model |
<content>
<sequence>
<alternate minOccurs="0"
maxOccurs="unbounded">
<classRef key="model.divTop"/>
<classRef key="model.global"/>
</alternate>
<sequence>
<alternate>
<elementRef key="text"/>
<elementRef key="group"/>
</alternate>
<alternate minOccurs="0"
maxOccurs="unbounded">
<elementRef key="text"/>
<elementRef key="group"/>
<classRef key="model.global"/>
</alternate>
</sequence>
<classRef key="model.divBottom"
minOccurs="0" maxOccurs="unbounded"/>
</sequence>
</content>
⚓ |
| Schema Declaration |
element group
{
ws_att.global.attributes,
ws_att.declaring.attributes,
ws_att.typed.attributes,
(
( ws_model.divTop | ws_model.global )*,
( ( ws_text | ws_group ), ( ws_text | ws_group | ws_model.global )* ),
ws_model.divBottom*
)
}⚓ |
| <handNote> (note on hand) describes a particular style or hand distinguished within a manuscript. [11.7.2. Writing, Decoration, and Other Notations] | |
| Module | header |
| Attributes |
|
| Contained by | transcr: handNotes |
| May contain | core: abbr add address author bibl biblStruct cb choice corr date del desc distinct email emph expan foreign gap gloss graphic hi l label lb lg list listBibl measure mentioned milestone name note num orig p pb ptr quote ref reg rs said sic soCalled sp stage term time title unclear gaiji: g header: idno msdescription: dimensions height width textstructure: floatingText transcr: addSpan am damageSpan delSpan ex handShift listTranspose metamark mod mw redo space subst substJoin supplied surplus undo character data |
| Example | <handNotes>
<handNote xml:id="yien.major_hand"
scope="major" medium="brown_ink" scribe="author"
scribeRef="#KL">Handwriting of the copyist Karol Libelt, brown ink, in German cursive script.</handNote>
<handNote xml:id="yien.pencil"
scope="minor" medium="pencil" scribe="annotator">A note, pencil, unknown author.</handNote>
<handNote xml:id="yien.pencil2"
scope="minor" medium="pencil" scribe="archivist">Writer of the title page Józef Łepkowski, pencil.</handNote>
<handNote xml:id="yien.pencil3"
scope="minor" medium="pencil" scribe="archivist2"
scribeRef="#BJK">Note on the title page, pencil, by Józef Korzeniowski.</handNote>
</handNotes> |
| Content model |
<content>
<macroRef key="macro.specialPara"/>
</content>
⚓ |
| Schema Declaration |
element handNote
{
ws_att.global.attributes,
ws_att.handFeatures.attributes,
ws_macro.specialPara
}⚓ |
| <handNotes> contains one or more <handNote> elements documenting the different hands identified within the source texts. [12.3.2.1. Document Hands] | |
| Module | transcr |
| Attributes |
|
| Member of | |
| Contained by | header: profileDesc |
| May contain | header: handNote |
| Example | <handNotes>
<handNote xml:id="H1" script="copperplate"
medium="brown-ink">Carefully written with regular descenders</handNote>
<handNote xml:id="H2" script="print"
medium="pencil">Unschooled scrawl</handNote>
</handNotes> |
| Content model |
<content>
<elementRef key="handNote" minOccurs="1"
maxOccurs="unbounded"/>
</content>
⚓ |
| Schema Declaration |
element handNotes { ws_att.global.attributes, ws_handNote+ }⚓ |
| <handShift> (handwriting shift) marks the beginning of a sequence of text written in a new hand, or the beginning of a scribal stint. [12.3.2.1. Document Hands] | |||||||||
| Module | transcr | ||||||||
| Attributes |
| ||||||||
| Member of | |||||||||
| Contained by | core: abbr add addrLine author bibl biblScope citedRange corr date del distinct editor email emph expan foreign gloss head headItem headLabel hi item l label measure mentioned name num orig p pubPlace publisher quote ref reg rs said sic soCalled speaker stage term time title unclear derived-module-wwp-store: acrostic anagram docAuthorization docSale mcr regMe translator figures: cell textstructure: closer dateline docDate docEdition docImprint docRole imprimatur opener respLine salute signed titlePart trailer | ||||||||
| May contain | Empty element | ||||||||
| Note | The <handShift> element may be used either to denote a shift in the document hand (as from one scribe to another, on one writing style to another). Or, it may indicate a shift within a document hand, as a change of writing style, character or ink. Like other milestone elements, it should appear at the point of transition from some other state to the state which it describes. | ||||||||
| Example | <l>When wolde the cat dwelle in his ynne</l>
<handShift medium="greenish-ink"/>
<l>And if the cattes skynne be slyk <handShift medium="black-ink"/> and gaye</l> | ||||||||
| Content model |
<content>
<empty/>
</content>
⚓ | ||||||||
| Schema Declaration |
element handShift
{
ws_att.global.attributes,
ws_att.handFeatures.attributes,
attribute new { text }?,
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 | ||||||||
| Attributes |
| ||||||||
| Member of | |||||||||
| Contained by | |||||||||
| May contain | core: abbr add address author bibl biblStruct cb choice corr date del desc distinct email emph expan foreign gap gloss graphic hi l label lb lg list listBibl measure mentioned milestone name note num orig pb ptr quote ref reg rs said sic soCalled stage term time title unclear drama: castList gaiji: g header: idno msdescription: dimensions height width textstructure: floatingText transcr: addSpan am damageSpan delSpan ex handShift listTranspose metamark mod mw redo space subst substJoin supplied surplus undo character data | ||||||||
| 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 list is the title of that list; one occurring as the first element of a <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/>
<elementRef key="lg"/>
<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
{
ws_att.global.attributes,
ws_att.cmc.attributes,
ws_att.typed.attribute.subtype,
ws_att.written.attributes,
attribute type { "sub" }?,
(
text
| ws_lg
| ws_model.gLike
| ws_model.phrase
| ws_model.inter
| ws_model.lLike
| ws_model.global
)*
}⚓ | ||||||||
| <headItem> (heading for list items) contains the heading for the item or gloss column in a glossary list or similar structured list. [3.8. Lists] | |
| Module | core |
| Attributes |
|
| Contained by | core: list |
| May contain | core: abbr add address author cb choice corr date del distinct email emph expan foreign gap gloss graphic hi lb measure mentioned milestone name note num orig pb ptr quote ref reg rs said sic soCalled term time title unclear figures: figure gaiji: g header: idno msdescription: dimensions height width textstructure: floatingText transcr: addSpan am damageSpan delSpan ex handShift listTranspose metamark mod mw redo space subst substJoin supplied surplus undo character data |
| Note | The <headItem> element may appear only if each item in the list is preceded by a <label>. |
| Example | The simple, straightforward statement of an
idea is preferable to the use of a worn-out expression. <list type="gloss">
<headLabel rend="smallcaps">TRITE</headLabel>
<headItem rend="smallcaps">SIMPLE, STRAIGHTFORWARD</headItem>
<label>bury the hatchet</label>
<item>stop fighting, make peace</item>
<label>at loose ends</label>
<item>disorganized</item>
<label>on speaking terms</label>
<item>friendly</item>
<label>fair and square</label>
<item>completely honest</item>
<label>at death's door</label>
<item>near death</item>
</list> |
| Content model |
<content>
<macroRef key="macro.phraseSeq"/>
</content>
⚓ |
| Schema Declaration |
element headItem { ws_att.global.attributes, ws_macro.phraseSeq }⚓ |
| <headLabel> (heading for list labels) contains the heading for the label or term column in a glossary list or similar structured list. [3.8. Lists] | |
| Module | core |
| Attributes |
|
| Contained by | core: list |
| May contain | core: abbr add address author cb choice corr date del distinct email emph expan foreign gap gloss graphic hi lb measure mentioned milestone name note num orig pb ptr quote ref reg rs said sic soCalled term time title unclear figures: figure gaiji: g header: idno msdescription: dimensions height width textstructure: floatingText transcr: addSpan am damageSpan delSpan ex handShift listTranspose metamark mod mw redo space subst substJoin supplied surplus undo character data |
| Note | The <headLabel> element may appear only if each item in the list is preceded by a <label>. |
| Example | The simple, straightforward statement of an
idea is preferable to the use of a worn-out expression. <list type="gloss">
<headLabel rend="smallcaps">TRITE</headLabel>
<headItem rend="smallcaps">SIMPLE, STRAIGHTFORWARD</headItem>
<label>bury the hatchet</label>
<item>stop fighting, make peace</item>
<label>at loose ends</label>
<item>disorganized</item>
<label>on speaking terms</label>
<item>friendly</item>
<label>fair and square</label>
<item>completely honest</item>
<label>at death's door</label>
<item>near death</item>
</list> |
| Content model |
<content>
<macroRef key="macro.phraseSeq"/>
</content>
⚓ |
| Schema Declaration |
element headLabel { ws_att.global.attributes, ws_macro.phraseSeq }⚓ |
| <height> (height) contains a measurement measured along the axis at a right angle to the bottom of the object. [11.3.4. Dimensions] | |
| Module | msdescription |
| Attributes |
|
| Member of | |
| Contained by | core: abbr add addrLine author bibl biblScope citedRange corr date del desc distinct editor email emph expan foreign gloss head headItem headLabel hi item l label measure mentioned name num orig p pubPlace publisher quote ref reg resp rs said sic soCalled speaker stage term time title unclear derived-module-wwp-store: acrostic anagram docAuthorization docSale mcr regMe translator msdescription: dimensions textstructure: closer dateline docDate docEdition docImprint docRole imprimatur opener respLine salute signed titlePart trailer |
| May contain | gaiji: g character data |
| Example | <height unit="in" quantity="7"/> |
| Content model |
<content>
<macroRef key="macro.xtext"/>
</content>
⚓ |
| Schema Declaration |
element height
{
ws_att.global.attributes,
ws_att.dimensions.attributes,
ws_macro.xtext
}⚓ |
| <hi> (highlighted) marks a word or phrase as graphically distinct from the surrounding text, for reasons concerning which no claim is made. [3.3.2.2. Emphatic Words and Phrases 3.3.2. Emphasis, Foreign Words, and Unusual Language] | |
| Module | core |
| Attributes |
|
| Member of | |
| Contained by | core: abbr add addrLine author bibl biblScope citedRange corr date del desc distinct editor email emph expan foreign gloss head headItem headLabel hi item l label measure mentioned name num orig p pubPlace publisher quote ref reg resp rs said sic soCalled speaker stage term time title unclear derived-module-wwp-store: acrostic anagram docAuthorization docSale mcr regMe translator textstructure: closer dateline docDate docEdition docImprint docRole imprimatur opener respLine salute signed titlePart trailer |
| May contain | core: abbr add address author bibl biblStruct cb choice corr date del desc distinct email emph expan foreign gap gloss graphic hi l label lb lg list listBibl measure mentioned milestone name note num orig pb ptr quote ref reg rs said sic soCalled stage term time title unclear drama: castList gaiji: g header: idno msdescription: dimensions height width textstructure: floatingText transcr: addSpan am damageSpan delSpan ex handShift listTranspose metamark mod mw redo space subst substJoin supplied surplus undo character data |
| Example | <hi rend="gothic">And this Indenture further witnesseth</hi>
that the said <hi rend="italic">Walter Shandy</hi>, merchant,
in consideration of the said intended marriage ... |
| Schematron |
<sch:rule context="tei:text//tei:hi | tei:text//tei:mcr | tei:text//tei:emph">
<sch:let name="myName"
value="local-name(.)"/>
<sch:let name="myDefaultRendition"
value="/tei:TEI/tei:teiHeader/tei:encodingDesc/tei:tagsDecl/tei:rendition[
$myName = tokenize( @selector,'[ ,]+') ]"/>
<sch:let name="myRealRend"
value="concat( $myDefaultRendition, @rend )"/>
<sch:assert test="contains( $myRealRend, '(')">Wha? This <gi>
<sch:value-of select="$myName"/>
</gi> element has no (usable) rendition</sch:assert>
</sch:rule> |
| Content model |
<content>
<macroRef key="macro.paraContent"/>
</content>
⚓ |
| Schema Declaration |
element hi
{
ws_att.global.attributes,
ws_att.cmc.attributes,
ws_att.written.attributes,
ws_macro.paraContent
}⚓ |
| <hyperDiv> (hyper division) Those things that are part of the textual content of the document, or directly related to it, but do not fit into the front matter, body, or back matter. | |
| Module | derived-module-wwp-store |
| Contained by | textstructure: floatingText text |
| May contain | |
| Note | Currently, the content of the <hyperDiv> is quite restrictive. It consists of 0 or 1 of each of the following, in the specified order:
In the future we may consider loosening or re-arranging this. |
| Schematron |
<sch:rule context="tei:adds/tei:add/child::*">
<sch:assert test="self::wwp:note">An <add> inside <adds> inside the <hyperDiv> should not have any children other than <note> (and there is a <<sch:name/>> here).</sch:assert>
</sch:rule> |
| Content model |
<content>
<classRef key="model.hyperDivPart"
expand="sequenceOptional"/>
</content>
⚓ |
| Schema Declaration |
element hyperDiv
{
ws_castList?,
ws_linkGrp?,
ws_altGrp?,
ws_acrostics?,
ws_anagrams?,
ws_adds?,
ws_notes?
}⚓ |
| <hyphenation> (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 16.3.2. Declarable Elements] | |||||||||
| Module | header | ||||||||
| Attributes |
| ||||||||
| Member of | |||||||||
| Contained by | header: editorialDecl | ||||||||
| May contain | |||||||||
| Example | <hyphenation eol="some">
<p>End-of-line hyphenation silently removed where appropriate</p>
</hyphenation> | ||||||||
| Content model |
<content>
<classRef key="model.pLike" minOccurs="1"
maxOccurs="unbounded"/>
</content>
⚓ | ||||||||
| Schema Declaration |
element hyphenation
{
ws_att.global.attributes,
ws_att.declarable.attributes,
attribute eol { "all" | "some" | "hard" | "none" }?,
ws_model.pLike+
}⚓ | ||||||||
| <ident> (identifier) contains an identifier or name for an object of some kind in a formal language. <ident> is used for tokens such as variable names, class names, type names, function names etc. in formal programming languages. [23.1.1. Phrase Level Terms] | |
| Module | tagdocs |
| Attributes |
|
| Member of | |
| Contained by | core: abbr add addrLine author bibl biblScope citedRange corr date del desc distinct editor email emph expan foreign gloss head headItem headLabel hi item l label measure mentioned name num orig p pubPlace publisher quote ref reg resp rs said sic soCalled speaker stage term time title unclear derived-module-wwp-store: acrostic anagram docAuthorization docSale mcr regMe translator textstructure: closer dateline docDate docEdition docImprint docRole imprimatur opener respLine salute signed titlePart trailer |
| May contain | Character data only |
| Note | In running prose, this element may be used for any kind of identifier in any formal language. It should not be used for element and attribute names in XML, for which the special elements <gi> and <att> are provided. |
| Example | <ident type="ns">http://www.tei-c.org/ns/Examples</ident> |
| Content model |
<content>
<textNode/>
</content>
⚓ |
| Schema Declaration |
element ident { ws_att.global.attributes, ws_att.typed.attributes, text }⚓ |
| <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.12.2.4. Imprint, Size of a Document, and Reprint Information] | |||||||||||
| Module | header | ||||||||||
| Attributes |
| ||||||||||
| Member of | |||||||||||
| Contained by | core: abbr add addrLine address analytic author bibl biblScope citedRange corr date del desc distinct editor email emph expan foreign gloss head headItem headLabel hi item l label measure mentioned monogr name num orig p pubPlace publisher quote ref reg resp rs said series sic soCalled speaker stage term time title unclear derived-module-wwp-store: acrostic anagram docAuthorization docSale mcr regMe translator textstructure: closer dateline docDate docEdition docImprint docRole imprimatur opener respLine salute signed titlePart trailer | ||||||||||
| May contain | |||||||||||
| 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
{
ws_att.global.attributes,
ws_att.cmc.attributes,
ws_att.datable.attributes,
ws_att.sortable.attributes,
ws_att.typed.attribute.subtype,
attribute type
{
"clu"
| "cluc"
| "csmh"
| "cty"
| "ctybr"
| "dfo"
| "dlc"
| "geu"
| "iau"
| "icj"
| "icjkm"
| "icn"
| "icrl"
| "icu"
| "ien"
| "inre"
| "inu"
| "iu"
| "mb"
| "mbat"
| "mbco"
| "mh"
| "mhh"
| "miu"
| "mns"
| "mwa"
| "nbrocku"
| "nhd"
| "njp"
| "nn"
| "nnc"
| "nnut"
| "npv"
| "oonl"
| "pp"
| "pu"
| "rpb"
| "rpjcb"
| "uk"
| "uk"
| "ukcu"
| "uklougc"
| "uklpr"
| "ukmajru"
| "ukoxu"
| "ukoxu"
| "viu"
| "wimauma"
| "wlabnl"
| "unknown"
| "wwp:corvey"
| "wwp:hindle"
| "wwp:iedt"
| "wwp:ukblt"
| "wwp:ukoxw"
| "ou"
| "Evans"
| "STC"
| "Wing"
| "Ca-MvGOO"
| "MiAaHDL"
| "MiAaPQ"
| "URL"
| "unknown"
| "WWP"
}?,
( text | ws_model.gLike | ws_idno )*
}⚓ | ||||||||||
| <imprimatur> (imprimatur) contains a formal statement authorizing the publication of a work, sometimes required to appear on a title page or its verso. [4.6. Title Pages] | |
| Module | textstructure |
| Attributes |
|
| Member of | |
| Contained by | textstructure: back front titleBlock |
| May contain | core: abbr add address author bibl biblStruct cb choice corr date del desc distinct email emph expan foreign gap gloss graphic hi l label lb lg list listBibl measure mentioned milestone name note num orig pb ptr quote ref reg rs said sic soCalled stage term time title unclear drama: castList gaiji: g header: idno msdescription: dimensions height width textstructure: docRole floatingText transcr: addSpan am damageSpan delSpan ex handShift listTranspose metamark mod mw redo space subst substJoin supplied surplus undo character data |
| Example | <imprimatur>Licensed and entred acording to Order.</imprimatur> |
| Content model |
<content>
<alternate minOccurs="1"
maxOccurs="unbounded">
<macroRef key="macro.paraContent"/>
<elementRef key="docAuthor"/>
</alternate>
</content>
⚓ |
| Schema Declaration |
element imprimatur
{
ws_att.global.attributes,
( ws_macro.paraContent | ws_docAuthor )+
}⚓ |
| <imprint> groups information relating to the publication or distribution of a bibliographic item. [3.12.2.4. Imprint, Size of a Document, and Reprint Information] | |
| Module | core |
| Attributes |
|
| 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
{
ws_att.global.attributes,
(
( classCode | ws_catRef )*,
(
(
( ws_model.imprintPart | ws_model.dateLike ),
ws_respStmt*,
ws_model.global*
)+
)
)
}⚓ |
| <include> The W3C XInclude element | |||||||||||||||||||||||||||||||||||||||||||
| Namespace | http://www.w3.org/2001/XInclude | ||||||||||||||||||||||||||||||||||||||||||
| Module | derived-module-wwp-store | ||||||||||||||||||||||||||||||||||||||||||
| Attributes |
| ||||||||||||||||||||||||||||||||||||||||||
| Member of | |||||||||||||||||||||||||||||||||||||||||||
| Contained by | |||||||||||||||||||||||||||||||||||||||||||
| May contain | derived-module-wwp-store: fallback | ||||||||||||||||||||||||||||||||||||||||||
| Content model |
<content>
<elementRef key="fallback" minOccurs="0"/>
</content>
⚓ | ||||||||||||||||||||||||||||||||||||||||||
| Schema Declaration |
element include
{
ws_att.global.attributes,
attribute href { text }?,
attribute parse { "xml" | "text" }?,
attribute xpointer { text }?,
attribute encoding { text }?,
attribute accept { text }?,
attribute accept-charset { text }?,
attribute accept-language { text }?,
ws_fallback?
}⚓ | ||||||||||||||||||||||||||||||||||||||||||
| <item> (item) contains one component of a list. [3.8. Lists 2.6. The Revision Description] | |||||||||||||
| Module | core | ||||||||||||
| Attributes |
| ||||||||||||
| Contained by | core: list | ||||||||||||
| May contain | core: abbr add address author bibl biblStruct cb choice corr date del desc distinct email emph expan foreign gap gloss graphic hi l label lb lg list listBibl measure mentioned milestone name note num orig p pb ptr quote ref reg rs said sic soCalled sp stage term time title unclear gaiji: g header: idno msdescription: dimensions height width textstructure: argument floatingText transcr: addSpan am damageSpan delSpan ex handShift listTranspose metamark mod mw redo space subst substJoin supplied surplus undo character data | ||||||||||||
| Note | The WWP-added attribute target is only permitted an an <item> whose parent <list> has a type of toc, reference, or index. | ||||||||||||
| 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> | ||||||||||||
| Schematron |
<sch:pattern>
<sch:rule context="wwp:list[ not( @type = ('toc', 'reference', 'index' ) ) ]">
<sch:report test="child::wwp:item/@target"><item> elements should only have target= attributes if the list is a table of contents, index, or other reference list</sch:report>
</sch:rule>
</sch:pattern> | ||||||||||||
| Content model |
<content>
<alternate minOccurs="0"
maxOccurs="unbounded">
<elementRef key="argument"/>
<macroRef key="macro.specialPara"/>
</alternate>
</content>
⚓ | ||||||||||||
| Schema Declaration |
element item
{
ws_att.global.attributes,
ws_att.sortable.attributes,
attribute target { list { + } }?,
( ws_argument | ws_macro.specialPara )*
}⚓ | ||||||||||||
| <l> (verse line) contains a single, possibly incomplete, line of verse. [3.13.1. Core Tags for Verse 3.13. Passages of Verse or Drama 7.2.5. Speech Contents] | |
| Module | core |
| Attributes |
|
| Member of | |
| Contained by | |
| May contain | core: abbr add address author bibl biblStruct cb choice corr date del desc distinct email emph expan foreign gap gloss graphic hi l label lb lg list listBibl measure mentioned milestone name note num orig pb ptr quote ref reg rs said sic soCalled stage term time title unclear drama: castList gaiji: g header: idno msdescription: dimensions height width textstructure: floatingText transcr: addSpan am damageSpan delSpan ex handShift listTranspose metamark mod mw redo space subst substJoin supplied surplus undo character data |
| Example | <l met="x/x/x/x/x/" real="/xx/x/x/x/">Shall I compare thee to a summer's day?</l> |
| Schematron |
<sch:rule context="wwp:l">
<sch:report test="descendant::wwp:l">A metrical line should not contain a metrical line</sch:report>
</sch:rule> |
| Schematron |
<sch:rule context="tei:l">
<sch:report test="ancestor::tei:l[not(.//tei:note//tei:l[. = current()])]">Abstract model violation: Lines may not contain lines or lg elements.</sch:report>
</sch:rule> |
| 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"/>
</alternate>
</content>
⚓ |
| Schema Declaration |
element l
{
ws_att.global.attributes,
ws_att.cmc.attributes,
ws_att.fragmentable.attributes,
(
text
| ws_model.gLike
| ws_model.phrase
| ws_model.inter
| ws_model.global
)*
}⚓ |
| <label> (label) contains any label or heading used to identify part of a text, typically but not exclusively in a list or glossary. [3.8. Lists] | |||||||||
| Module | core | ||||||||
| Attributes |
| ||||||||
| Member of | |||||||||
| Contained by | |||||||||
| May contain | core: abbr add address author cb choice corr date del distinct email emph expan foreign gap gloss graphic hi lb measure mentioned milestone name note num orig pb ptr quote ref reg rs said sic soCalled term time title unclear figures: figure gaiji: g header: idno msdescription: dimensions height width textstructure: floatingText transcr: addSpan am damageSpan delSpan ex handShift listTranspose metamark mod mw redo space subst substJoin supplied surplus undo character data | ||||||||
| 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
{
ws_att.global.attributes,
ws_att.cmc.attributes,
ws_att.typed.attribute.subtype,
ws_att.written.attributes,
attribute type { "speaker" }?,
ws_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 16.3.2. Declarable Elements] | |
| Module | header |
| Attributes |
|
| 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
{
ws_att.global.attributes,
ws_att.declarable.attributes,
( ws_model.pLike+ | ws_language+ )
}⚓ |
| <language> (language) characterizes a single language or sublanguage used within a text. [2.4.2. Language Usage] | |||||||||||||
| Module | header | ||||||||||||
| Attributes |
| ||||||||||||
| Contained by | header: langUsage | ||||||||||||
| May contain | core: abbr add address cb choice date distinct email emph expan foreign gap gloss hi lb measure mentioned milestone name note num pb ptr ref rs soCalled term time title derived-module-wwp-store: advertisement elision mcr unknown figures: figure header: idno msdescription: dimensions height width character data | ||||||||||||
| 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="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
{
ws_att.global.attributes,
ws_att.scope.attributes,
attribute ident { text },
attribute usage { text }?,
ws_macro.phraseSeq.limited
}⚓ | ||||||||||||
| <lb> (line beginning) marks the beginning of a topographic line in some edition or version of a text. [3.11.3. Milestone Elements 7.2.5. Speech Contents] | |
| Module | core |
| Attributes |
|
| Member of | |
| Contained by | core: abbr add addrLine address author bibl biblScope citedRange corr date del distinct editor email emph expan foreign gloss head headItem headLabel hi imprint item l label lg list listBibl measure mentioned name note num orig p pubPlace publisher quote ref reg resp rs said series sic soCalled sp speaker stage term time title unclear derived-module-wwp-store: acrostic advertisement anagram docAuthorization docSale elision mcr regMe translator |
| 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 the beginning of each new topographic line on a manuscript or printed page, at the point where it occurs; 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 beginning in any respect. The more specialized attributes break, ed, or edRef should be preferred when the intent is to indicate whether or not the beginning of the new topographic line is word-breaking, or to note the source from which it derives. |
| Example | This example shows the encoding of the beginning of each new topographic line within a metrical line, indicating where it occurs in both the 1667 and 1674 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 shows the encoding of the beginning of a new topographical line as a means of preserving the visual appearance of a title page. The break attribute is used to show that the beginning of the new line 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>
<empty/>
</content>
⚓ |
| Schema Declaration |
element lb
{
ws_att.global.attributes,
ws_att.breaking.attributes,
ws_att.cmc.attributes,
ws_att.edition.attributes,
ws_att.spanning.attributes,
ws_att.typed.attributes,
empty
}⚓ |
| <lg> (line group) contains one or more verse lines functioning as a formal unit, e.g. a stanza, refrain, verse paragraph, etc. [3.13.1. Core Tags for Verse 3.13. Passages of Verse or Drama 7.2.5. Speech Contents] | |||||||||||||||||
| Module | core | ||||||||||||||||
| Attributes |
| ||||||||||||||||
| Member of | |||||||||||||||||
| Contained by | |||||||||||||||||
| May contain | derived-module-wwp-store: advertisement elision unknown figures: figure transcr: addSpan damageSpan delSpan listTranspose metamark mw space substJoin | ||||||||||||||||
| Note | contains verse lines or nested line groups only, possibly prefixed by a heading. | ||||||||||||||||
| Example | <lg type="free">
<l>Let me be my own fool</l>
<l>of my own making, the sum of it</l>
</lg>
<lg type="free">
<l>is equivocal.</l>
<l>One says of the drunken farmer:</l>
</lg>
<lg type="free">
<l>leave him lay off it. And this is</l>
<l>the explanation.</l>
</lg> | ||||||||||||||||
| Schematron |
<sch:rule context="tei:lg">
<sch:assert test="count(descendant::tei:lg|descendant::tei:l|descendant::tei:gap) >
0">An lg element must contain at least one child l, lg, or gap element.</sch:assert>
</sch:rule> | ||||||||||||||||
| Schematron |
<sch:rule context="tei:lg">
<sch:report test="ancestor::tei:l[not(.//tei:note//tei:lg[. = current()])]">Abstract model violation: Lines may not contain line groups.</sch:report>
</sch:rule> | ||||||||||||||||
| Content model |
<content>
<sequence minOccurs="1" maxOccurs="1">
<alternate minOccurs="0"
maxOccurs="unbounded">
<classRef key="model.divTop"/>
<classRef key="model.stageLike"/>
<classRef key="model.global"/>
</alternate>
<alternate minOccurs="1" maxOccurs="1">
<classRef key="model.lLike"/>
<elementRef key="said"/>
<elementRef key="quote"/>
<elementRef key="lg"/>
</alternate>
<alternate minOccurs="0"
maxOccurs="unbounded">
<classRef key="model.lLike"/>
<elementRef key="lg"/>
<classRef key="model.stageLike"/>
<classRef key="model.labelLike"/>
<classRef key="model.global"/>
</alternate>
<sequence minOccurs="0"
maxOccurs="unbounded">
<classRef key="model.divBottom"/>
<alternate minOccurs="0"
maxOccurs="unbounded">
<classRef key="model.stageLike"/>
<classRef key="model.labelLike"/>
<classRef key="model.global"/>
</alternate>
</sequence>
</sequence>
</content>
⚓ | ||||||||||||||||
| Schema Declaration |
element lg
{
ws_att.global.attributes,
ws_att.cmc.attributes,
ws_att.declaring.attributes,
ws_att.divLike.attributes,
attribute type
{
"common"
| "couplet"
| "couplet-heroic"
| "drama"
| "indeterminate"
| "octet"
| "ottava-rima"
| "para"
| "poem"
| "quatrain"
| "quintet"
| "refrain"
| "rime-royal"
| "section"
| "septet"
| "sestet"
| "spenserian"
| "stanza"
| "tercet"
},
attribute subtype
{
"dramatic-verse"
| "verse"
| "indeterminate"
| "stanzaic"
| "sonnet-shakespearean"
| "sonnet"
| "sonnet-petrarchan"
| "acrostic"
| "ode-english"
| "spatial"
}?,
(
( ws_model.divTop | ws_model.stageLike | ws_model.global )*,
( ws_model.lLike | ws_said | ws_quote | ws_lg ),
(
ws_model.lLike
| ws_lg
| ws_model.stageLike
| ws_model.labelLike
| ws_model.global
)*,
(
(
ws_model.divBottom,
( ws_model.stageLike | ws_model.labelLike | ws_model.global )*
)*
)
)
}⚓ | ||||||||||||||||
| <licence> contains information about a licence or other legal agreement applicable to the text. [2.2.4. Publication, Distribution, Licensing, etc.] | |
| Module | header |
| Attributes |
|
| Member of | |
| Contained by | header: availability |
| May contain | core: abbr add address author bibl biblStruct cb choice corr date del desc distinct email emph expan foreign gap gloss graphic hi l label lb lg list listBibl measure mentioned milestone name note num orig p pb ptr quote ref reg rs said sic soCalled sp stage term time title unclear gaiji: g header: idno msdescription: dimensions height width textstructure: floatingText transcr: addSpan am damageSpan delSpan ex handShift listTranspose metamark mod mw redo space subst substJoin supplied surplus undo character data |
| 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
{
ws_att.global.attributes,
ws_att.datable.attributes,
ws_att.pointing.attributes,
ws_macro.specialPara
}⚓ |
| <line> contains the transcription of a topographic line in the source document. [12.2.2. Embedded Transcription] | |
| Module | transcr |
| Attributes |
|
| Member of | |
| Contained by | transcr: line |
| 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 line beginnings within text which has been encoded using structural elements such as <p> (for which use <lb>). |
| Example | This example shows topographical lines as a means of preserving the visual appearance of a poem: <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
{
ws_att.global.attributes,
ws_att.coordinated.attributes,
ws_att.typed.attributes,
ws_att.written.attributes,
( text | ws_model.global | ws_model.gLike | ws_model.linePart )*
}⚓ |
| <link> (link) defines an association or hypertextual link among elements or passages, of some type not more precisely specifiable by other elements. [17.1. Links] | |||||||||
| Module | linking | ||||||||
| Attributes |
| ||||||||
| Member of | |||||||||
| Contained by | core: abbr add addrLine address author bibl biblScope citedRange corr date del distinct editor email emph expan foreign gloss head headItem headLabel hi imprint item l label lg list measure mentioned name note num orig p pubPlace publisher quote ref reg resp rs said series sic soCalled sp speaker stage term time title unclear derived-module-wwp-store: acrostic advertisement anagram docAuthorization docSale elision mcr regMe translator | ||||||||
| May contain | Empty element | ||||||||
| Note | This element should only be used to encode associations not otherwise provided for by more specific elements. The location of this element within a document has no significance, unless it is included within a <linkGrp>, in which case it may inherit the value of the type attribute from the value given on the <linkGrp>. | ||||||||
| Example | <s n="1">The state Supreme Court has refused to release <rs xml:id="R1">
<rs xml:id="R2">Rahway State Prison</rs> inmate</rs>
<rs xml:id="R3">James Scott</rs> on bail.</s>
<s n="2">
<rs xml:id="R4">The fighter</rs> is serving 30-40 years
for a 1975 armed robbery conviction in <rs xml:id="R5">the penitentiary</rs>.
</s>
<!-- ... -->
<linkGrp type="periphrasis">
<link target="#R1 #R3 #R4"/>
<link target="#R2 #R5"/>
</linkGrp> | ||||||||
| Schematron |
<sch:rule context="tei:link">
<sch:assert test="contains(normalize-space(@target),' ')">You must supply at least two values for @target or on <sch:name/>
</sch:assert>
</sch:rule> | ||||||||
| Content model |
<content>
<empty/>
</content>
⚓ | ||||||||
| Schema Declaration |
element link
{
ws_att.global.attributes,
ws_att.cmc.attributes,
ws_att.pointing.attributes,
ws_att.typed.attribute.subtype,
attribute type { "grouped" }?,
empty
}⚓ | ||||||||
| <linkGrp> (link group) defines a collection of associations or hypertextual links. [17.1. Links] | |
| Module | linking |
| Attributes |
|
| Member of | |
| Contained by | derived-module-wwp-store: hyperDiv |
| May contain | |
| Note | May contain one or more <link> or <ptr> elements. A web or link group is an administrative convenience, which should be used to collect a set of links together for any purpose, not simply to supply a default value for the type attribute. |
| Example | <linkGrp type="translation">
<link target="#CCS1 #SW1"/>
<link target="#CCS2 #SW2"/>
<link target="#CCS #SW"/>
</linkGrp>
<div type="volume" xml:id="CCS"
xml:lang="fr">
<p>
<s xml:id="CCS1">Longtemps, je me suis couché de bonne heure.</s>
<s xml:id="CCS2">Parfois, à peine ma bougie éteinte, mes yeux se fermaient si vite que je n'avais pas le temps de me dire : "Je m'endors."</s>
</p>
<!-- ... -->
</div>
<div type="volume" xml:id="SW" xml:lang="en">
<p>
<s xml:id="SW1">For a long time I used to go to bed early.</s>
<s xml:id="SW2">Sometimes, when I had put out my candle, my eyes would close so quickly that I had not even time to say "I'm going to sleep."</s>
</p>
<!-- ... -->
</div> |
| Content model |
<content>
<sequence minOccurs="1" maxOccurs="1">
<classRef key="model.descLike"
minOccurs="0" maxOccurs="unbounded"/>
<alternate minOccurs="1"
maxOccurs="unbounded">
<elementRef key="link"/>
<elementRef key="ptr"/>
</alternate>
</sequence>
</content>
⚓ |
| Schema Declaration |
element linkGrp
{
ws_att.global.attributes,
ws_att.pointing.group.attributes,
( ws_model.descLike*, ( ws_link | ws_ptr )+ )
}⚓ |
| <list> (list) contains any sequence of items organized as a list. [3.8. Lists] | |||||||||||||||
| Module | core | ||||||||||||||
| Attributes |
| ||||||||||||||
| Member of | |||||||||||||||
| Contained by | core: add bibl corr del desc emph head hi item l note orig p quote ref reg said sic sp stage title unclear derived-module-wwp-store: advertisement docAuthorization docSale mcr header: change handNote licence revisionDesc sourceDesc textstructure: argument back body div docEdition epigraph imprimatur postscript salute signed titlePart trailer | ||||||||||||||
| May contain | derived-module-wwp-store: advertisement elision unknown figures: figure transcr: addSpan damageSpan delSpan listTranspose metamark mw space substJoin | ||||||||||||||
| 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 | |||||||||||||||
| 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 minOccurs="1" maxOccurs="1">
<alternate minOccurs="0"
maxOccurs="unbounded">
<classRef key="model.divTop"/>
<classRef key="model.global"/>
<elementRef key="desc" minOccurs="0"
maxOccurs="unbounded"/>
</alternate>
<alternate minOccurs="1" maxOccurs="1">
<sequence minOccurs="1"
maxOccurs="unbounded">
<elementRef key="item"/>
<classRef key="model.global"
minOccurs="0" maxOccurs="unbounded"/>
</sequence>
<sequence minOccurs="1" maxOccurs="1">
<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
{
ws_att.global.attributes,
ws_att.cmc.attributes,
ws_att.sortable.attributes,
attribute subtype { text }?,
attribute type { "toc" | "errata" | "subscriber" | "gloss" }?,
(
( ws_model.divTop | ws_model.global | ws_desc* )*,
(
( ( ws_item, ws_model.global* )+ )
| (
ws_headLabel?,
ws_headItem?,
( ( ws_label, ws_model.global*, ws_item, ws_model.global* )+ )
)
),
( ( ws_model.divBottom, ws_model.global* )* )
)
}⚓ | ||||||||||||||
| <listBibl> (citation list) contains a list of bibliographic citations of any kind. [3.12.1. Methods of Encoding Bibliographic References and Lists of References 2.2.7. The Source Description 16.3.2. Declarable Elements] | |
| Module | core |
| Attributes |
|
| Member of | |
| Contained by | core: add corr del desc emph head hi item l listBibl note orig p quote ref reg said sic stage title unclear derived-module-wwp-store: advertisement docAuthorization docSale mcr header: handNote licence sourceDesc textstructure: argument back body div docEdition epigraph front imprimatur postscript salute signed titlePart trailer |
| May contain | |
| Example | <listBibl>
<head>Works consulted</head>
<bibl>Blain, Clements and Grundy: Feminist Companion to
Literature in English (Yale, 1990)
</bibl>
<biblStruct>
<analytic>
<title>The Interesting story of the Children in the Wood</title>
</analytic>
<monogr>
<title>The Penny Histories</title>
<author>Victor E Neuberg</author>
<imprint>
<publisher>OUP</publisher>
<date>1968</date>
</imprint>
</monogr>
</biblStruct>
</listBibl> |
| Content model |
<content>
<sequence>
<classRef key="model.headLike"
minOccurs="0" maxOccurs="unbounded"/>
<elementRef key="desc" minOccurs="0"
maxOccurs="unbounded"/>
<alternate minOccurs="0"
maxOccurs="unbounded">
<classRef key="model.milestoneLike"
minOccurs="1" maxOccurs="1"/>
<elementRef key="relation" minOccurs="1"
maxOccurs="1"/>
<elementRef key="listRelation"
minOccurs="1" maxOccurs="1"/>
</alternate>
<sequence minOccurs="1"
maxOccurs="unbounded">
<classRef key="model.biblLike"
minOccurs="1" maxOccurs="unbounded"/>
<alternate minOccurs="0"
maxOccurs="unbounded">
<classRef key="model.milestoneLike"
minOccurs="1" maxOccurs="1"/>
<elementRef key="relation"
minOccurs="1" maxOccurs="1"/>
<elementRef key="listRelation"
minOccurs="1" maxOccurs="1"/>
</alternate>
</sequence>
</sequence>
</content>
⚓ |
| Schema Declaration |
element listBibl
{
ws_att.global.attributes,
ws_att.cmc.attributes,
ws_att.declarable.attributes,
ws_att.sortable.attributes,
ws_att.typed.attributes,
(
ws_model.headLike*,
ws_desc*,
( ws_model.milestoneLike | relation | listRelation )*,
(
(
ws_model.biblLike+,
( ws_model.milestoneLike | relation | listRelation )*
)+
)
)
}⚓ |
| <listPrefixDef> (list of prefix definitions) contains a list of definitions of prefixing schemes used in teidata.pointer values, showing how abbreviated URIs using each scheme may be expanded into full URIs. [17.2.3. Using Abbreviated Pointers] | |
| Module | header |
| Attributes |
|
| Member of | |
| Contained by | header: encodingDesc listPrefixDef |
| May contain | core: desc 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>
<sequence>
<elementRef key="desc" minOccurs="0"
maxOccurs="unbounded"/>
<alternate minOccurs="1"
maxOccurs="unbounded">
<elementRef key="prefixDef"/>
<elementRef key="listPrefixDef"/>
</alternate>
</sequence>
</content>
⚓ |
| Schema Declaration |
element listPrefixDef
{
ws_att.global.attributes,
( ws_desc*, ( ws_prefixDef | ws_listPrefixDef )+ )
}⚓ |
| <listTranspose> supplies a list of transpositions, each of which is indicated at some point in a document typically by means of metamarks. [12.3.4.5. Transpositions] | |
| Module | transcr |
| Attributes |
|
| Member of | |
| Contained by | core: abbr add addrLine address author bibl biblScope citedRange corr date del distinct editor email emph expan foreign gloss head headItem headLabel hi imprint item l label lg list measure mentioned name note num orig p pubPlace publisher quote ref reg resp rs said series sic soCalled sp speaker stage term time title unclear derived-module-wwp-store: acrostic advertisement anagram docAuthorization docSale elision mcr regMe translator |
| May contain | |
| Example | <listTranspose>
<transpose>
<ptr target="#ib02"/>
<ptr target="#ib01"/>
</transpose>
</listTranspose> This example might be used for a source document which indicates in some way that the elements identified by ib02 and code ib01 should be read in that order (ib02 followed by ib01), rather than in the reading order in which they are presented in the source. |
| Content model |
<content>
<sequence>
<elementRef key="desc" minOccurs="0"
maxOccurs="unbounded"/>
<elementRef key="transpose" minOccurs="1"
maxOccurs="unbounded"/>
</sequence>
</content>
⚓ |
| Schema Declaration |
element listTranspose { ws_att.global.attributes, ( ws_desc*, ws_transpose+ ) }⚓ |
| <mapping> (character mapping) contains one or more characters which are related to the parent character or glyph in some respect, as specified by the type attribute. [5.2. Markup Constructs for Representation of Characters and Glyphs] | |||||||||
| Module | gaiji | ||||||||
| Attributes |
| ||||||||
| Contained by | gaiji: char | ||||||||
| May contain | gaiji: g character data | ||||||||
| Note | Suggested values for the type attribute include exact for exact equivalences, uppercase for uppercase equivalences, lowercase for lowercase equivalences, and simplified for simplified characters. The <g> elements contained by this element can point to either another <char> or <glyph> element or contain a character that is intended to be the target of this mapping. | ||||||||
| Example | <mapping type="modern">r</mapping>
<mapping type="standard">人</mapping> | ||||||||
| Content model |
<content>
<macroRef key="macro.xtext"/>
</content>
⚓ | ||||||||
| Schema Declaration |
element mapping
{
ws_att.global.attributes,
ws_att.datable.attributes,
ws_att.typed.attributes,
attribute value { list { ?, ?, ?, ?, ?, ?, ? } }?,
ws_macro.xtext
}⚓ | ||||||||
| <mcr> (meaningful change in rendition) marks a word or phrase as graphically distinct from the surrounding text, for reasons concerning which no claim is made, other than there is some meaning present. | |
| Module | derived-module-wwp-store |
| Attributes |
|
| Member of | |
| Contained by | core: abbr add addrLine author bibl biblScope citedRange corr date del desc distinct editor email emph expan foreign gloss head headItem headLabel hi item l label measure mentioned name num orig p pubPlace publisher quote ref reg resp rs said sic soCalled speaker stage term time title unclear derived-module-wwp-store: acrostic anagram docAuthorization docSale mcr regMe translator textstructure: closer dateline docDate docEdition docImprint docRole imprimatur opener respLine salute signed titlePart trailer |
| May contain | core: abbr add address author bibl biblStruct cb choice corr date del desc distinct email emph expan foreign gap gloss graphic hi l label lb lg list listBibl measure mentioned milestone name note num orig pb ptr quote ref reg rs said sic soCalled stage term time title unclear drama: castList gaiji: g header: idno msdescription: dimensions height width textstructure: floatingText transcr: addSpan am damageSpan delSpan ex handShift listTranspose metamark mod mw redo space subst substJoin supplied surplus undo character data |
| Example | <p>
<mcr>Item</mcr>, 200 Crowns to <persName>Iſabella</persName> for undertaking.
</p> |
| Content model |
<content>
<macroRef key="macro.paraContent"/>
</content>
⚓ |
| Schema Declaration |
element mcr { ws_att.global.attributes, ws_macro.paraContent }⚓ |
| <measure> (measure) contains a word or phrase referring to some quantity of an object or commodity, usually comprising a number, a unit, and a commodity name. [3.6.3. Numbers and Measures] | |||||||||
| Module | core | ||||||||
| Attributes |
| ||||||||
| Member of | |||||||||
| Contained by | core: abbr add addrLine author bibl biblScope citedRange corr date del desc distinct editor email emph expan foreign gloss head headItem headLabel hi item l label measure mentioned name num orig p pubPlace publisher quote ref reg resp rs said sic soCalled speaker stage term time title unclear derived-module-wwp-store: acrostic anagram docAuthorization docSale mcr regMe translator textstructure: closer dateline docDate docEdition docImprint docRole imprimatur opener respLine salute signed titlePart trailer | ||||||||
| May contain | core: abbr add address author cb choice corr date del distinct email emph expan foreign gap gloss graphic hi lb measure mentioned milestone name note num orig pb ptr quote ref reg rs said sic soCalled term time title unclear figures: figure gaiji: g header: idno msdescription: dimensions height width textstructure: floatingText transcr: addSpan am damageSpan delSpan ex handShift listTranspose metamark mod mw redo space subst substJoin supplied surplus undo character data | ||||||||
| Example | This example references a definition of a measurement unit declared in the TEI header: <measure type="weight">
<num>2</num> pounds of flesh
</measure>
<measure type="currency">£10-11-6d</measure>
<measure type="area" unitRef="#merk">2 <unit>merks</unit> of old extent</measure>
<!-- In the TEI Header: -->
<encodingDesc>
<unitDecl>
<unitDef xml:id="merk" type="area">
<label>merk</label>
<placeName ref="#Scotland"/>
<desc>A merk was an area of land determined variably by its agricultural
productivity.</desc>
</unitDef>
</unitDecl>
</encodingDesc> | ||||||||
| Example | <measure quantity="40" unit="hogshead"
commodity="rum">2 score hh rum</measure>
<measure quantity="12" unit="count"
commodity="roses">1 doz. roses</measure>
<measure quantity="1" unit="count"
commodity="tulips">a yellow tulip</measure> | ||||||||
| Example | <head>Long papers.</head>
<p>Speakers will be given 30 minutes each: 20 minutes for
presentation, 10 minutes for discussion. Proposals should not
exceed <measure max="500" unit="count"
commodity="words">500
words</measure>. This presentation type is suitable for
substantial research, theoretical or critical discussions.</p> | ||||||||
| Content model |
<content>
<macroRef key="macro.phraseSeq"/>
</content>
⚓ | ||||||||
| Schema Declaration |
element measure
{
ws_att.global.attributes,
ws_att.cmc.attributes,
ws_att.measurement.attributes,
ws_att.typed.attribute.subtype,
attribute type { text }?,
ws_macro.phraseSeq
}⚓ | ||||||||
| <mentioned> marks words or phrases mentioned, not used. [3.3.3. Quotation] | |
| Module | core |
| Attributes |
|
| Member of | |
| Contained by | core: abbr add addrLine author bibl biblScope citedRange corr date del desc distinct editor email emph expan foreign gloss head headItem headLabel hi item l label measure mentioned name num orig p pubPlace publisher quote ref reg resp rs said sic soCalled speaker stage term time title unclear derived-module-wwp-store: acrostic anagram docAuthorization docSale mcr regMe translator textstructure: closer dateline docDate docEdition docImprint docRole imprimatur opener respLine salute signed titlePart trailer |
| May contain | core: abbr add address author cb choice corr date del distinct email emph expan foreign gap gloss graphic hi lb measure mentioned milestone name note num orig pb ptr quote ref reg rs said sic soCalled term time title unclear figures: figure gaiji: g header: idno msdescription: dimensions height width textstructure: floatingText transcr: addSpan am damageSpan delSpan ex handShift listTranspose metamark mod mw redo space subst substJoin supplied surplus undo character data |
| Example | There is thus a
striking accentual difference between a verbal form like <mentioned xml:id="X234" xml:lang="el">eluthemen</mentioned>
<gloss target="#X234">we were released,</gloss> accented on the second syllable of the
word, and its participial derivative
<mentioned xml:id="X235" xml:lang="el">lutheis</mentioned>
<gloss target="#X235">released,</gloss> accented on the last. |
| Content model |
<content>
<macroRef key="macro.phraseSeq"/>
</content>
⚓ |
| Schema Declaration |
element mentioned
{
ws_att.global.attributes,
ws_att.cmc.attributes,
ws_macro.phraseSeq
}⚓ |
| <metamark> contains or describes any kind of graphic or written signal within a document the function of which is to determine how it should be read rather than forming part of the actual content of the document. [12.3.4.2. Metamarks] | |||||||||||||
| Module | transcr | ||||||||||||
| Attributes |
| ||||||||||||
| Member of | |||||||||||||
| Contained by | core: abbr add addrLine address author bibl biblScope citedRange corr date del distinct editor email emph expan foreign gloss head headItem headLabel hi imprint item l label lg list measure mentioned name note num orig p pubPlace publisher quote ref reg resp rs said series sic soCalled sp speaker stage term time title unclear derived-module-wwp-store: acrostic advertisement anagram docAuthorization docSale elision mcr regMe translator | ||||||||||||
| May contain | core: abbr add address author bibl biblStruct cb choice corr date del desc distinct email emph expan foreign gap gloss graphic hi l label lb lg list listBibl measure mentioned milestone name note num orig p pb ptr quote ref reg rs said sic soCalled sp stage term time title unclear gaiji: g header: idno msdescription: dimensions height width textstructure: floatingText transcr: addSpan am damageSpan delSpan ex handShift listTranspose metamark mod mw redo space subst substJoin supplied surplus undo character data | ||||||||||||
| Example | <surface>
<metamark function="used" rend="line"
target="#X2"/>
<zone xml:id="zone-X2">
<line>I am that halfgrown <add>angry</add> boy, fallen asleep</line>
<line>The tears of foolish passion yet undried</line>
<line>upon my cheeks.</line>
<!-- ... -->
<line>I pass through <add>the</add> travels and <del>fortunes</del> of
<retrace>thirty</retrace>
</line>
<line>years and become old,</line>
<line>Each in its due order comes and goes,</line>
<line>And thus a message for me comes.</line>
<line>The</line>
</zone>
<metamark function="used"
target="#zone-X2">Entered - Yes</metamark>
</surface> | ||||||||||||
| Content model |
<content>
<macroRef key="macro.specialPara"/>
</content>
⚓ | ||||||||||||
| Schema Declaration |
element metamark
{
ws_att.global.attributes,
ws_att.spanning.attributes,
attribute function { text }?,
attribute target { list { + } }?,
ws_macro.specialPara
}⚓ | ||||||||||||
| <milestone> (milestone) marks a boundary point separating any kind of section of a text, typically but not necessarily indicating a point at which some part of a standard reference system changes, where the change is not represented by a structural element. [3.11.3. Milestone Elements] | |||||||||
| Module | core | ||||||||
| Attributes |
| ||||||||
| Member of | |||||||||
| Contained by | core: abbr add addrLine address author bibl biblScope citedRange corr date del distinct editor email emph expan foreign gloss head headItem headLabel hi imprint item l label lg list listBibl measure mentioned name note num orig p pubPlace publisher quote ref reg resp rs said series sic soCalled sp speaker stage term time title unclear derived-module-wwp-store: acrostic advertisement anagram docAuthorization docSale elision mcr regMe translator | ||||||||
| May contain | Empty element | ||||||||
| Note | For this element, the global n attribute indicates the new number or other value for the unit which changes at this milestone. The special value unnumbered should be used in passages which fall outside the normal numbering scheme, such as chapter or other headings, poem numbers or titles, etc. The order in which <milestone> elements are given at a given point is not normally significant. | ||||||||
| Example | <milestone n="23" ed="La" unit="Dreissiger"/>
... <milestone n="24" ed="AV" unit="verse"/> ... | ||||||||
| Schematron | Test that the n of a <milestone> that has a unit of sig has as its value a reasonable idealized signature. Note that this constraint is curently fired for all <milestone> elements. Luckily there are none other than idealized signatures.
<sch:rule context="wwp:milestone">
<sch:let name="me"
value="normalize-space(@n)"/>
<sch:assert test="matches( $me,'((facing|preceding) )?(\p{L}|\p{M}|\p{N}|\p{P}|\p{S})*[0-9]+[\])]?[rv]')">
The idealized signature “<sch:value-of select="@n"/>” does not match the defintion thereof.
</sch:assert>
</sch:rule> | ||||||||
| Content model |
<content>
<empty/>
</content>
⚓ | ||||||||
| Schema Declaration |
element milestone
{
ws_att.global.attributes,
ws_att.breaking.attributes,
ws_att.cmc.attributes,
ws_att.edition.attributes,
ws_att.spanning.attributes,
ws_att.typed.attributes,
attribute unit { "sig" },
empty
}⚓ | ||||||||
| <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.12.2.1. Analytic, Monographic, and Series Levels] | |
| Module | core |
| Attributes |
|
| 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
{
ws_att.global.attributes,
(
(
(
( ws_author | ws_editor | meeting | ws_respStmt ),
( ws_author | ws_editor | meeting | ws_respStmt )*,
ws_title+,
( ws_model.ptrLike | ws_idno | textLang | ws_editor | ws_respStmt )*
)
| (
( ws_title | ws_model.ptrLike | ws_idno )+,
( textLang | ws_author | ws_editor | meeting | ws_respStmt )*
)
| ( authority, ws_idno )
)?,
ws_availability*,
ws_model.noteLike*,
(
(
ws_edition,
(
ws_idno
| ws_model.ptrLike
| ws_editor
| ws_sponsor
| ws_funder
| ws_respStmt
)*
)*
),
ws_imprint,
( ws_imprint | ws_extent | ws_biblScope )*
)
}⚓ |
| <name> (name, proper noun) contains a proper noun or noun phrase. [3.6.1. Referring Strings] | |||||||||
| Module | core | ||||||||
| Attributes |
| ||||||||
| Member of | |||||||||
| Contained by | core: abbr add addrLine address author bibl biblScope citedRange corr date del desc distinct editor email emph expan foreign gloss head headItem headLabel hi item l label measure mentioned name num orig p pubPlace publisher quote ref reg resp respStmt rs said sic soCalled speaker stage term time title unclear derived-module-wwp-store: acrostic anagram docAuthorization docSale mcr regMe translator textstructure: closer dateline docDate docEdition docImprint docRole imprimatur opener respLine salute signed titlePart trailer | ||||||||
| May contain | core: abbr add address author cb choice corr date del distinct email emph expan foreign gap gloss graphic hi lb measure mentioned milestone name note num orig pb ptr quote ref reg rs said sic soCalled term time title unclear figures: figure gaiji: g header: idno msdescription: dimensions height width textstructure: floatingText transcr: addSpan am damageSpan delSpan ex handShift listTranspose metamark mod mw redo space subst substJoin supplied surplus undo character data | ||||||||
| 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
{
ws_att.global.attributes,
ws_att.cmc.attributes,
ws_att.datable.attributes,
ws_att.editLike.attributes,
ws_att.personal.attributes,
ws_att.typed.attribute.subtype,
attribute type
{
"properAdjective" | "file" | "class" | "macro" | "constraint"
}?,
ws_macro.phraseSeq
}⚓ | ||||||||
| <normalization> (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 16.3.2. Declarable Elements] | |||||||||
| Module | header | ||||||||
| Attributes |
| ||||||||
| Member of | |||||||||
| 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
{
ws_att.global.attributes,
ws_att.declarable.attributes,
attribute method { "silent" | "markup" }?,
ws_model.pLike+
}⚓ | ||||||||
| <note> (note) contains a note or annotation. [3.9.1. Notes and Simple Annotation 2.2.6. The Notes Statement 3.12.2.8. Notes and Statement of Language 10.3.5.4. Notes within Entries] | |||||||||
| Module | core | ||||||||
| Attributes |
| ||||||||
| Member of | |||||||||
| Contained by | core: abbr add addrLine address author bibl biblScope biblStruct citedRange corr date del distinct editor email emph expan foreign gloss head headItem headLabel hi imprint item l label lg list measure mentioned monogr name note num orig p pubPlace publisher quote ref reg resp rs said series sic soCalled sp speaker stage term time title unclear derived-module-wwp-store: acrostic advertisement anagram docAuthorization docSale elision mcr notes regMe translator gaiji: char | ||||||||
| May contain | core: add bibl biblStruct cb desc gap head l label lb lg list listBibl milestone note p pb quote ref said sp stage derived-module-wwp-store: advertisement elision unknown textstructure: closer floatingText opener respLine trailer transcr: addSpan damageSpan delSpan listTranspose metamark mw space substJoin | ||||||||
| 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. | ||||||||
| Schematron |
<sch:rule context="wwp:text//wwp:note[not(@target)]">
<sch:report test="ancestor::wwp:hyperDiv | ancestor::wwp:div[@type='endnotes']">ERROR: <sch:value-of select="if (@xml:id) then concat('the note with id=', @xml:id ) else concat('note
#',count( preceding::wwp:note))"/> does not have a @target, but should (because it is an endnote or is inside <hyperDiv>)</sch:report>
</sch:rule> | ||||||||
| Schematron |
<sch:rule context="wwp:note[@target|@targetEnd]">
<sch:let name="ptr2me"
value="concat('#', @xml:id )"/>
<sch:report test="tokenize( normalize-space( string-join( ( @target, @targetEnd ), '
') ), ' ' ) = $ptr2me">ERROR: the note element with id=<sch:value-of select="@xml:id"/> refers to itself</sch:report>
</sch:rule> | ||||||||
| Schematron |
<sch:rule context="wwp:note[ @type eq 'public']">
<sch:assert test="parent::wwp:notesStmt">public notes should be in the <gi>notesStmt</gi> in the TEI header.</sch:assert>
</sch:rule> | ||||||||
| Schematron |
<sch:rule context="wwp:note[ @type = ('editorial','authorial') ]">
<sch:report test="parent::wwp:notesStmt">
<sch:value-of select="@type"/> notes should not be in the <gi>notesStmt</gi> in the TEI header.</sch:report>
</sch:rule> | ||||||||
| Schematron |
<sch:rule context="wwp:note[ ( not(@type) or @type eq 'authorial' ) and @target ]">
<sch:report test=" (: open outer sequence of values :) ( (: take each separate pointer
in my @target, generate an item that is that pointer with the '#'
stripped off :) for $T in tokenize( @target )!substring-after( .,'#')
return (: and, for each of those #-less targets (stored as $T), a)
get the element that it refers to; b) take that element’s @corresp;
c) tokenize that @corresp value string into separate pointers (As
a side comment, there will generally be only 1, rarely 2, and we don’t
have any 3+ as of 2023-03-17; d) strip the '#' off each of those pointers;
e) compare each if those #-less pointers to the current <note> elment’s
@xml:id. If any one of them is equal, then we return true; otherwise
false :) tokenize( id( $T )/@corresp )!substring-after( .,'#') = @xml:id
(: close outer sequence of values :) ) (: So we now have a sequence
of xs:boolean values, one for each separate pointer in this <note>
element’s @target, each of which is true iff at least one of the target’s
@corresp values points back to the same <note>. :) (: Ask “is any
one of these values false?” Iff so, then we have a problem, warn the
user. :) = false()">One or more of the values of target of the note with ID <sch:value-of select="@xml:id"/> points to an element whose corresp does not point back</sch:report>
<sch:assert test="count( tokenize( @target ) ) > 0">Empty @target of <note></sch:assert>
</sch:rule> | ||||||||
| Schematron |
<sch:rule context="wwp:note">
<sch:report test="*/wwp:add and not( */text()[ normalize-space(.) ne '' ] )">
<sch:value-of select="if (@xml:id) then concat('the note with id=', @xml:id ) else concat('note
#', count( preceding::wwp:note ) ) "/> should probably be an <gi>add</gi> with a <gi>note</gi> inside instead, as it seems to have no content other than an <gi>add</gi>.
</sch:report>
</sch:rule> | ||||||||
| Content model |
<content>
<macroRef key="macro.noteContent"/>
</content>
⚓ | ||||||||
| Schema Declaration |
element note
{
ws_att.global.attributes,
ws_att.anchoring.attributes,
ws_att.cmc.attributes,
ws_att.pointing.attributes,
ws_att.typed.attribute.subtype,
ws_att.written.attributes,
attribute type
{
"authorial" | "editorial" | "temp" | "public" | "internal"
}?,
ws_macro.noteContent
}⚓ | ||||||||
| <notes> Container that occurs in <hyperDiv> and holds one or more <note> elements. | |
| Module | derived-module-wwp-store |
| Attributes |
|
| Member of | |
| Contained by | derived-module-wwp-store: hyperDiv |
| May contain | core: note |
| Content model |
<content>
<elementRef key="note" minOccurs="1"
maxOccurs="unbounded"/>
</content>
⚓ |
| Schema Declaration |
element notes { ws_att.global.attributes, ws_note+ }⚓ |
| <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 |
| Attributes |
|
| Contained by | header: fileDesc |
| May contain | core: note derived-module-wwp-store: advertisement |
| 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>
<alternate minOccurs="1"
maxOccurs="unbounded">
<classRef key="model.noteLike"/>
<elementRef key="relatedItem"/>
</alternate>
</content>
⚓ |
| Schema Declaration |
element notesStmt
{
ws_att.global.attributes,
( ws_model.noteLike | relatedItem )+
}⚓ |
| <num> (number) contains a number, written in any form. [3.6.3. Numbers and Measures] | |||||||||||||||||||||||
| Module | core | ||||||||||||||||||||||
| Attributes |
| ||||||||||||||||||||||
| Member of | |||||||||||||||||||||||
| Contained by | core: abbr add addrLine author bibl biblScope citedRange corr date del desc distinct editor email emph expan foreign gloss head headItem headLabel hi item l label measure mentioned name num orig p pubPlace publisher quote ref reg resp rs said sic soCalled speaker stage term time title unclear derived-module-wwp-store: acrostic anagram docAuthorization docSale mcr regMe translator textstructure: closer dateline docDate docEdition docImprint docRole imprimatur opener respLine salute signed titlePart trailer | ||||||||||||||||||||||
| May contain | core: abbr add address author cb choice corr date del distinct email emph expan foreign gap gloss graphic hi lb measure mentioned milestone name note num orig pb ptr quote ref reg rs said sic soCalled term time title unclear figures: figure gaiji: g header: idno msdescription: dimensions height width textstructure: floatingText transcr: addSpan am damageSpan delSpan ex handShift listTranspose metamark mod mw redo space subst substJoin supplied surplus undo character data | ||||||||||||||||||||||
| Note | Detailed analyses of quantities and units of measure in historical documents may also use the feature structure mechanism described in chapter 19. Feature Structures. The <num> element is intended for use in simple applications. | ||||||||||||||||||||||
| Example | <p>I reached <num type="cardinal" value="21">twenty-one</num> on
my <num type="ordinal" value="21">twenty-first</num> birthday</p>
<p>Light travels at <num value="3E10">3×10<hi rend="sup">10</hi>
</num> cm per second.</p> | ||||||||||||||||||||||
| Content model |
<content>
<macroRef key="macro.phraseSeq"/>
</content>
⚓ | ||||||||||||||||||||||
| Schema Declaration |
element num
{
ws_att.global.attributes,
ws_att.cmc.attributes,
ws_att.typed.attribute.subtype,
attribute type { "cardinal" | "ordinal" | "fraction" | "percentage" }?,
attribute value { text }?,
ws_macro.phraseSeq
}⚓ | ||||||||||||||||||||||
| <opener> (opener) groups together dateline, byline, salutation, and similar phrases appearing as a preliminary group at the start of a division, especially of a letter. [4.2. Elements Common to All Divisions] | |
| Module | textstructure |
| Attributes |
|
| Member of | |
| Contained by | |
| May contain | core: abbr add address author cb choice corr date del distinct email emph expan foreign gap gloss graphic hi lb measure mentioned milestone name note num orig pb ptr ref reg rs sic soCalled term time title unclear figures: figure gaiji: g header: idno msdescription: dimensions height width transcr: addSpan am damageSpan delSpan ex handShift listTranspose metamark mod mw redo space subst substJoin supplied surplus undo character data |
| Example | <opener>
<dateline>Walden, this 29. of August 1592</dateline>
</opener> |
| Example | <opener>
<dateline>
<name type="place">Great Marlborough Street</name>
<date>November 11, 1848</date>
</dateline>
<salute>My dear Sir,</salute>
</opener>
<p>I am sorry to say that absence from town and other circumstances have prevented me from
earlier enquiring...</p> |
| Content model |
<content>
<alternate minOccurs="0"
maxOccurs="unbounded">
<textNode/>
<classRef key="model.gLike"/>
<classRef key="model.phrase"/>
<elementRef key="argument"/>
<elementRef key="byline"/>
<elementRef key="dateline"/>
<elementRef key="epigraph"/>
<elementRef key="salute"/>
<elementRef key="signed"/>
<classRef key="model.global"/>
</alternate>
</content>
⚓ |
| Schema Declaration |
element opener
{
ws_att.global.attributes,
ws_att.cmc.attributes,
ws_att.written.attributes,
(
text
| ws_model.gLike
| ws_model.phrase
| ws_argument
| ws_byline
| ws_dateline
| ws_epigraph
| ws_salute
| ws_signed
| ws_model.global
)*
}⚓ |
| <orgName> (organization name) contains an organizational name. [14.2.2. Organizational Names] | |
| Module | namesdates |
| Attributes |
|
| Member of | |
| Contained by | core: abbr add addrLine address author bibl biblScope citedRange corr date del desc distinct editor email emph expan foreign gloss head headItem headLabel hi item l label measure mentioned name num orig p pubPlace publisher quote ref reg resp respStmt rs said sic soCalled speaker stage term time title unclear derived-module-wwp-store: acrostic anagram docAuthorization docSale mcr regMe translator textstructure: closer dateline docDate docEdition docImprint docRole imprimatur opener respLine salute signed titlePart trailer |
| May contain | core: abbr add address author cb choice corr date del distinct email emph expan foreign gap gloss graphic hi lb measure mentioned milestone name note num orig pb ptr quote ref reg rs said sic soCalled term time title unclear figures: figure gaiji: g header: idno msdescription: dimensions height width textstructure: floatingText transcr: addSpan am damageSpan delSpan ex handShift listTranspose metamark mod mw redo space subst substJoin supplied surplus undo character data |
| 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
{
ws_att.global.attributes,
ws_att.cmc.attributes,
ws_att.datable.attributes,
ws_att.editLike.attributes,
ws_att.personal.attributes,
ws_att.typed.attributes,
ws_macro.phraseSeq
}⚓ |
| <orig> (original form) contains a reading which is marked as following the original, rather than being normalized or corrected. [3.5.2. Regularization and Normalization 13. Critical Apparatus] | |
| Module | core |
| Attributes |
|
| Member of | |
| Contained by | core: abbr add addrLine author bibl biblScope choice citedRange corr date del distinct editor email emph expan foreign gloss head headItem headLabel hi item l label measure mentioned name num orig p pubPlace publisher quote ref reg rs said sic soCalled speaker stage term time title unclear derived-module-wwp-store: acrostic anagram docAuthorization docSale mcr regMe translator figures: cell textstructure: closer dateline docDate docEdition docImprint docRole imprimatur opener respLine salute signed titlePart trailer |
| May contain | core: abbr add address author bibl biblStruct cb choice corr date del desc distinct email emph expan foreign gap gloss graphic hi l label lb lg list listBibl measure mentioned milestone name note num orig pb ptr quote ref reg rs said sic soCalled stage term time title unclear drama: castList gaiji: g header: idno msdescription: dimensions height width textstructure: floatingText transcr: addSpan am damageSpan delSpan ex handShift listTranspose metamark mod mw redo space subst substJoin supplied surplus undo character data |
| Example | If all that is desired is to call attention to the original version in the copy text, <orig> may be used alone: <l>But this will be a <orig>meere</orig> confusion</l>
<l>And hardly shall we all be <orig>vnderstoode</orig>
</l> |
| Example | More usually, an <orig> will be combined with a regularized form within a <choice> element: <l>But this will be a <choice>
<orig>meere</orig>
<reg>mere</reg>
</choice> confusion</l>
<l>And hardly shall we all be <choice>
<orig>vnderstoode</orig>
<reg>understood</reg>
</choice>
</l> |
| Schematron |
<sch:rule context="wwp:orig">
<sch:report test="ancestor::wwp:mw">An <gi>orig</gi> should not be inside an <gi>mw</gi>
</sch:report>
<sch:report test="ancestor::wwp:orig"
role="warning">Generally speaking, an <gi>orig</gi> should not be within an <gi>orig</gi>
</sch:report>
</sch:rule> |
| Content model |
<content>
<macroRef key="macro.paraContent"/>
</content>
⚓ |
| Schema Declaration |
element orig
{
ws_att.global.attributes,
ws_att.cmc.attributes,
ws_macro.paraContent
}⚓ |
| <p> (paragraph) marks paragraphs in prose. [3.1. Paragraphs 7.2.5. Speech Contents] | |
| Module | core |
| Attributes |
|
| Member of | |
| Contained by | derived-module-wwp-store: advertisement docSale header: availability calendar correction editionStmt editorialDecl encodingDesc handNote hyphenation langUsage licence normalization prefixDef projectDesc publicationStmt quotation samplingDecl sourceDesc transcr: metamark |
| May contain | core: abbr add address author bibl biblStruct cb choice corr date del desc distinct email emph expan foreign gap gloss graphic hi l label lb lg list listBibl measure mentioned milestone name note num orig pb ptr quote ref reg rs said sic soCalled stage term time title unclear drama: castList gaiji: g header: idno msdescription: dimensions height width textstructure: floatingText transcr: addSpan am damageSpan delSpan ex handShift listTranspose metamark mod mw redo space subst substJoin supplied surplus undo character data |
| 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 |
<sch:rule context="tei:p">
<sch:report test="(ancestor::tei:ab or ancestor::tei:p) and not( ancestor::tei:floatingText
| 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.
</sch:report>
</sch:rule> |
| Schematron |
<sch:rule context="tei:l//tei:p">
<sch:assert test="ancestor::tei:floatingText | parent::tei:figure | parent::tei:note"> Abstract model violation: Metrical lines may not contain higher-level structural elements such as div, p, or ab, unless p is a child of figure or note, or is a descendant of floatingText.
</sch:assert>
</sch:rule> |
| Content model |
<content>
<macroRef key="macro.paraContent"/>
</content>
⚓ |
| Schema Declaration |
element p
{
ws_att.global.attributes,
ws_att.cmc.attributes,
ws_att.declaring.attributes,
ws_att.fragmentable.attributes,
ws_att.written.attributes,
ws_macro.paraContent
}⚓ |
| <pb> (page beginning) marks the beginning of a new page in a paginated document. [3.11.3. Milestone Elements] | |
| Module | core |
| Attributes |
|
| Member of | |
| Contained by | core: abbr add addrLine address author bibl biblScope citedRange corr date del distinct editor email emph expan foreign gloss head headItem headLabel hi imprint item l label lg list listBibl measure mentioned name note num orig p pubPlace publisher quote ref reg resp rs said series sic soCalled sp speaker stage term time title unclear derived-module-wwp-store: acrostic advertisement anagram docAuthorization docSale elision mcr regMe translator |
| 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 beginning 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 beginning 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 beginning 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>
<empty/>
</content>
⚓ |
| Schema Declaration |
element pb
{
ws_att.global.attributes,
ws_att.breaking.attributes,
ws_att.cmc.attributes,
ws_att.edition.attributes,
ws_att.spanning.attributes,
ws_att.typed.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. [14.2.1. Personal Names] | |||||||||
| Module | namesdates | ||||||||
| Attributes |
| ||||||||
| Member of | |||||||||
| Contained by | core: abbr add addrLine address author bibl biblScope citedRange corr date del desc distinct editor email emph expan foreign gloss head headItem headLabel hi item l label measure mentioned name num orig p pubPlace publisher quote ref reg resp respStmt rs said sic soCalled speaker stage term time title unclear derived-module-wwp-store: acrostic anagram docAuthorization docSale mcr regMe translator textstructure: closer dateline docDate docEdition docImprint docRole imprimatur opener respLine salute signed titlePart trailer | ||||||||
| May contain | core: abbr add address author cb choice corr date del distinct email emph expan foreign gap gloss graphic hi lb measure mentioned milestone name note num orig pb ptr quote ref reg rs said sic soCalled term time title unclear figures: figure gaiji: g header: idno msdescription: dimensions height width textstructure: floatingText transcr: addSpan am damageSpan delSpan ex handShift listTranspose metamark mod mw redo space subst substJoin supplied surplus undo character data | ||||||||
| Example | <persName>
<forename>Edward</forename>
<forename>George</forename>
<surname type="linked">Bulwer-Lytton</surname>, <roleName>Baron Lytton of
<placeName>Knebworth</placeName>
</roleName>
</persName> | ||||||||
| Schematron | Will not work with probatron; see description of "shyTests".
<sch:pattern>
<sch:rule context="wwp:persName/@ref [/wwp:TEI/wwp:teiHeader/wwp:encodingDesc/wwp:listPrefixDef]
| wwp:change/@who [/wwp:TEI/wwp:teiHeader/wwp:encodingDesc/wwp:listPrefixDef]
| */@author [/wwp:TEI/wwp:teiHeader/wwp:encodingDesc/wwp:listPrefixDef]
| */@resp [/wwp:TEI/wwp:teiHeader/wwp:encodingDesc/wwp:listPrefixDef]">
<sch:let name="path"
value="'https://www.wwp.neu.edu/wwo/texts/'"/>
<sch:let name="myElement" value="."/>
<sch:let name="gi" value="local-name(..)"/>
<sch:let name="att" value="local-name(.)"/>
<sch:let name="val"
value="normalize-space(.)"/>
<sch:let name="TOKs"
value="tokenize( normalize-space( $val ), ' ')"/>
<sch:let name="REFs"
value="for $t in $TOKs return if ( matches( $t, '\i\c*:\i\c*') ) then $t
else '∅'"/>
<sch:let name="SHRTs"
value="for $t in $TOKs return if ( matches( $t, '#\i\c*') ) then $t else
'∅'"/>
<sch:let name="NOTs"
value="$TOKs[ not( matches( ., '(#|\i\c*:)\i\c*') ) ]"/>
<sch:let name="TARs"
value="for $s in $SHRTs return if ( $s eq '∅') then $s else substring-after(
$s,'#')"/>
<sch:let name="PREFs"
value="for $r in $REFs return if ( $r eq '∅') then $r else substring-before(
$r,':')"/>
<sch:let name="KEYs"
value="for $r in $REFs return if ( $r eq '∅') then $r else substring-after(
$r,':')"/>
<sch:let name="URLs"
value="for $p in $PREFs return concat( $path, substring-before( /wwp:TEI/wwp:teiHeader/wwp:encodingDesc/wwp:listPrefixDef//wwp:prefixDef[
@ident eq $p ]/@replacementPattern, '#' ) )"/>
<sch:let name="PERSONs_via_prefix"
value="for $k in $KEYs return if ( count( index-of( $KEYs, $k ) ) eq 1 )
then if ( doc-available( $URLs[ index-of( $KEYs, $k )] ) ) then if
( document( $URLs[ index-of( $KEYs, $k )] )//TEI:*[ @xml:id eq $k
] ) then document( $URLs[ index-of( $KEYs, $k )] )//TEI:*[ @xml:id
eq $k ] else $myElement else $myElement else $myElement"/>
<sch:let name="PERSONs_via_short"
value="for $t in $TARs return //*[ @xml:id eq $t ]"/>
<sch:let name="nodes_via_prefix"
value="$PERSONs_via_prefix[ not( . eq '' or . eq '∅' or . is $myElement )
]"/>
<sch:let name="nodes_via_short"
value="$PERSONs_via_short[self::*]"/>
<sch:let name="num_not_via_prefix"
value="count( $nodes_via_prefix ) - count( $nodes_via_prefix[ self::TEI:person
| self::TEI:personGrp | self::TEI:alt ])"/>
<sch:let name="num_not_via_short"
value="count( $nodes_via_short ) - count( $nodes_via_short [ self::wwp:person
| self::wwp:personGrp | self::wwp:alt ])"/>
<sch:let name="node_names"
value="string-join( for $p in ( $nodes_via_prefix, $nodes_via_short ) return
concat(' <', name($p), '>'), ', ')"/>
<sch:report test="count( $NOTs ) eq count( $TOKs )">No usable pointers in @<sch:value-of select="$att"/> of <<sch:value-of select="$gi"/>></sch:report>
<sch:report test="count( $NOTs ) gt 0 and count( $NOTs ) lt count( $TOKs )">At least one of the pointers in @<sch:value-of select="$att"/> of <<sch:value-of select="$gi"/>> is not processable as a pointer (problemetic value(s): "<sch:value-of select="$NOTs"/>").</sch:report>
<sch:report test="false()">
<sch:value-of select="concat('debug: ',count($TOKs), ' TOKs=', string-join( $TOKs,'^'),
'; ')"/>
<sch:value-of select="concat('debug: ',count($REFs), ' REFs=', string-join( $REFs,'^'),
'; ')"/>
<sch:value-of select="concat('debug: ',count($SHRTs),' SHRTs=',string-join( $SHRTs,'^'),
'; ')"/>
<sch:value-of select="concat('debug: ',count($NOTs), ' NOTs=', string-join( $NOTs,'^'),
'; ')"/>
<sch:value-of select="concat('debug: ',count($PREFs),' PREFs=',string-join( $PREFs,'^'),
'; ')"/>
<sch:value-of select="concat('debug: ',count($URLs), ' URLs=', string-join( $URLs,'^'),
'; ')"/>
<sch:value-of select="concat('debug: ',count($KEYs), ' KEYs=', string-join( $KEYs,'^'),
'; ')"/>
<sch:value-of select="concat('debug: ',count($TARs), ' TARs=', string-join( $TARs,'^'),
'; ')"/>
<sch:value-of select="concat('debug: ',count($PERSONs_via_prefix), ' PERSONs_via_prefix;
')"/>
<sch:value-of select="concat('debug: ',count($PERSONs_via_short), ' PERSONs_via_short=',
string-join( $PERSONs_via_short,'^'), '; ')"/>
<sch:value-of select="concat('debug: ',count($nodes_via_prefix), ' nodes_via_prefix; ')"/>
<sch:value-of select="concat('debug: ',count($nodes_via_short), ' nodes_via_short; ')"/>
<sch:value-of select="concat('debug: num_not_via_prefix=', $num_not_via_prefix, '; ')"/>
<sch:value-of select="concat('debug: num_not_via_short=', $num_not_via_short, '; ')"/>
<sch:value-of select="concat('debug: ',count($NOTs), ' NOTs=', string-join( $NOTs,'^'),
'; ')"/>
<sch:value-of select="'debug: counts of nodes ='"/>
<sch:value-of select="for $n in ( $nodes_via_prefix, $nodes_via_short ) return count( $n
)"/>
<sch:value-of select="'; '"/>
</sch:report>
<sch:report test="count( $nodes_via_prefix ) + count( $nodes_via_short ) eq 0">Each pointer in the <sch:value-of select="$att"/> attribute of <<sch:value-of select="$gi"/>> should point to a <person> (or <personGrp> or an <alt>), but the pointer(s) in this one ("<sch:value-of select="$val"/>") point to nothing</sch:report>
<sch:report test="$num_not_via_prefix + $num_not_via_short gt 0"> Each pointer in the <sch:value-of select="$att"/> attribute of <<sch:value-of select="$gi"/>>
should point to a <person> (or <personGrp> or an <alt>), but at least one of the pointers
in this one ("<sch:value-of select="$val"/>") does not.
<sch:value-of select="if ( $nodes_via_prefix | $nodes_via_short ) then concat(' Those that
point to elements point to:', $node_names, ' (not necessarily in that
order).') else ''"/>
</sch:report>
</sch:rule>
</sch:pattern> | ||||||||
| Content model |
<content>
<macroRef key="macro.phraseSeq"/>
</content>
⚓ | ||||||||
| Schema Declaration |
element persName
{
ws_att.global.attributes,
ws_att.cmc.attributes,
ws_att.datable.attributes,
ws_att.editLike.attributes,
ws_att.personal.attributes,
ws_att.typed.attribute.subtype,
attribute type
{
"properAdjective"
| "regularized"
| "titlePage"
| "person-female"
| "person"
| "person-male"
}?,
ws_macro.phraseSeq
}⚓ | ||||||||
| <placeName> (place name) contains an absolute or relative place name. [14.2.3. Place Names] | |||||||||
| Module | namesdates | ||||||||
| Attributes |
| ||||||||
| Member of | |||||||||
| Contained by | core: abbr add addrLine address author bibl biblScope citedRange corr date del desc distinct editor email emph expan foreign gloss head headItem headLabel hi item l label measure mentioned name num orig p pubPlace publisher quote ref reg resp rs said sic soCalled speaker stage term time title unclear derived-module-wwp-store: acrostic anagram docAuthorization docSale mcr regMe translator textstructure: closer dateline docDate docEdition docImprint docRole imprimatur opener respLine salute signed titlePart trailer | ||||||||
| May contain | core: abbr add address author cb choice corr date del distinct email emph expan foreign gap gloss graphic hi lb measure mentioned milestone name note num orig pb ptr quote ref reg rs said sic soCalled term time title unclear figures: figure gaiji: g header: idno msdescription: dimensions height width textstructure: floatingText transcr: addSpan am damageSpan delSpan ex handShift listTranspose metamark mod mw redo space subst substJoin supplied surplus undo character data | ||||||||
| Example | <placeName>
<settlement>Rochester</settlement>
<region>New York</region>
</placeName> | ||||||||
| Example | <placeName>
<geogName>Arrochar Alps</geogName>
<region>Argylshire</region>
</placeName> | ||||||||
| Example | <placeName>
<measure>10 miles</measure>
<offset>Northeast of</offset>
<settlement>Attica</settlement>
</placeName> | ||||||||
| Schematron |
<sch:pattern>
<sch:rule context="wwp:placeName[@ref][/wwp:TEI/wwp:teiHeader/wwp:encodingDesc/wwp:listPrefixDef]">
<sch:let name="path"
value="'https://www.wwp-test.neu.edu/wwo/texts/'"/>
<sch:let name="val"
value="normalize-space( @ref )"/>
<sch:let name="gi" value="local-name(.)"/>
<sch:let name="REFs"
value="tokenize( $val, ' ')"/>
<sch:let name="PREFs"
value="for $r in $REFs return substring-before( $r,':')"/>
<sch:let name="URLs"
value="for $p in $PREFs return concat( $path, substring-before( /wwp:TEI/wwp:teiHeader/wwp:encodingDesc/wwp:listPrefixDef//wwp:prefixDef[
@ident eq $p ]/@replacementPattern, '#' ) )"/>
<sch:let name="KEYs"
value="for $r in $REFs return substring-after( $r,':')"/>
<sch:let name="PLACEs"
value="for $k in $KEYs return if ( doc-available( $URLs[ index-of( $KEYs,
$k )] ) ) then if ( document( $URLs[ index-of( $KEYs, $k )] )//TEI:*[
@xml:id eq $k ] ) then document( $URLs[ index-of( $KEYs, $k )] )//TEI:*[
@xml:id eq $k ] else . else ."/>
<sch:report test="count( $REFs ) eq 0">Empty @ref of <placeName></sch:report>
<sch:report test="count( $PLACEs[ not( self::TEI:place ) ] ) gt 0">Each pointer in the @ref attribute of <placeName> should point to a <place>, but the pointers in this one ("<sch:value-of select="$val"/>") point to: <sch:value-of select="if ( not( $PLACEs ) ) then 'nowhere' else for $p in $PLACEs return
if ( $p is . ) then ' nothing' else concat(' <', name($p), '>')"/>.</sch:report>
</sch:rule>
</sch:pattern> | ||||||||
| Content model |
<content>
<macroRef key="macro.phraseSeq"/>
</content>
⚓ | ||||||||
| Schema Declaration |
element placeName
{
ws_att.global.attributes,
ws_att.cmc.attributes,
ws_att.datable.attributes,
ws_att.editLike.attributes,
ws_att.personal.attributes,
ws_att.typed.attribute.subtype,
attribute type { "properAdjective" }?,
ws_macro.phraseSeq
}⚓ | ||||||||
| <postscript> contains a postscript, e.g. to a letter. [4.2. Elements Common to All Divisions] | |
| Module | textstructure |
| Attributes |
|
| Member of | |
| Contained by | |
| May contain | core: add bibl biblStruct cb desc gap head l label lb lg list listBibl milestone note p pb quote ref said sp stage derived-module-wwp-store: advertisement elision unknown textstructure: closer floatingText opener respLine trailer transcr: addSpan damageSpan delSpan listTranspose metamark mw space substJoin |
| Example | <div type="letter">
<opener>
<dateline>
<placeName>Rimaone</placeName>
<date when="2006-11-21">21 Nov 06</date>
</dateline>
<salute>Dear Susan,</salute>
</opener>
<p>Thank you very much for the assistance splitting those
logs. I'm sorry about the misunderstanding as to the size of
the task. I really was not asking for help, only to borrow the
axe. Hope you had fun in any case.</p>
<closer>
<salute>Sincerely yours,</salute>
<signed>Seymour</signed>
</closer>
<postscript>
<label>P.S.</label>
<p>The collision occured on <date when="2001-07-06">06 Jul 01</date>.</p>
</postscript>
</div> |
| Content model |
<content>
<macroRef key="macro.noteContent"/>
</content>
⚓ |
| Schema Declaration |
element postscript
{
ws_att.declaring.attributes,
ws_att.global.attributes,
ws_att.cmc.attributes,
ws_att.written.attributes,
ws_macro.noteContent
}⚓ |
| <prefixDef> (prefix definition) defines a prefixing scheme used in teidata.pointer values, showing how abbreviated URIs using the scheme may be expanded into full URIs. [17.2.3. Using Abbreviated Pointers] | |||||||||
| Module | header | ||||||||
| Attributes |
| ||||||||
| 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
{
ws_att.global.attributes,
ws_att.patternReplacement.attributes,
attribute ident { text },
ws_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 |
| Attributes |
|
| Member of | |
| Contained by | header: teiHeader |
| May contain | derived-module-wwp-store: include header: calendarDesc langUsage textClass transcr: handNotes listTranspose |
| 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 { ws_att.global.attributes, ws_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 16.3.2. Declarable Elements] | |
| Module | header |
| Attributes |
|
| Member of | |
| Contained by | header: encodingDesc textstructure: body |
| 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
{
ws_att.global.attributes,
ws_att.declarable.attributes,
ws_model.pLike+
}⚓ |
| <ptr> (pointer) defines a pointer to another location. [3.7. Simple Links and Cross-References 17.1. Links] | |||||||||
| Module | core | ||||||||
| Attributes |
| ||||||||
| Member of | |||||||||
| Contained by | core: abbr add addrLine analytic author bibl biblScope biblStruct citedRange corr date del desc distinct editor email emph expan foreign gloss head headItem headLabel hi item l label measure mentioned monogr name num orig p pubPlace publisher quote ref reg resp rs said series sic soCalled speaker stage term time title unclear derived-module-wwp-store: acrostic anagram docAuthorization docSale mcr regMe translator textstructure: closer dateline docDate docEdition docImprint docRole imprimatur opener respLine salute signed titlePart trailer | ||||||||
| May contain | Empty element | ||||||||
| Note | The target and cRef attributes are mutually exclusive. | ||||||||
| Example | <ptr target="#p143 #p144"/>
<ptr target="http://www.tei-c.org"/>
<ptr cRef="1.3.4"/> | ||||||||
| Schematron |
<sch:rule context="tei:ptr">
<sch:report test="@target and @cRef">Only one of the attributes @target and @cRef may be supplied on <sch:name/>.</sch:report>
</sch:rule> | ||||||||
| Content model |
<content>
<empty/>
</content>
⚓ | ||||||||
| Schema Declaration |
element ptr
{
ws_att.global.attributes,
ws_att.cmc.attributes,
ws_att.declaring.attributes,
ws_att.internetMedia.attributes,
ws_att.pointing.attributes,
ws_att.typed.attribute.subtype,
attribute type { "correction" | "div" | "error" | "pageNum" | "pageRange" }?,
empty
}⚓ | ||||||||
| <pubPlace> (publication place) contains the name of the place where a bibliographic item was published. [3.12.2.4. Imprint, Size of a Document, and Reprint Information] | |
| Module | core |
| Attributes |
|
| Member of | |
| Contained by | |
| May contain | core: abbr add address author cb choice corr date del distinct email emph expan foreign gap gloss graphic hi lb measure mentioned milestone name note num orig pb ptr quote ref reg rs said sic soCalled term time title unclear figures: figure gaiji: g header: idno msdescription: dimensions height width textstructure: floatingText transcr: addSpan am damageSpan delSpan ex handShift listTranspose metamark mod mw redo space subst substJoin supplied surplus undo character data |
| Example | <publicationStmt>
<publisher>Oxford University Press</publisher>
<pubPlace>Oxford</pubPlace>
<date>1989</date>
</publicationStmt> |
| Content model |
<content>
<alternate minOccurs="0"
maxOccurs="unbounded">
<macroRef key="macro.phraseSeq"/>
<elementRef key="country"/>
<elementRef key="region"/>
<elementRef key="settlement"/>
</alternate>
</content>
⚓ |
| Schema Declaration |
element pubPlace
{
ws_att.global.attributes,
ws_att.naming.attributes,
( ws_macro.phraseSeq | ws_country | ws_region | ws_settlement )*
}⚓ |
| <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 |
| Attributes |
|
| Contained by | header: fileDesc |
| May contain | |
| Note | Where a publication statement contains several members of the model.publicationStmtPart.agency or model.publicationStmtPart.detail classes rather than one or more paragraphs or anonymous blocks, care should be taken to ensure that the repeated elements are presented in a meaningful order. It is a conformance requirement that elements supplying information about publication place, address, identifier, availability, and date be given following the name of the publisher, distributor, or authority concerned, and preferably in that order. |
| 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> |
| Content model |
<content>
<alternate>
<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
{
ws_att.global.attributes,
(
(
(
ws_model.publicationStmtPart.agency,
ws_model.publicationStmtPart.detail*
)+
)
| ws_model.pLike+
)
}⚓ |
| <publisher> (publisher) provides the name of the organization responsible for the publication or distribution of a bibliographic item. [3.12.2.4. Imprint, Size of a Document, and Reprint Information 2.2.4. Publication, Distribution, Licensing, etc.] | |
| Module | core |
| Attributes |
|
| Member of | |
| Contained by | |
| May contain | core: abbr add address author cb choice corr date del distinct email emph expan foreign gap gloss graphic hi lb measure mentioned milestone name note num orig pb ptr quote ref reg rs said sic soCalled term time title unclear figures: figure gaiji: g header: idno msdescription: dimensions height width textstructure: floatingText transcr: addSpan am damageSpan delSpan ex handShift listTranspose metamark mod mw redo space subst substJoin supplied surplus undo character data |
| 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
{
ws_att.global.attributes,
ws_att.canonical.attributes,
ws_macro.phraseSeq
}⚓ |
| <quotation> (quotation) specifies editorial practice adopted with respect to quotation marks in the original. [2.3.3. The Editorial Practices Declaration 16.3.2. Declarable Elements] | |||||||||
| Module | header | ||||||||
| Attributes |
| ||||||||
| Member of | |||||||||
| 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 |
<sch:rule context="tei:quotation">
<sch:report test="not( @marks ) and not( tei:p )"> On <sch:name/>, either the @marks attribute should be used, or a paragraph of description provided
</sch:report>
</sch:rule> | ||||||||
| Content model |
<content>
<classRef key="model.pLike" minOccurs="0"
maxOccurs="unbounded"/>
</content>
⚓ | ||||||||
| Schema Declaration |
element quotation
{
ws_att.global.attributes,
ws_att.declarable.attributes,
attribute marks { "none" | "some" | "all" }?,
ws_model.pLike*
}⚓ | ||||||||
| <quote> (quotation) contains a phrase or passage attributed by the narrator or author to some agency external to the text. [3.3.3. Quotation 4.3.1. Grouped Texts] | |||||||||||||||||||
| Module | core | ||||||||||||||||||
| Attributes |
| ||||||||||||||||||
| Member of | |||||||||||||||||||
| Contained by | core: abbr add addrLine author bibl biblScope citedRange corr del desc distinct editor email emph expan foreign gloss head headItem headLabel hi item l label lg measure mentioned name note num orig p pubPlace publisher quote ref reg rs said sic soCalled sp speaker stage term title unclear derived-module-wwp-store: acrostic advertisement anagram docAuthorization docSale mcr regMe translator textstructure: argument body div docDate docEdition docRole epigraph imprimatur postscript salute signed titlePart trailer | ||||||||||||||||||
| May contain | core: abbr add address author bibl biblStruct cb choice corr date del desc distinct email emph expan foreign gap gloss graphic hi l label lb lg list listBibl measure mentioned milestone name note num orig p pb ptr quote ref reg rs said sic soCalled sp stage term time title unclear gaiji: g header: idno msdescription: dimensions height width textstructure: floatingText transcr: addSpan am damageSpan delSpan ex handShift listTranspose metamark mod mw redo space subst substJoin supplied surplus undo character data | ||||||||||||||||||
| Note | If a bibliographic citation is supplied for the source of a quotation, the two may be grouped using the <cit> element. | ||||||||||||||||||
| Example | Lexicography has shown little sign of being affected by the
work of followers of J.R. Firth, probably best summarized in his
slogan, <quote>You shall know a word by the company it
keeps</quote>
<ref>(Firth, 1957)</ref> | ||||||||||||||||||
| Schematron |
<sch:pattern>
<sch:rule context="wwp:quote[ starts-with( @cit,'#' ) ]">
<sch:assert test="//wwp:bibl[ @xml:id eq substring-after( current()/@cit,'#' ) ]">cit= attribute of <<sch:name/>> does not point to a <bibl>.</sch:assert>
</sch:rule>
<sch:rule context="wwp:quote[ contains(@cit,'#') ]">
<sch:assert test="document( substring-before( @cit,'#') )//wwp:bibl[ @xml:id = substring-after(
current()/@cit,'#') ]">cit= attribute of <<sch:name/>> does not point to a <bibl>.</sch:assert>
</sch:rule>
<sch:rule context="wwp:quote[ @cit ]">
<sch:report test="not( contains( @cit,'#') )">cit= attribute of <<sch:name/>> must point to particular <bibl> element via its xml:id=</sch:report>
</sch:rule>
</sch:pattern> | ||||||||||||||||||
| Content model |
<content>
<classRef key="macro.specialPara"/>
</content>
⚓ | ||||||||||||||||||
| Schema Declaration |
element quote
{
ws_att.global.attributes,
ws_att.cmc.attributes,
ws_att.msExcerpt.attributes,
ws_att.notated.attributes,
ws_att.typed.attribute.subtype,
attribute type { "adaptation" | "parody" | "remix" | "undetermined" }?,
attribute cit { list { + } }?,
ws_macro.specialPara
}⚓ | ||||||||||||||||||
| <redo> indicates one or more cancelled interventions in a document which have subsequently been marked as reaffirmed or repeated. [12.3.4.4. Confirmation, Cancellation, and Reinstatement of Modifications] | |||||||
| Module | transcr | ||||||
| Attributes |
| ||||||
| Member of | |||||||
| Contained by | core: abbr add addrLine author bibl biblScope citedRange corr date del distinct editor email emph expan foreign gloss head headItem headLabel hi item l label measure mentioned name num orig p pubPlace publisher quote ref reg rs said sic soCalled speaker stage term time title unclear derived-module-wwp-store: acrostic anagram docAuthorization docSale mcr regMe translator figures: cell textstructure: closer dateline docDate docEdition docImprint docRole imprimatur opener respLine salute signed titlePart trailer | ||||||
| May contain | Empty element | ||||||
| Example | <line>
<redo hand="#g_t" target="#redo-1"
cause="fix"/>
<mod xml:id="redo-1" rend="strikethrough"
spanTo="#anchor-1" hand="#g_bl"/>Ihr hagren, triſten, krummgezog<mod rend="strikethrough">nen</mod>ener Nacken
</line>
<line>Wenn ihr nur piepſet iſt die Welt ſchon matt.<anchor xml:id="anchor-1"/>
</line> This encoding represents the following sequence of events:
| ||||||
| Content model |
<content>
<empty/>
</content>
⚓ | ||||||
| Schema Declaration |
element redo
{
ws_att.global.attributes,
ws_att.dimensions.attributes,
ws_att.spanning.attributes,
ws_att.transcriptional.attributes,
attribute target { list { + } }?,
empty
}⚓ | ||||||
| <ref> (reference) defines a reference to another location, possibly modified by additional text or comment. [3.7. Simple Links and Cross-References 17.1. Links] | |||||||||
| Module | core | ||||||||
| Attributes |
| ||||||||
| Member of | |||||||||
| Contained by | core: abbr add addrLine analytic author bibl biblScope biblStruct citedRange corr date del desc distinct editor email emph expan foreign gloss head headItem headLabel hi item l label measure mentioned monogr name note num orig p pubPlace publisher quote ref reg resp rs said series sic soCalled speaker stage term time title unclear derived-module-wwp-store: acrostic anagram docAuthorization docSale mcr regMe translator textstructure: closer dateline docDate docEdition docImprint docRole imprimatur opener postscript respLine salute signed titlePart trailer | ||||||||
| May contain | core: abbr add address author bibl biblStruct cb choice corr date del desc distinct email emph expan foreign gap gloss graphic hi l label lb lg list listBibl measure mentioned milestone name note num orig pb ptr quote ref reg rs said sic soCalled stage term time title unclear drama: castList gaiji: g header: idno msdescription: dimensions height width textstructure: floatingText transcr: addSpan am damageSpan delSpan ex handShift listTranspose metamark mod mw redo space subst substJoin supplied surplus undo character data | ||||||||
| 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 |
<sch:rule context="tei:ref">
<sch:report test="@target and @cRef">Only one of the attributes @target and @cRef may be supplied on <sch:name/>.</sch:report>
</sch:rule> | ||||||||
| Content model |
<content>
<macroRef key="macro.paraContent"/>
</content>
⚓ | ||||||||
| Schema Declaration |
element ref
{
ws_att.global.attributes,
ws_att.cmc.attributes,
ws_att.declaring.attributes,
ws_att.internetMedia.attributes,
ws_att.pointing.attributes,
ws_att.typed.attribute.subtype,
attribute type
{
"correction" | "div" | "error" | "pageNum" | "pageRange" | "goTo"
}?,
ws_macro.paraContent
}⚓ | ||||||||
| <reg> (regularization) contains a reading which has been regularized or normalized in some sense. [3.5.2. Regularization and Normalization 13. Critical Apparatus] | |
| Module | core |
| Attributes |
|
| Member of | |
| Contained by | core: abbr add addrLine author bibl biblScope choice citedRange corr date del distinct editor email emph expan foreign gloss head headItem headLabel hi item l label measure mentioned name num orig p pubPlace publisher quote ref reg rs said sic soCalled speaker stage term time title unclear derived-module-wwp-store: acrostic anagram docAuthorization docSale mcr regMe translator figures: cell textstructure: closer dateline docDate docEdition docImprint docRole imprimatur opener respLine salute signed titlePart trailer |
| May contain | core: abbr add address author bibl biblStruct cb choice corr date del desc distinct email emph expan foreign gap gloss graphic hi l label lb lg list listBibl measure mentioned milestone name note num orig pb ptr quote ref reg rs said sic soCalled stage term time title unclear drama: castList gaiji: g header: idno msdescription: dimensions height width textstructure: floatingText transcr: addSpan am damageSpan delSpan ex handShift listTranspose metamark mod mw redo space subst substJoin supplied surplus undo character data |
| Example | If all that is desired is to call attention to the fact that the copy text has been regularized, <reg> may be used alone: <q>Please <reg>knock</reg> if an <reg>answer</reg> is <reg>required</reg>
</q> |
| Example | It is also possible to identify the individual responsible for the regularization, and, using the <choice> and <orig> elements, to provide both the original and regularized readings: <q>Please <choice>
<reg resp="#LB">knock</reg>
<orig>cnk</orig>
</choice> if an <choice>
<reg>answer</reg>
<orig>nsr</orig>
</choice> is <choice>
<reg>required</reg>
<orig>reqd</orig>
</choice>
</q> |
| Content model |
<content>
<macroRef key="macro.paraContent"/>
</content>
⚓ |
| Schema Declaration |
element reg
{
ws_att.global.attributes,
ws_att.cmc.attributes,
ws_att.editLike.attributes,
ws_att.typed.attributes,
ws_macro.paraContent
}⚓ |
| <regMe> (regularize me) Canonical abbreviation, citation, or reference flagged for automated regularization. | |
| Module | derived-module-wwp-store |
| Attributes |
|
| Member of | |
| Contained by | core: abbr add addrLine author bibl biblScope citedRange corr date del distinct editor email emph expan foreign gloss head headItem headLabel hi item l label measure mentioned name num orig p pubPlace publisher quote ref reg rs said sic soCalled speaker stage term time title unclear derived-module-wwp-store: acrostic anagram docAuthorization docSale mcr regMe translator figures: cell textstructure: closer dateline docDate docEdition docImprint docRole imprimatur opener respLine salute signed titlePart trailer |
| May contain | core: abbr add address author cb choice corr date del distinct email emph expan foreign gap gloss graphic hi lb measure mentioned milestone name note num orig pb ptr quote ref reg rs said sic soCalled term time title unclear figures: figure gaiji: g header: idno msdescription: dimensions height width textstructure: floatingText transcr: addSpan am damageSpan delSpan ex handShift listTranspose metamark mod mw redo space subst substJoin supplied surplus undo character data |
| Note | Used as a temporary replacement for a <choice> element with the content of this <regMe> as the content of a child <reg>, with an automatically created sibling <orig>. |
| Content model |
<content>
<macroRef key="macro.phraseSeq"/>
</content>
⚓ |
| Schema Declaration |
element regMe
{
ws_att.global.attributes,
ws_att.canonical.attributes,
ws_macro.phraseSeq
}⚓ |
| <region> (region) contains the name of an administrative unit such as a state, province, or county, larger than a settlement, but smaller than a country. [14.2.3. Place Names] | |
| Module | namesdates |
| Contained by | core: pubPlace |
| May contain | core: abbr add address author cb choice corr date del distinct email emph expan foreign gap gloss graphic hi lb measure mentioned milestone name note num orig pb ptr quote ref reg rs said sic soCalled term time title unclear figures: figure gaiji: g header: idno msdescription: dimensions height width textstructure: floatingText transcr: addSpan am damageSpan delSpan ex handShift listTranspose metamark mod mw redo space subst substJoin supplied surplus undo character data |
| Note | At the WWP, <region> (and <country> and <settlement>) are only used as a child of <pubPlace>. |
| Example | <placeName>
<region type="state" n="IL">Illinois</region>
</placeName> |
| Content model |
<content>
<macroRef key="macro.phraseSeq"/>
</content>
⚓ |
| Schema Declaration |
element region { ws_macro.phraseSeq }⚓ |
| <rendition> (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 | ||||||||||||||||||||||
| Attributes |
| ||||||||||||||||||||||
| Contained by | header: tagsDecl | ||||||||||||||||||||||
| May contain | gaiji: g character data | ||||||||||||||||||||||
| Note | Note that vanilla TEI does not permit the <g> element in the content of <rendition>, but we do here at the WWP, as we have a lot of non-Unicode characters in pre() or post(). Note that the language used in selector is not CSS, but rather is wwp. The difference is that the WWP language has three additional psuedo-classes:
At the moment we only use these pseudo-classes with the selector for the element type <mw>. | ||||||||||||||||||||||
| 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> | ||||||||||||||||||||||
| Schematron |
<sch:rule context="wwp:rendition">
<sch:let name="myIDref"
value="concat('#', normalize-space( @xml:id ) )"/>
<sch:assert test="@selector or ( @xml:id and /wwp:TEI/wwp:text//@rendition[ $myIDref
= tokenize( normalize-space( . ),' ') ] ) ">default <gi>rendition</gi> #<sch:value-of select="(@xml:id, count( preceding::wwp:rendition )+1 )[1]"/> is not the default for anything (no <att>selector</att> and not pointed to by any <att>rendition</att>)</sch:assert>
</sch:rule> | ||||||||||||||||||||||
| Content model |
<content>
<macroRef key="macro.xtext"/>
</content>
⚓ | ||||||||||||||||||||||
| Schema Declaration |
element rendition
{
ws_att.global.attributes,
ws_att.styleDef.attribute.schemeVersion,
attribute scheme { "css" | "xslfo" | "free" | "other" | "wwp" }?,
attribute selector { text }?,
ws_macro.xtext
}⚓ | ||||||||||||||||||||||
| <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.12.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 | ||||||||
| Attributes |
| ||||||||
| Contained by | core: respStmt | ||||||||
| May contain | core: abbr add address cb choice date distinct email emph expan foreign gap gloss hi lb measure mentioned milestone name note num pb ptr ref rs soCalled term time title derived-module-wwp-store: advertisement elision mcr unknown figures: figure header: idno msdescription: dimensions height width character data | ||||||||
| 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
{
ws_att.global.attributes,
ws_att.canonical.attributes,
ws_att.datable.attributes,
attribute type
{
"author" | "author-secondary" | "bookseller" | "printer" | "translator"
}?,
ws_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.12.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 |
| Attributes |
|
| Member of | |
| Contained by | derived-module-wwp-store: advertisement header: editionStmt 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>
<classRef key="model.nameLike.agent"/>
<alternate minOccurs="1" maxOccurs="1">
<elementRef key="resp" minOccurs="1"
maxOccurs="unbounded"/>
<sequence minOccurs="1" maxOccurs="1">
<classRef key="model.nameLike.agent"
minOccurs="1" maxOccurs="unbounded"/>
<elementRef key="resp"/>
</sequence>
</alternate>
</content>
⚓ |
| Schema Declaration |
element respStmt
{
ws_att.global.attributes,
ws_att.canonical.attributes,
ws_model.nameLike.agent,
( ws_resp+ | ( ws_model.nameLike.agent+, ws_resp ) )
}⚓ |
| <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 |
| Attributes |
|
| 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" minOccurs="1"
maxOccurs="unbounded"/>
<elementRef key="listChange"
minOccurs="1" maxOccurs="unbounded"/>
<elementRef key="change" minOccurs="1"
maxOccurs="unbounded"/>
</alternate>
</content>
⚓ |
| Schema Declaration |
element revisionDesc
{
ws_att.global.attributes,
ws_att.docStatus.attributes,
( ws_list+ | listChange+ | ws_change+ )
}⚓ |
| <role> (role) contains the name of a dramatic role, as given in a cast list. [7.1.4. Cast Lists] | |||||||||
| Module | drama | ||||||||
| Attributes |
| ||||||||
| Member of | |||||||||
| Contained by | drama: castItem | ||||||||
| May contain | core: abbr add address author cb choice corr date del distinct email emph expan foreign gap gloss graphic hi lb measure mentioned milestone name note num orig pb ptr quote ref reg rs said sic soCalled term time title unclear figures: figure gaiji: g header: idno msdescription: dimensions height width textstructure: floatingText transcr: addSpan am damageSpan delSpan ex handShift listTranspose metamark mod mw redo space subst substJoin supplied surplus undo character data | ||||||||
| Note | It is important to assign a meaningful ID attribute to the <role> element, since this ID is referred to by who attributes on many other elements. | ||||||||
| Example | <role xml:id="jt">Joan Trash</role>
<roleDesc>A Ginger-bread-woman</roleDesc> | ||||||||
| Content model |
<content>
<macroRef key="macro.phraseSeq"/>
</content>
⚓ | ||||||||
| Schema Declaration |
element role
{
ws_att.global.attributes,
attribute gender { text }?,
ws_macro.phraseSeq
}⚓ | ||||||||
| <roleDesc> (role description) describes a character's role in a drama. [7.1.4. Cast Lists] | |
| Module | drama |
| Attributes |
|
| Member of | |
| Contained by | |
| May contain | core: abbr add address author cb choice corr date del distinct email emph expan foreign gap gloss graphic hi lb measure mentioned milestone name note num orig pb ptr quote ref reg rs said sic soCalled term time title unclear figures: figure gaiji: g header: idno msdescription: dimensions height width textstructure: floatingText transcr: addSpan am damageSpan delSpan ex handShift listTranspose metamark mod mw redo space subst substJoin supplied surplus undo character data |
| Example | <roleDesc>gentlemen of leisure</roleDesc> |
| Content model |
<content>
<macroRef key="macro.phraseSeq"/>
</content>
⚓ |
| Schema Declaration |
element roleDesc { ws_att.global.attributes, ws_macro.phraseSeq }⚓ |
| <row> (row) contains one row of a table. [15.1.1. TEI Tables] | |
| Module | figures |
| Attributes |
|
| Contained by | figures: table |
| May contain | figures: cell |
| Example | <row role="data">
<cell role="label">Classics</cell>
<cell>Idle listless and unimproving</cell>
</row> |
| Content model |
<content>
<elementRef key="cell" minOccurs="1"
maxOccurs="unbounded"/>
</content>
⚓ |
| Schema Declaration |
element row
{
ws_att.global.attributes,
ws_att.tableDecoration.attributes,
ws_cell+
}⚓ |
| <rs> (referencing string) contains a general purpose name or referring string. [14.2.1. Personal Names 3.6.1. Referring Strings] | |||||||||
| Module | core | ||||||||
| Attributes |
| ||||||||
| Member of | |||||||||
| Contained by | core: abbr add addrLine address author bibl biblScope citedRange corr date del desc distinct editor email emph expan foreign gloss head headItem headLabel hi item l label measure mentioned name num orig p pubPlace publisher quote ref reg resp rs said sic soCalled speaker stage term time title unclear derived-module-wwp-store: acrostic anagram docAuthorization docSale mcr regMe translator textstructure: closer dateline docDate docEdition docImprint docRole imprimatur opener respLine salute signed titlePart trailer | ||||||||
| May contain | core: abbr add address author cb choice corr date del distinct email emph expan foreign gap gloss graphic hi lb measure mentioned milestone name note num orig pb ptr quote ref reg rs said sic soCalled term time title unclear figures: figure gaiji: g header: idno msdescription: dimensions height width textstructure: floatingText transcr: addSpan am damageSpan delSpan ex handShift listTranspose metamark mod mw redo space subst substJoin supplied surplus undo character data | ||||||||
| Example | <q>My dear <rs type="person">Mr. Bennet</rs>, </q> said <rs type="person">his lady</rs>
to him one day,
<q>have you heard that <rs type="place">Netherfield Park</rs> is let at
last?</q> | ||||||||
| Content model |
<content>
<macroRef key="macro.phraseSeq"/>
</content>
⚓ | ||||||||
| Schema Declaration |
element rs
{
ws_att.global.attributes,
ws_att.cmc.attributes,
ws_att.naming.attributes,
ws_att.typed.attribute.subtype,
attribute type
{
"collectivity"
| "place"
| "properAdjective"
| "source"
| "title"
| "ufo"
| "verb"
},
ws_macro.phraseSeq
}⚓ | ||||||||
| <said> (speech or thought) indicates passages thought or spoken aloud, whether explicitly indicated in the source or not, whether directly or indirectly reported, whether by real people or fictional characters. [3.3.3. Quotation] | |||||||||||||||||||||||
| Module | core | ||||||||||||||||||||||
| Attributes |
| ||||||||||||||||||||||
| Member of | |||||||||||||||||||||||
| Contained by | core: abbr add addrLine author biblScope citedRange corr del desc distinct editor email emph expan foreign gloss head headItem headLabel hi item l label lg measure mentioned name note num orig p pubPlace publisher quote ref reg rs said sic soCalled sp speaker stage term title unclear derived-module-wwp-store: acrostic advertisement anagram docAuthorization docSale mcr regMe translator textstructure: argument body div docDate docEdition docRole epigraph imprimatur postscript salute signed titlePart trailer | ||||||||||||||||||||||
| May contain | core: abbr add address author bibl biblStruct cb choice corr date del desc distinct email emph expan foreign gap gloss graphic hi l label lb lg list listBibl measure mentioned milestone name note num orig p pb ptr quote ref reg rs said sic soCalled sp stage term time title unclear gaiji: g header: idno msdescription: dimensions height width textstructure: floatingText transcr: addSpan am damageSpan delSpan ex handShift listTranspose metamark mod mw redo space subst substJoin supplied surplus undo character data | ||||||||||||||||||||||
| Example |
<!-- in the header --><editorialDecl>
<quotation marks="all"/>
</editorialDecl>
<!-- ... -->
<p>
<said>"Our minstrel here will warm the old man's heart with song, dazzle him with jewels and
gold"</said>, a troublemaker simpered. <said>"He'll trample on the Duke's camellias, spill
his wine, and blunt his sword, and say his name begins with X, and in the end the Duke
will say, <said>'Take Saralinda, with my blessing, O lordly Prince of Rags and Tags, O
rider of the sun!'</said>"</said>
</p> | ||||||||||||||||||||||
| Example | <p>
<said aloud="true" rend="pre(“) post(”)">Hmmm</said>, said a small voice in his ear.
<said aloud="true" rend="pre(“) post(”)">Difficult. Very difficult. Plenty of courage, I see.
Not a bad mind either. there's talent, oh my goodness, yes — and a nice thirst to prove
yourself, now that's interesting. … So where shall I put you?</said>
</p>
<p>Harry gripped the edges of the stool and thought, <said aloud="false" rend="italic">Not
Slytherin, not Slytherin</said>.</p> | ||||||||||||||||||||||
| Content model |
<content>
<macroRef key="macro.specialPara"/>
</content>
⚓ | ||||||||||||||||||||||
| Schema Declaration |
element said
{
ws_att.global.attributes,
ws_att.ascribed.directed.attributes,
ws_att.cmc.attributes,
attribute aloud { text }?,
attribute direct { text }?,
ws_macro.specialPara
}⚓ | ||||||||||||||||||||||
| <salute> (salutation) contains a salutation or greeting prefixed to a foreword, dedicatory epistle, or other division of a text, or the salutation in the closing of a letter, preface, etc. [4.2.2. Openers and Closers] | |
| Module | textstructure |
| Attributes |
|
| Contained by | |
| May contain | core: abbr add address author bibl biblStruct cb choice corr date del desc distinct email emph expan foreign gap gloss graphic hi l label lb lg list listBibl measure mentioned milestone name note num orig pb ptr quote ref reg rs said sic soCalled stage term time title unclear drama: castList gaiji: g header: idno msdescription: dimensions height width textstructure: floatingText transcr: addSpan am damageSpan delSpan ex handShift listTranspose metamark mod mw redo space subst substJoin supplied surplus undo character data |
| Example | <salute>To all courteous mindes, that will voutchsafe the readinge.</salute> |
| Content model |
<content>
<macroRef key="macro.paraContent"/>
</content>
⚓ |
| Schema Declaration |
element salute
{
ws_att.global.attributes,
ws_att.cmc.attributes,
ws_att.written.attributes,
ws_macro.paraContent
}⚓ |
| <samplingDecl> (sampling declaration) contains a prose description of the rationale and methods used in selecting texts, or parts of a text, for inclusion in the resource. [2.3.2. The Sampling Declaration 2.3. The Encoding Description 16.3.2. Declarable Elements] | |
| Module | header |
| Attributes |
|
| Member of | |
| 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
{
ws_att.global.attributes,
ws_att.declarable.attributes,
ws_model.pLike+
}⚓ |
| <seg> (arbitrary segment) represents any segmentation of text below the ‘chunk’ level. [17.3. Blocks, Segments, and Anchors 6.2. Components of the Verse Line 7.2.5. Speech Contents] | |
| Module | linking |
| Attributes |
|
| Member of | |
| Contained by | core: abbr add addrLine author bibl biblScope citedRange corr date del distinct editor email emph expan foreign gloss head headItem headLabel hi item l label measure mentioned name note num orig p pubPlace publisher quote ref reg rs said sic soCalled speaker stage term time title unclear derived-module-wwp-store: acrostic anagram docAuthorization docSale mcr regMe translator figures: cell textstructure: closer dateline docDate docEdition docImprint docRole imprimatur opener postscript respLine salute signed titlePart trailer |
| May contain | core: abbr add address author bibl biblStruct cb choice corr date del desc distinct email emph expan foreign gap gloss graphic hi l label lb lg list listBibl measure mentioned milestone name note num orig pb ptr quote ref reg rs said sic soCalled stage term time title unclear drama: castList gaiji: g header: idno msdescription: dimensions height width textstructure: floatingText transcr: addSpan am damageSpan delSpan ex handShift listTranspose metamark mod mw redo space subst substJoin supplied surplus undo character data |
| Note | The <seg> element may be used at the encoder's discretion to mark any segments of the text of interest for processing. One use of the element is to mark text features for which no appropriate markup is otherwise defined. Another use is to provide an identifier for some segment which is to be pointed at by some other element—i.e. to provide a target, or a part of a target, for a <ptr> or other similar element. |
| Example | <seg>When are you leaving?</seg>
<seg>Tomorrow.</seg> |
| Example | <s>
<seg rend="caps" type="initial-cap">So father's only</seg> glory was the ballfield.
</s> |
| Example | <seg type="preamble">
<seg>Sigmund, <seg type="patronym">the son of Volsung</seg>, was a king in Frankish country.</seg>
<seg>Sinfiotli was the eldest of his sons ...</seg>
<seg>Borghild, Sigmund's wife, had a brother ... </seg>
</seg> |
| Content model |
<content>
<macroRef key="macro.paraContent"/>
</content>
⚓ |
| Schema Declaration |
element seg
{
ws_att.global.attributes,
ws_att.cmc.attributes,
ws_att.notated.attributes,
ws_att.segLike.attributes,
ws_att.typed.attributes,
ws_att.written.attributes,
ws_macro.paraContent
}⚓ |
| <series> (series information) contains information about the series in which a book or other bibliographic item has appeared. [3.12.2.1. Analytic, Monographic, and Series Levels] | |
| Module | core |
| Attributes |
|
| Member of | |
| Contained by | core: bibl biblStruct derived-module-wwp-store: advertisement |
| 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
{
ws_att.global.attributes,
(
text
| ws_model.gLike
| ws_title
| ws_model.ptrLike
| ws_editor
| ws_respStmt
| ws_biblScope
| ws_idno
| textLang
| ws_model.global
| ws_availability
)*
}⚓ |
| <set> (setting) contains a description of the setting, time, locale, appearance, etc., of the action of a play, typically found in the front matter of a printed performance text (not a stage direction). [7.1. Front and Back Matter ] | |
| Module | drama |
| Attributes |
|
| Member of | |
| Contained by | |
| May contain | |
| Note | Contains paragraphs or phrase level tags. This element should not be used outside the front or back matter; for similar contextual descriptions within the body of the text, use the <stage> element. |
| Example | <set>
<p>The action takes place on February 7th between the hours of noon and six in the
afternoon, close to the Trenartha Tin Plate Works, on the borders of England and Wales,
where a strike has been in progress throughout the winter.</p>
</set> |
| Example | <set>
<head>SCENE</head>
<p>A Sub-Post Office on a late autumn evening</p>
</set> |
| Example | <front>
<!-- <titlePage>, <div type="Dedication">, etc. -->
<set>
<list type="gloss">
<label>TIME</label>
<item>1907</item>
<label>PLACE</label>
<item>East Coast village in England</item>
</list>
</set>
</front> |
| Content model |
<content>
<sequence>
<alternate minOccurs="0"
maxOccurs="unbounded">
<classRef key="model.headLike"/>
<classRef key="model.global"/>
</alternate>
<sequence minOccurs="0"
maxOccurs="unbounded">
<classRef key="model.common"/>
<classRef key="model.global"
minOccurs="0" maxOccurs="unbounded"/>
</sequence>
</sequence>
</content>
⚓ |
| Schema Declaration |
element set
{
ws_att.global.attributes,
(
( ws_model.headLike | ws_model.global )*,
( ( ws_model.common, ws_model.global* )* )
)
}⚓ |
| <settlement> (settlement) contains the name of a settlement such as a city, town, or village identified as a single geo-political or administrative unit. [14.2.3. Place Names] | |
| Module | namesdates |
| Contained by | core: pubPlace |
| May contain | core: abbr add address author cb choice corr date del distinct email emph expan foreign gap gloss graphic hi lb measure mentioned milestone name note num orig pb ptr quote ref reg rs said sic soCalled term time title unclear figures: figure gaiji: g header: idno msdescription: dimensions height width textstructure: floatingText transcr: addSpan am damageSpan delSpan ex handShift listTranspose metamark mod mw redo space subst substJoin supplied surplus undo character data |
| Note | At the WWP, <settlement> (and <country> and <region>) are only used as a child of <pubPlace>. |
| Example | <placeName>
<settlement type="town">Glasgow</settlement>
<region>Scotland</region>
</placeName> |
| Content model |
<content>
<macroRef key="macro.phraseSeq"/>
</content>
⚓ |
| Schema Declaration |
element settlement { ws_macro.phraseSeq }⚓ |
| <sic> (Latin for thus or so) contains text reproduced although apparently incorrect or inaccurate. [3.5.1. Apparent Errors] | |
| Module | core |
| Attributes |
|
| Member of | |
| Contained by | core: abbr add addrLine author bibl biblScope choice citedRange corr date del distinct editor email emph expan foreign gloss head headItem headLabel hi item l label measure mentioned name num orig p pubPlace publisher quote ref reg rs said sic soCalled speaker stage term time title unclear derived-module-wwp-store: acrostic anagram docAuthorization docSale mcr regMe translator figures: cell textstructure: closer dateline docDate docEdition docImprint docRole imprimatur opener respLine salute signed titlePart trailer |
| May contain | core: abbr add address author bibl biblStruct cb choice corr date del desc distinct email emph expan foreign gap gloss graphic hi l label lb lg list listBibl measure mentioned milestone name note num orig pb ptr quote ref reg rs said sic soCalled stage term time title unclear drama: castList gaiji: g header: idno msdescription: dimensions height width textstructure: floatingText transcr: addSpan am damageSpan delSpan ex handShift listTranspose metamark mod mw redo space subst substJoin supplied surplus undo character data |
| Example | for his nose was as sharp as
a pen, and <sic>a Table</sic> of green fields. |
| Example | If all that is desired is to call attention to the apparent problem in the copy text, <sic> may be used alone: I don't know, Juan. It's so far in the past now
— how <sic>we can</sic> prove or disprove anyone's theories? |
| Example | It is also possible, using the <choice> and <corr> elements, to provide a corrected reading: I don't know, Juan. It's so far in the past now
— how <choice>
<sic>we can</sic>
<corr>can we</corr>
</choice> prove or disprove anyone's theories? |
| Example | for his nose was as sharp as
a pen, and <choice>
<sic>a Table</sic>
<corr>a' babbld</corr>
</choice> of green fields. |
| Schematron |
<sch:rule context="wwp:sic[@type eq 'metawork']">
<sch:report test="parent::wwp:choice or (preceding-sibling::*[1]|following-sibling::*[1])[self::wwp:corr]">At the WWP we do not correct metawork errors</sch:report>
</sch:rule> |
| Schematron |
<sch:rule context="wwp:sic[@type eq 'metawork']">
<sch:report test=".//* | .//text()[ normalize-space(.) != '']">Metawork error flags should not have content</sch:report>
</sch:rule> |
| Content model |
<content>
<macroRef key="macro.paraContent"/>
</content>
⚓ |
| Schema Declaration |
element sic
{
ws_att.global.attributes,
ws_att.cmc.attributes,
attribute type { "metawork" | "seq" }?,
ws_macro.paraContent
}⚓ |
| <signed> (signature) contains the closing salutation, etc., appended to a foreword, dedicatory epistle, or other division of a text. [4.2.2. Openers and Closers] | |
| Module | textstructure |
| Attributes |
|
| Contained by | |
| May contain | core: abbr add address author bibl biblStruct cb choice corr date del desc distinct email emph expan foreign gap gloss graphic hi l label lb lg list listBibl measure mentioned milestone name note num orig pb ptr quote ref reg rs said sic soCalled stage term time title unclear drama: castList gaiji: g header: idno msdescription: dimensions height width textstructure: floatingText transcr: addSpan am damageSpan delSpan ex handShift listTranspose metamark mod mw redo space subst substJoin supplied surplus undo character data |
| Example | <signed>Thine to command <name>Humph. Moseley</name>
</signed> |
| Example | <closer>
<signed>Sign'd and Seal'd,
<list>
<item>John Bull,</item>
<item>Nic. Frog.</item>
</list>
</signed>
</closer> |
| Content model |
<content>
<macroRef key="macro.paraContent"/>
</content>
⚓ |
| Schema Declaration |
element signed
{
ws_att.global.attributes,
ws_att.cmc.attributes,
ws_att.written.attributes,
ws_macro.paraContent
}⚓ |
| <soCalled> (so called) contains a word or phrase for which the author or narrator indicates a disclaiming of responsibility, for example by the use of scare quotes or italics. [3.3.3. Quotation] | |
| Module | core |
| Attributes |
|
| Member of | |
| Contained by | core: abbr add addrLine author bibl biblScope citedRange corr date del desc distinct editor email emph expan foreign gloss head headItem headLabel hi item l label measure mentioned name num orig p pubPlace publisher quote ref reg resp rs said sic soCalled speaker stage term time title unclear derived-module-wwp-store: acrostic anagram docAuthorization docSale mcr regMe translator textstructure: closer dateline docDate docEdition docImprint docRole imprimatur opener respLine salute signed titlePart trailer |
| May contain | core: abbr add address author cb choice corr date del distinct email emph expan foreign gap gloss graphic hi lb measure mentioned milestone name note num orig pb ptr quote ref reg rs said sic soCalled term time title unclear figures: figure gaiji: g header: idno msdescription: dimensions height width textstructure: floatingText transcr: addSpan am damageSpan delSpan ex handShift listTranspose metamark mod mw redo space subst substJoin supplied surplus undo character data |
| Example | To edge his way along
the crowded paths of life, warning all human sympathy to keep its distance, was what the
knowing ones call <soCalled>nuts</soCalled> to Scrooge. |
| Content model |
<content>
<macroRef key="macro.phraseSeq"/>
</content>
⚓ |
| Schema Declaration |
element soCalled
{
ws_att.global.attributes,
ws_att.cmc.attributes,
ws_macro.phraseSeq
}⚓ |
| <sourceDesc> (source description) describes the source(s) 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 |
| Attributes |
|
| Contained by | header: fileDesc |
| May contain | |
| 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>
<alternate>
<classRef key="model.pLike" minOccurs="1"
maxOccurs="unbounded"/>
<alternate minOccurs="1"
maxOccurs="unbounded">
<classRef key="model.biblLike"/>
<classRef key="model.sourceDescPart"/>
<classRef key="model.listLike"/>
</alternate>
</alternate>
</content>
⚓ |
| Schema Declaration |
element sourceDesc
{
ws_att.global.attributes,
ws_att.declarable.attributes,
(
ws_model.pLike+
| ( ws_model.biblLike | ws_model.sourceDescPart | ws_model.listLike )+
)
}⚓ |
| <sp> (speech) contains an individual speech in a performance text, or a passage presented as such in a prose or verse text. [3.13.2. Core Tags for Drama 3.13. Passages of Verse or Drama 7.2.2. Speeches and Speakers] | |||||||||||
| Module | core | ||||||||||
| Attributes |
| ||||||||||
| Member of | |||||||||||
| Contained by | |||||||||||
| May contain | |||||||||||
| Note | The who attribute on this element may be used either in addition to the <speaker> element or as an alternative. | ||||||||||
| Example | <sp>
<speaker>The reverend Doctor Opimian</speaker>
<p>I do not think I have named a single unpresentable fish.</p>
</sp>
<sp>
<speaker>Mr Gryll</speaker>
<p>Bream, Doctor: there is not much to be said for bream.</p>
</sp>
<sp>
<speaker>The Reverend Doctor Opimian</speaker>
<p>On the contrary, sir, I think there is much to be said for him. In the first place [...]</p>
<p>Fish, Miss Gryll — I could discourse to you on fish by the hour: but for the present I
will forbear [...]</p>
</sp> | ||||||||||
| Content model |
<content>
<sequence minOccurs="1" maxOccurs="1">
<classRef key="model.global"
minOccurs="0" maxOccurs="unbounded"/>
<sequence minOccurs="0" maxOccurs="1">
<elementRef key="speaker"/>
<classRef key="model.global"
minOccurs="0" maxOccurs="unbounded"/>
</sequence>
<sequence minOccurs="1"
maxOccurs="unbounded">
<alternate minOccurs="1" maxOccurs="1">
<elementRef key="lg"/>
<classRef key="model.lLike"/>
<classRef key="model.pLike"/>
<classRef key="model.listLike"/>
<classRef key="model.stageLike"/>
<classRef key="model.attributable"/>
</alternate>
<alternate minOccurs="1" maxOccurs="1">
<classRef key="model.global"
minOccurs="0" maxOccurs="unbounded"/>
<elementRef key="q"/>
</alternate>
</sequence>
</sequence>
</content>
⚓ | ||||||||||
| Schema Declaration |
element sp
{
ws_att.global.attributes,
ws_att.ascribed.directed.attribute.toWhom,
ws_att.written.attributes,
attribute who { list { + } },
(
ws_model.global*,
( ( ws_speaker, ws_model.global* )? ),
(
(
(
ws_lg
| ws_model.lLike
| ws_model.pLike
| ws_model.listLike
| ws_model.stageLike
| ws_model.attributable
),
( ws_model.global* | q )
)+
)
)
}⚓ | ||||||||||
| <spGrp> (speech group) contains a group of speeches or songs in a performance text presented in a source as constituting a single unit or ‘number’. [7.2.3. Grouped Speeches] | |||||||||||
| Module | drama | ||||||||||
| Attributes |
| ||||||||||
| Member of | |||||||||||
| Contained by | |||||||||||
| May contain | |||||||||||
| Example | <sp>
<speaker>FRAULEIN SCHNEIDER:</speaker>
<p> Herr Schultz! Can I believe what I see? <stage>(HERR SCHULTZ nods
proudly)</stage> But this is — too much to accept. So rare — so costly —
so luxurious. </p>
</sp>
<stage>(She sings)</stage>
<spGrp n="4">
<sp>
<l>If you bought me diamonds, If you bought me pearls,</l>
<l>If you bought me roses like some other gents</l>
<l>Might bring to other girls,</l>
<l>It couldn't please me more</l>
<l>Than the gift I see -</l>
<stage>(She takes a large pineapple out of the bag)</stage>
<l>A pineapple for me!</l>
</sp>
<sp>
<speaker>SCHULTZ:</speaker>
<stage>(Singing) </stage>
<l>If, in your emotion, </l>
<l>You began to sway, </l>
<l>Went to get some air, </l>
<l>Or grabbed a chair </l>
<l>To keep from fainting dead away, </l>
<l>It couldn't please me more </l>
<l>Than to see you cling </l>
<l>To the pineapple I bring.</l>
</sp>
<sp>
<speaker>BOTH:</speaker>
<l>Ah, ah, ah, ah, ah, ah, ah, ah</l>
</sp>
<!-- ... -->
<stage>(They dance)</stage>
</spGrp>
<sp>
<speaker>FRAULEIN SCHNEIDER: </speaker>
<p>But you must not bring me
any more pineapples! Do you hear? It is not proper. It is a gift a
young man would present to his lady love. It makes me blush!
</p>
</sp> | ||||||||||
| Content model |
<content>
<sequence minOccurs="1" maxOccurs="1">
<classRef key="model.headLike"
minOccurs="0" maxOccurs="unbounded"/>
<alternate minOccurs="1"
maxOccurs="unbounded">
<classRef key="model.global"/>
<elementRef key="sp"/>
<classRef key="model.stageLike"/>
</alternate>
</sequence>
</content>
⚓ | ||||||||||
| Schema Declaration |
element spGrp
{
ws_att.global.attributes,
ws_att.ascribed.directed.attributes,
ws_att.typed.attribute.subtype,
attribute type
{
"couplet"
| "indeterminate"
| "octet"
| "quatrain"
| "quintet"
| "refrain"
| "septet"
| "sestet"
| "simultaneous"
| "stanza"
| "tercet"
},
( ws_model.headLike*, ( ws_model.global | ws_sp | ws_model.stageLike )+ )
}⚓ | ||||||||||
| <space> (space) indicates the location of a significant space in the text. [12.4.1. Space] | |||||||||||||||||||
| Module | transcr | ||||||||||||||||||
| Attributes |
| ||||||||||||||||||
| Member of | |||||||||||||||||||
| Contained by | core: abbr add addrLine address author bibl biblScope citedRange corr date del distinct editor email emph expan foreign gloss head headItem headLabel hi imprint item l label lg list measure mentioned name note num orig p pubPlace publisher quote ref reg resp rs said series sic soCalled sp speaker stage term time title unclear derived-module-wwp-store: acrostic advertisement anagram docAuthorization docSale elision mcr regMe translator | ||||||||||||||||||
| May contain | core: desc | ||||||||||||||||||
| Note | This element should be used wherever it is desired to record an unusual space in the source text, e.g. space left for a word to be filled in later, for later rubrication, etc. It is not intended to be used to mark normal inter-word space or the like. | ||||||||||||||||||
| Example | By god if wommen had writen storyes
As <space quantity="7" unit="minims"/> han within her oratoryes | ||||||||||||||||||
| Example | στρατηλάτ<space quantity="1" unit="chars"/>ου | ||||||||||||||||||
| Content model |
<content>
<alternate minOccurs="0"
maxOccurs="unbounded">
<classRef key="model.descLike"/>
<classRef key="model.certLike"/>
</alternate>
</content>
⚓ | ||||||||||||||||||
| Schema Declaration |
element space
{
ws_att.global.attribute.affirmed,
ws_att.global.attribute.xmlid,
ws_att.global.attribute.n,
ws_att.global.attribute.xmllang,
ws_att.global.attribute.xmlbase,
ws_att.global.attribute.xmlspace,
ws_att.global.change.attribute.change,
ws_att.global.linking.attribute.corresp,
ws_att.global.linking.attribute.sameAs,
ws_att.global.linking.attribute.next,
ws_att.global.linking.attribute.prev,
ws_att.global.rendition.attribute.rend,
ws_att.global.rendition.attribute.style,
ws_att.global.rendition.attribute.rendition,
ws_att.global.responsibility.attribute.cert,
ws_att.global.source.attribute.source,
ws_att.dimensions.attributes,
ws_att.typed.attributes,
attribute resp { list { + } }?,
attribute dim { "horizontal" | "vertical" }?,
( ws_model.descLike | ws_model.certLike )*
}⚓ | ||||||||||||||||||
| <speaker> contains a specialized form of heading or label, giving the name of one or more speakers in a dramatic text or fragment. [3.13.2. Core Tags for Drama] | |
| Module | core |
| Attributes |
|
| Contained by | core: sp |
| May contain | core: abbr add address author cb choice corr date del distinct email emph expan foreign gap gloss graphic hi lb measure mentioned milestone name note num orig pb ptr quote ref reg rs said sic soCalled term time title unclear figures: figure gaiji: g header: idno msdescription: dimensions height width textstructure: floatingText transcr: addSpan am damageSpan delSpan ex handShift listTranspose metamark mod mw redo space subst substJoin supplied surplus undo character data |
| Note | This element may be used to transcribe which character is speaking in a dramatic text as indicated by the source text; the who attribute of an <sp> element may be used to point to another element (typically a <role>) which provides information about the character speaking. Either or both may be used. |
| Example | <sp who="#ni #rsa">
<speaker>Nancy and Robert</speaker>
<stage type="delivery">(speaking simultaneously)</stage>
<p>The future? ...</p>
</sp>
<list type="speakers">
<item xml:id="ni"/>
<item xml:id="rsa"/>
</list> |
| Schematron |
<sch:rule context="wwp:speaker">
<sch:report test="wwp:persName"
role="warning">We do not normally put <gi>persName</gi> inside of a <gi>speaker</gi>
</sch:report>
<sch:report test="wwp:choice/wwp:abbr|wwp:abbr|wwp:expan"
role="warning">We do not typically record or normalize abbreviations (or expansions) inside of a <gi>speaker</gi>
</sch:report>
</sch:rule> |
| Content model |
<content>
<macroRef key="macro.phraseSeq"/>
</content>
⚓ |
| Schema Declaration |
element speaker
{
ws_att.global.attributes,
ws_att.written.attributes,
ws_macro.phraseSeq
}⚓ |
| <sponsor> (sponsor) specifies the name of a sponsoring organization or institution. [2.2.1. The Title Statement] | |
| Module | header |
| Attributes |
|
| Member of | |
| Contained by | |
| May contain | core: abbr add address cb choice date distinct email emph expan foreign gap gloss hi lb measure mentioned milestone name note num pb ptr ref rs soCalled term time title derived-module-wwp-store: advertisement elision mcr unknown figures: figure header: idno msdescription: dimensions height width character data |
| Note | Sponsors give their intellectual authority to a project; they are to be distinguished from funders (see element <funder>), who provide the funding but do not necessarily take intellectual responsibility. |
| Example | <sponsor>Association for Computers and the Humanities</sponsor>
<sponsor>Association for Computational Linguistics</sponsor>
<sponsor ref="http://www.allc.org/">Association for Literary and Linguistic Computing</sponsor> |
| Content model |
<content>
<macroRef key="macro.phraseSeq.limited"/>
</content>
⚓ |
| Schema Declaration |
element sponsor
{
ws_att.global.attributes,
ws_att.canonical.attributes,
ws_att.datable.attributes,
ws_macro.phraseSeq.limited
}⚓ |
| <stage> (stage direction) contains any kind of stage direction within a dramatic text or fragment. [3.13.2. Core Tags for Drama 3.13. Passages of Verse or Drama 7.2.4. Stage Directions] | |||||||||
| Module | core | ||||||||
| Attributes |
| ||||||||
| Member of | |||||||||
| Contained by | |||||||||
| May contain | core: abbr add address author bibl biblStruct cb choice corr date del desc distinct email emph expan foreign gap gloss graphic hi l label lb lg list listBibl measure mentioned milestone name note num orig p pb ptr quote ref reg rs said sic soCalled sp stage term time title unclear gaiji: g header: idno msdescription: dimensions height width textstructure: floatingText transcr: addSpan am damageSpan delSpan ex handShift listTranspose metamark mod mw redo space subst substJoin supplied surplus undo character data | ||||||||
| Note | The who attribute may be used to indicate more precisely the person or persons participating in the action described by the stage direction. | ||||||||
| Example | <stage type="setting">A curtain being drawn.</stage>
<stage type="setting">Music</stage>
<stage type="entrance">Enter Husband as being thrown off his horse and falls.</stage>
<!-- Middleton : Yorkshire Tragedy -->
<stage type="exit">Exit pursued by a bear.</stage>
<stage type="business">He quickly takes the stone out.</stage>
<stage type="delivery">To Lussurioso.</stage>
<stage type="novelistic">Having had enough, and embarrassed for the family.</stage>
<!-- Lorraine Hansbury : a raisin in in the sun -->
<stage type="modifier">Disguised as Ansaldo.</stage>
<stage type="entrance modifier">Enter Latrocinio disguised as an empiric</stage>
<!-- Middleton: The Widow -->
<stage type="location">At a window.</stage>
<stage rend="inline" type="delivery">Aside.</stage> | ||||||||
| Example | <l>Behold. <stage n="*" place="margin">Here the vp<lb/>per part of the <hi>Scene</hi> open'd; when
straight appear'd a Heauen, and all the <hi>Pure Artes</hi> sitting on
two semi<lb/>circular ben<lb/>ches, one a<lb/>boue another: who sate thus till the rest of the
<hi>Prologue</hi> was spoken, which being ended, they descended in
order within the <hi>Scene,</hi> whiles the Musicke plaid</stage> Our
Poet knowing our free hearts</l> | ||||||||
| Content model |
<content>
<macroRef key="macro.specialPara"/>
</content>
⚓ | ||||||||
| Schema Declaration |
element stage
{
ws_att.global.attributes,
ws_att.ascribed.directed.attributes,
ws_att.cmc.attributes,
ws_att.written.attributes,
attribute type
{
list
{
(
"business"
| "delivery"
| "entrance"
| "exit"
| "location"
| "modifier"
| "novelistic"
| "present"
| "prop"
| "remains"
| "setting"
),
(
"business"
| "delivery"
| "entrance"
| "exit"
| "location"
| "modifier"
| "novelistic"
| "present"
| "prop"
| "remains"
| "setting"
)?,
(
"business"
| "delivery"
| "entrance"
| "exit"
| "location"
| "modifier"
| "novelistic"
| "present"
| "prop"
| "remains"
| "setting"
)?,
(
"business"
| "delivery"
| "entrance"
| "exit"
| "location"
| "modifier"
| "novelistic"
| "present"
| "prop"
| "remains"
| "setting"
)?,
(
"business"
| "delivery"
| "entrance"
| "exit"
| "location"
| "modifier"
| "novelistic"
| "present"
| "prop"
| "remains"
| "setting"
)?
}
},
ws_macro.specialPara
}⚓ | ||||||||
| <subst> (substitution) groups one or more deletions (or surplus text) with one or more additions when the combination is to be regarded as a single intervention in the text. [12.3.1.5. Substitutions] | |
| Module | transcr |
| Attributes |
|
| Member of | |
| Contained by | core: abbr add addrLine author bibl biblScope citedRange corr date del desc distinct editor email emph expan foreign gloss head headItem headLabel hi item l label measure mentioned name num orig p pubPlace publisher quote ref reg resp rs said sic soCalled speaker stage term time title unclear derived-module-wwp-store: acrostic anagram docAuthorization docSale mcr regMe translator textstructure: closer dateline docDate docEdition docImprint docRole imprimatur opener respLine salute signed titlePart trailer |
| May contain | |
| Example | ... are all included. <del hand="#RG">It is</del>
<subst>
<add>T</add>
<del>t</del>
</subst>he expressed
|
| Example | that he and his Sister Miſs D — <lb/>who always lived with him, wd. be <subst>
<del>very</del>
<lb/>
<add>principally</add>
</subst> remembered in her Will.
|
| Example | <ab>τ<subst>
<add place="above">ῶν</add>
<del>α</del>
</subst>
συνκυρόντ<subst>
<add place="above">ων</add>
<del>α</del>
</subst>
ἐργαστηρί<subst>
<add place="above">ων</add>
<del>α</del>
</subst>
</ab> |
| Example | <subst>
<del>
<gap reason="illegible" quantity="5"
unit="character"/>
</del>
<add>apple</add>
</subst> |
| Schematron |
<sch:rule context="tei:subst">
<sch:assert test="child::tei:add and (child::tei:del or child::tei:surplus)">
<sch:name/> must have at least one child add and at least one child del or surplus</sch:assert>
</sch:rule> |
| Content model |
<content>
<alternate minOccurs="1"
maxOccurs="unbounded">
<elementRef key="add"/>
<elementRef key="surplus"/>
<elementRef key="del"/>
<classRef key="model.milestoneLike"/>
</alternate>
</content>
⚓ |
| Schema Declaration |
element subst
{
ws_att.global.attributes,
ws_att.dimensions.attributes,
ws_att.transcriptional.attributes,
( ws_add | ws_surplus | ws_del | ws_model.milestoneLike )+
}⚓ |
| <substJoin> (substitution join) identifies a series of possibly fragmented additions, deletions, or other revisions on a manuscript that combine to make up a single intervention in the text. [12.3.1.5. Substitutions] | |
| Module | transcr |
| Attributes |
|
| Member of | |
| Contained by | core: abbr add addrLine address author bibl biblScope citedRange corr date del distinct editor email emph expan foreign gloss head headItem headLabel hi imprint item l label lg list measure mentioned name note num orig p pubPlace publisher quote ref reg resp rs said series sic soCalled sp speaker stage term time title unclear derived-module-wwp-store: acrostic advertisement anagram docAuthorization docSale elision mcr regMe translator |
| May contain | core: desc |
| Example | While <del xml:id="r112">pondering</del> thus <add xml:id="r113">she mus'd</add>, her pinions fann'd
<substJoin target="#r112 #r113"/> |
| Content model |
<content>
<alternate minOccurs="0"
maxOccurs="unbounded">
<classRef key="model.descLike"/>
<classRef key="model.certLike"/>
</alternate>
</content>
⚓ |
| Schema Declaration |
element substJoin
{
ws_att.global.attributes,
ws_att.dimensions.attributes,
ws_att.pointing.attributes,
ws_att.transcriptional.attributes,
( ws_model.descLike | ws_model.certLike )*
}⚓ |
| <supplied> (supplied) signifies text supplied by the transcriber or editor for any reason; for example because the original cannot be read due to physical damage, or because of an obvious omission by the author or scribe. [12.3.3.1. Damage, Illegibility, and Supplied Text] | |||||||||
| Module | transcr | ||||||||
| Attributes |
| ||||||||
| Member of | |||||||||
| Contained by | core: abbr add addrLine author bibl biblScope choice citedRange corr date del distinct editor email emph expan foreign gloss head headItem headLabel hi item l label measure mentioned name num orig p pubPlace publisher quote ref reg rs said sic soCalled speaker stage term time title unclear derived-module-wwp-store: acrostic anagram docAuthorization docSale mcr regMe translator figures: cell textstructure: closer dateline docDate docEdition docImprint docRole imprimatur opener respLine salute signed titlePart trailer | ||||||||
| May contain | core: abbr add address author bibl biblStruct cb choice corr date del desc distinct email emph expan foreign gap gloss graphic hi l label lb lg list listBibl measure mentioned milestone name note num orig pb ptr quote ref reg rs said sic soCalled stage term time title unclear drama: castList gaiji: g header: idno msdescription: dimensions height width textstructure: floatingText transcr: addSpan am damageSpan delSpan ex handShift listTranspose metamark mod mw redo space subst substJoin supplied surplus undo character data | ||||||||
| Note | The <damage>, <gap>, <del>, <unclear> and <supplied> elements may be closely allied in use. See section 12.3.3.2. Use of the gap, del, damage, unclear, and supplied Elements in Combination for discussion of which element is appropriate for which circumstance. | ||||||||
| Example | I am dr Sr yr
<supplied reason="illegible"
source="#amanuensis_copy">very humble Servt</supplied>
Sydney Smith | ||||||||
| Example | <supplied reason="omitted-in-original">Dedication</supplied> to the duke of Bejar | ||||||||
| Content model |
<content>
<macroRef key="macro.paraContent"/>
</content>
⚓ | ||||||||
| Schema Declaration |
element supplied
{
ws_att.fragmentable.attributes,
ws_att.global.attributes,
ws_att.dimensions.attributes,
ws_att.editLike.attributes,
attribute reason
{
"damaged" | "flawed-reproduction" | "obscured" | "other"
},
ws_macro.paraContent
}⚓ | ||||||||
| <surplus> (surplus) marks text present in the source which the editor believes to be superfluous or redundant. [12.3.3.1. Damage, Illegibility, and Supplied Text] | |||||||
| Module | transcr | ||||||
| Attributes |
| ||||||
| Member of | |||||||
| Contained by | core: abbr add addrLine author bibl biblScope citedRange corr date del distinct editor email emph expan foreign gloss head headItem headLabel hi item l label measure mentioned name num orig p pubPlace publisher quote ref reg rs said sic soCalled speaker stage term time title unclear derived-module-wwp-store: acrostic anagram docAuthorization docSale mcr regMe translator figures: cell textstructure: closer dateline docDate docEdition docImprint docRole imprimatur opener respLine salute signed titlePart trailer | ||||||
| May contain | core: abbr add address author bibl biblStruct cb choice corr date del desc distinct email emph expan foreign gap gloss graphic hi l label lb lg list listBibl measure mentioned milestone name note num orig pb ptr quote ref reg rs said sic soCalled stage term time title unclear drama: castList gaiji: g header: idno msdescription: dimensions height width textstructure: floatingText transcr: addSpan am damageSpan delSpan ex handShift listTranspose metamark mod mw redo space subst substJoin supplied surplus undo character data | ||||||
| Example | I am dr Sr yrs
<surplus reason="repeated">yrs</surplus>
Sydney Smith | ||||||
| Content model |
<content>
<macroRef key="macro.paraContent"/>
</content>
⚓ | ||||||
| Schema Declaration |
element surplus
{
ws_att.global.attributes,
ws_att.dimensions.attributes,
ws_att.editLike.attributes,
attribute reason { list { + } }?,
ws_macro.paraContent
}⚓ | ||||||
| <table> (table) contains text displayed in tabular form, in rows and columns. [15.1.1. TEI Tables] | |||||||||||||||||||||||||||||||
| Module | figures | ||||||||||||||||||||||||||||||
| Attributes |
| ||||||||||||||||||||||||||||||
| Member of | |||||||||||||||||||||||||||||||
| Contained by | core: add corr del desc emph head hi item l note orig p quote ref reg said sic sp stage title unclear derived-module-wwp-store: advertisement docAuthorization docSale mcr header: handNote licence sourceDesc textstructure: argument back body div docEdition epigraph imprimatur postscript salute signed titlePart trailer | ||||||||||||||||||||||||||||||
| May contain | derived-module-wwp-store: advertisement elision unknown transcr: addSpan damageSpan delSpan listTranspose metamark mw space substJoin | ||||||||||||||||||||||||||||||
| Note | Contains an optional heading and a series of rows. Any rendition information should be supplied using the global rend attribute, at the table, row, or cell level as appropriate. | ||||||||||||||||||||||||||||||
| Example | <table rows="4" cols="4">
<head>Poor Men's Lodgings in Norfolk (Mayhew, 1843)</head>
<row role="label">
<cell role="data"/>
<cell role="data">Dossing Cribs or Lodging Houses</cell>
<cell role="data">Beds</cell>
<cell role="data">Needys or Nightly Lodgers</cell>
</row>
<row role="data">
<cell role="label">Bury St Edmund's</cell>
<cell role="data">5</cell>
<cell role="data">8</cell>
<cell role="data">128</cell>
</row>
<row role="data">
<cell role="label">Thetford</cell>
<cell role="data">3</cell>
<cell role="data">6</cell>
<cell role="data">36</cell>
</row>
<row role="data">
<cell role="label">Attleboro'</cell>
<cell role="data">3</cell>
<cell role="data">5</cell>
<cell role="data">20</cell>
</row>
<row role="data">
<cell role="label">Wymondham</cell>
<cell role="data">1</cell>
<cell role="data">11</cell>
<cell role="data">22</cell>
</row>
</table> | ||||||||||||||||||||||||||||||
| Content model |
<content>
<sequence minOccurs="1" maxOccurs="1">
<alternate minOccurs="0"
maxOccurs="unbounded">
<classRef key="model.headLike"/>
<classRef key="model.global"/>
</alternate>
<alternate minOccurs="1" maxOccurs="1">
<sequence minOccurs="1"
maxOccurs="unbounded">
<elementRef key="row"/>
<classRef key="model.global"
minOccurs="0" maxOccurs="unbounded"/>
</sequence>
<sequence minOccurs="1"
maxOccurs="unbounded">
<classRef key="model.graphicLike"/>
<classRef key="model.global"
minOccurs="0" maxOccurs="unbounded"/>
</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 table
{
ws_att.global.attributes,
ws_att.cmc.attributes,
attribute subtype { text }?,
attribute type { "toc" | "errata" | "subscriber" | "gloss" }?,
attribute rows { text }?,
attribute cols { text }?,
(
( ws_model.headLike | ws_model.global )*,
(
( ( ws_row, ws_model.global* )+ )
| ( ( ws_model.graphicLike, ws_model.global* )+ )
),
( ( ws_model.divBottom, ws_model.global* )* )
)
}⚓ | ||||||||||||||||||||||||||||||
| <tag> (tag) contains text of a complete start- or end-tag, possibly including attribute specifications, but excluding the opening and closing markup delimiter characters. [23. Documentation Elements] | |||||||||||||||||||
| Module | tagdocs | ||||||||||||||||||
| Attributes |
| ||||||||||||||||||
| Member of | |||||||||||||||||||
| Contained by | core: abbr add addrLine author biblScope citedRange corr date del desc distinct editor email emph expan foreign gloss head headItem headLabel hi item l label measure mentioned name num orig p pubPlace publisher quote ref reg resp rs said sic soCalled speaker stage term time title unclear derived-module-wwp-store: acrostic anagram docAuthorization docSale mcr regMe translator textstructure: closer dateline docDate docEdition docImprint docRole imprimatur opener respLine salute signed titlePart trailer | ||||||||||||||||||
| 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
{
ws_att.global.attributes,
ws_att.typed.attribute.subtype,
attribute type { "start" | "end" | "empty" | "pi" | "comment" | "ms" }?,
attribute scheme { text }?,
text
}⚓ | ||||||||||||||||||
| <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 | ||||||||
| Attributes |
| ||||||||
| Member of | |||||||||
| Contained by | header: encodingDesc | ||||||||
| May contain | header: rendition | ||||||||
| Example | 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>
<elementRef key="rendition" minOccurs="0"
maxOccurs="unbounded"/>
<elementRef key="namespace" minOccurs="0"
maxOccurs="unbounded"/>
</sequence>
</content>
⚓ | ||||||||
| Schema Declaration |
element tagsDecl
{
ws_att.global.attributes,
attribute partial { text }?,
( ws_rendition*, namespace* )
}⚓ | ||||||||
| <taxonomy> (taxonomy) explicitly defines a typology used to classify texts using a structured taxonomy. [2.3.7. The Classification Declaration] | |
| Module | header |
| Attributes |
|
| Contained by | header: classDecl |
| May contain | header: category |
| Note | The WWP version of this element is more restrictive than TEI, which permits defining the taxonomy implicitly via a bibliographic reference to it. |
| 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>
<elementRef key="category" minOccurs="1"
maxOccurs="unbounded"/>
</content>
⚓ |
| Schema Declaration |
element taxonomy
{
ws_att.global.attributes,
ws_att.datcat.attributes,
ws_category+
}⚓ |
| <teiCorpus> (TEI corpus) contains the whole of a TEI encoded corpus, comprising a single corpus header and one or more <TEI> elements, each containing a single text header and a text. [4. Default Text Structure 16.1. Varieties of Composite Text] | |||||||||
| Module | core | ||||||||
| Attributes |
| ||||||||
| Member of | |||||||||
| Contained by | core: teiCorpus | ||||||||
| May contain | |||||||||
| Note | Should contain one <teiHeader> for the corpus, and a series of <TEI> elements, one for each text. As with all elements in the TEI scheme (except <egXML>) this element is in the TEI namespace (see 5.7.2. Namespaces). Thus, when it is used as the outermost element of a TEI document, it is necessary to specify the TEI namespace on it. This is customarily achieved by including http://www.tei-c.org/ns/1.0 as the value of the XML namespace declaration (xmlns), without indicating a prefix, and then not using a prefix on TEI elements in the rest of the document. For example: <teiCorpus version="4.8.1" xml:lang="en" xmlns="http://www.tei-c.org/ns/1.0">. | ||||||||
| Example | <teiCorpus version="3.3.0" xmlns="http://www.tei-c.org/ns/1.0">
<teiHeader>
<!-- header for corpus -->
</teiHeader>
<TEI>
<teiHeader>
<!-- header for first text -->
</teiHeader>
<text>
<!-- content of first text -->
</text>
</TEI>
<TEI>
<teiHeader>
<!-- header for second text -->
</teiHeader>
<text>
<!-- content of second text -->
</text>
</TEI>
<!-- more TEI elements here -->
</teiCorpus> | ||||||||
| Content model |
<content>
<sequence>
<elementRef key="teiHeader"/>
<classRef key="model.resource"
minOccurs="0" maxOccurs="unbounded"/>
<classRef key="model.describedResource"
minOccurs="1" maxOccurs="unbounded"/>
</sequence>
</content>
⚓ | ||||||||
| Schema Declaration |
element teiCorpus
{
ws_att.global.attributes,
ws_att.typed.attributes,
attribute version { text }?,
( ws_teiHeader, ws_model.resource*, ws_model.describedResource+ )
}⚓ | ||||||||
| <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 16.1. Varieties of Composite Text] | |
| Module | header |
| Attributes |
|
| Contained by | |
| 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 |
<sch:pattern>
<sch:rule context="wwp:teiHeader">
<sch:assert test="wwp:profileDesc/wwp:textClass">The WWP requires at least one <textClass> element be present.</sch:assert>
<sch:assert test="wwp:fileDesc/wwp:editionStmt or wwp:fileDesc/xi:include[ contains(
@xpointer, 'WWPedition') ]">The WWP requires at least one <editionStmt> element be present or included.</sch:assert>
<sch:assert test="wwp:encodingDesc/wwp:projectDesc or wwp:encodingDesc/xi:include[ contains(
@xpointer, 'WWPprojectDescription') ]">The WWP requires at least one <projectDesc> element be present or included.</sch:assert>
<sch:assert test="wwp:encodingDesc/wwp:samplingDecl or wwp:encodingDesc/xi:include[
contains( @xpointer, 'WWPsamplingDeclaration') ]">The WWP requires at least one <samplingDecl> element be present or included.</sch:assert>
<sch:assert test="wwp:encodingDesc/wwp:editorialDecl or wwp:encodingDesc/xi:include[
contains( @xpointer, 'WWPeditorialDeclaration') ]">The WWP requires at least one <editorialDecl> element be present or included.</sch:assert>
<sch:assert test="wwp:encodingDesc/wwp:charDecl or wwp:encodingDesc/xi:include[ contains(
@xpointer, 'WWPcharacterDeclaration') ]">The WWP requires at least one <charDecl> element be present or included.</sch:assert>
<sch:assert test="wwp:encodingDesc/wwp:classDecl or wwp:encodingDesc/xi:include[ contains(
@xpointer, 'WWPclassificationDeclaration') ]">The WWP requires at least one <classDecl> element be present or included.</sch:assert>
<sch:assert test="wwp:encodingDesc/wwp:listPrefixDef or wwp:encodingDesc/xi:include[
contains( @xpointer, 'WWPlistPrefixDefinitions') ]">The WWP requires at least one <listPrefixDef> element be present or included.</sch:assert>
<sch:assert test="wwp:encodingDesc/wwp:listPrefixDef">WARNING: <listPrefixDef> not found, so values of @ref will not be tested — if you are using the supraSchemas project, just ignore this warning; otherwise, to validate @refs, perform XInclude processing before validation (to do so in oXygen check “Enable XInclude Processing” in the XML / XML Parser / XInclude Options preferences pane)</sch:assert>
</sch:rule>
</sch:pattern> |
| Content model |
<content>
<sequence minOccurs="1" maxOccurs="1">
<elementRef key="fileDesc"/>
<classRef key="model.teiHeaderPart"
minOccurs="0" maxOccurs="unbounded"/>
<elementRef key="revisionDesc"
minOccurs="0"/>
</sequence>
</content>
⚓ |
| Schema Declaration |
element teiHeader
{
ws_att.global.attributes,
( ws_fileDesc, ws_model.teiHeaderPart*, ws_revisionDesc? )
}⚓ |
| <term> (term) contains a single-word, multi-word, or symbolic designation which is regarded as a technical term. [3.4.1. Terms and Glosses] | |
| Module | core |
| Attributes |
|
| Member of | |
| Contained by | core: abbr add addrLine author bibl biblScope citedRange corr date del desc distinct editor email emph expan foreign gloss head headItem headLabel hi item l label measure mentioned name num orig p pubPlace publisher quote ref reg resp rs said sic soCalled speaker stage term time title unclear derived-module-wwp-store: acrostic anagram docAuthorization docSale mcr regMe translator textstructure: closer dateline docDate docEdition docImprint docRole imprimatur opener respLine salute signed titlePart trailer |
| May contain | core: abbr add address author cb choice corr date del distinct email emph expan foreign gap gloss graphic hi lb measure mentioned milestone name note num orig pb ptr quote ref reg rs said sic soCalled term time title unclear figures: figure gaiji: g header: idno msdescription: dimensions height width textstructure: floatingText transcr: addSpan am damageSpan delSpan ex handShift listTranspose metamark mod mw redo space subst substJoin supplied surplus undo character data |
| 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
{
ws_att.global.attributes,
ws_att.canonical.attributes,
ws_att.cmc.attributes,
ws_att.declaring.attributes,
ws_att.pointing.attribute.targetLang,
ws_att.pointing.attribute.evaluate,
ws_att.sortable.attributes,
ws_att.typed.attributes,
ws_macro.phraseSeq
}⚓ |
| <text> (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 16.1. Varieties of Composite Text] | |||||||||||||||||
| Module | textstructure | ||||||||||||||||
| Attributes |
| ||||||||||||||||
| Member of | |||||||||||||||||
| Contained by | |||||||||||||||||
| 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> | ||||||||||||||||
| Schematron |
<sch:rule context="/wwp:TEI/wwp:teiHeader/wwp:text//wwp:text">
<sch:let name="textID"
value="normalize-space( /wwp:TEI/wwp:text/@xml:id )"/>
<sch:assert test="substring( normalize-space( @xml:id ), 1, 7 ) eq substring( $textID,
1, 7 )">sub-text TR# <sch:value-of select="@xml:id"/> does not match main text TR# <sch:value-of select="$textID"/>.</sch:assert>
</sch:rule> | ||||||||||||||||
| Schematron | Except for a specific list of elements, test that any descendant of <text> has some content which could be used to represent source content. Note that the comments inserted into tadpoles are also exempted. (As is any other comment that contains the string ‘$$$’.)This constraint is defined here as it only applies to most descendants of <text>. Might be better to define an abstract pattern here, and give each individual element a concrete instance. Hmmm …
<sch:rule context="/*/wwp:text//* except ( self::wwp:ref[ @type = ('correction','error')
] | self::wwp:sic | self::wwp:ab[ @type eq 'placeholder'] | self::wwp:addSpan
| self::wwp:alt | self::wwp:altGrp | self::wwp:anchor | self::wwp:cb
| self::wwp:cell | self::wwp:choice | self::wwp:corr | self::wwp:delSpan
| self::wwp:format | self::wwp:g[ @ref ] | self::wwp:gap | self::wwp:lb
| self::wwp:link | self::wwp:linkGrp | self::wwp:milestone | self::wwp:mw[
@type = ('border','border-rule','border-ornamental','unknown','other')
] | self::wwp:pb | self::wwp:ptr | self::wwp:space | self::wwp:substJoin
| self::wwp:transpose | self::xi:include )">
<sch:assert role="warning"
test=" normalize-space(.) ne '' or descendant-or-self::*/@copyOf or descendant-or-self::*/@sameAs
or descendant::wwp:g or descendant::wwp:gap or descendant::wwp:anchor
(: see [1] below :) or descendant::wwp:ab[ @type eq 'placeholder']
or descendant::wwp:ref[ @type = ('error','correction') ] or descendant-or-self::wwp:anagram[
contains( normalize-space( @target ), ' ') ] or child::comment()[matches(
., '\$\$\$') ] or @wwp:affirmed "> element requires some sort of representation of
actual content from the source.
</sch:assert>
</sch:rule> | ||||||||||||||||
| Content model |
<content>
<sequence minOccurs="1" maxOccurs="1">
<classRef key="model.global"
minOccurs="0" maxOccurs="unbounded"/>
<sequence minOccurs="0" maxOccurs="1">
<elementRef key="hyperDiv"/>
<classRef key="model.global"
minOccurs="0" maxOccurs="unbounded"/>
</sequence>
<sequence minOccurs="0" maxOccurs="1">
<elementRef key="front"/>
<classRef key="model.global"
minOccurs="0" maxOccurs="unbounded"/>
</sequence>
<alternate minOccurs="1" maxOccurs="1">
<elementRef key="body"/>
<elementRef key="group"/>
</alternate>
<classRef key="model.global"
minOccurs="0" maxOccurs="unbounded"/>
<sequence minOccurs="0" maxOccurs="1">
<elementRef key="back"/>
<classRef key="model.global"
minOccurs="0" maxOccurs="unbounded"/>
</sequence>
</sequence>
</content>
⚓ | ||||||||||||||||
| Schema Declaration |
element text
{
ws_att.global.attribute.affirmed,
ws_att.global.attribute.n,
ws_att.global.attribute.xmllang,
ws_att.global.attribute.xmlbase,
ws_att.global.attribute.xmlspace,
ws_att.global.change.attribute.change,
ws_att.global.linking.attribute.corresp,
ws_att.global.linking.attribute.sameAs,
ws_att.global.linking.attribute.next,
ws_att.global.linking.attribute.prev,
ws_att.global.rendition.attribute.rend,
ws_att.global.rendition.attribute.style,
ws_att.global.rendition.attribute.rendition,
ws_att.global.responsibility.attribute.cert,
ws_att.global.responsibility.attribute.resp,
ws_att.global.source.attribute.source,
ws_att.declaring.attributes,
ws_att.written.attributes,
attribute xml:id { text },
attribute type { "volume" }?,
(
ws_model.global*,
( ( ws_hyperDiv, ws_model.global* )? ),
( ( ws_front, ws_model.global* )? ),
( ws_body | ws_group ),
ws_model.global*,
( ( ws_back, ws_model.global* )? )
)
}⚓ | ||||||||||||||||
| <textClass> (text classification) [2.4.3. The Text Classification] | |
| Module | header |
| Attributes |
|
| Member of | |
| Contained by | header: profileDesc |
| May contain | header: catRef |
| Note | The WWP version of this element is more restrictive than TEI, which permits other methods of indicating the text's classification. |
| 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>
<elementRef key="catRef" minOccurs="1"
maxOccurs="unbounded"/>
</content>
⚓ |
| Schema Declaration |
element textClass
{
ws_att.global.attributes,
ws_att.declarable.attributes,
ws_catRef+
}⚓ |
| <time> (time) contains a phrase defining a time of day in any format. [3.6.4. Dates and Times] | |
| Module | core |
| Attributes |
|
| Member of | |
| Contained by | core: abbr add addrLine author bibl biblScope citedRange corr date del desc distinct editor email emph expan foreign gloss head headItem headLabel hi imprint item l label measure mentioned name num orig p pubPlace publisher quote ref reg resp rs said sic soCalled speaker stage term time title unclear derived-module-wwp-store: acrostic anagram docAuthorization docSale mcr regMe translator textstructure: closer dateline docDate docEdition docImprint docRole imprimatur opener respLine salute signed titlePart trailer |
| May contain | core: abbr add address author cb choice corr date del distinct email emph expan foreign gap gloss graphic hi lb measure mentioned milestone name note num orig pb ptr ref reg rs sic soCalled term time title unclear figures: figure gaiji: g header: idno msdescription: dimensions height width transcr: addSpan am damageSpan delSpan ex handShift listTranspose metamark mod mw redo space subst substJoin supplied surplus undo character data |
| Note | At the WWP we use when-iso on <time>, not when, because in the vast majority of cases we do not have sufficient precision to include seconds (which W3C requires). |
| Example | As he sat smiling, the
quarter struck — <time when="11:45:00">the quarter to twelve</time>. |
| 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 time
{
ws_att.global.attributes,
ws_att.calendarSystem.attributes,
ws_att.canonical.attributes,
ws_att.cmc.attributes,
ws_att.datable.attribute.period,
ws_att.datable.custom.attribute.when-custom,
ws_att.datable.custom.attribute.notBefore-custom,
ws_att.datable.custom.attribute.notAfter-custom,
ws_att.datable.custom.attribute.from-custom,
ws_att.datable.custom.attribute.to-custom,
ws_att.datable.custom.attribute.datingPoint,
ws_att.datable.custom.attribute.datingMethod,
ws_att.datable.iso.attribute.when-iso,
ws_att.datable.iso.attribute.notBefore-iso,
ws_att.datable.iso.attribute.notAfter-iso,
ws_att.datable.iso.attribute.from-iso,
ws_att.datable.iso.attribute.to-iso,
ws_att.datable.w3c.attribute.notBefore,
ws_att.datable.w3c.attribute.notAfter,
ws_att.datable.w3c.attribute.from,
ws_att.datable.w3c.attribute.to,
ws_att.dimensions.attributes,
ws_att.editLike.attributes,
ws_att.typed.attributes,
( text | ws_model.gLike | ws_model.phrase | ws_model.global )*
}⚓ |
| <title> (title) contains a title for any kind of work. [3.12.2.2. Titles, Authors, and Editors 2.2.1. The Title Statement 2.2.5. The Series Statement] | |||||||||||||||||||
| Module | core | ||||||||||||||||||
| Attributes |
| ||||||||||||||||||
| Member of | |||||||||||||||||||
| Contained by | core: abbr add addrLine analytic author bibl biblScope citedRange corr date del desc distinct editor email emph expan foreign gloss head headItem headLabel hi item l label measure mentioned monogr name num orig p pubPlace publisher quote ref reg resp rs said series sic soCalled speaker stage term time title unclear derived-module-wwp-store: acrostic anagram docAuthorization docSale mcr regMe translator textstructure: closer dateline docDate docEdition docImprint docRole imprimatur opener respLine salute signed titlePart trailer | ||||||||||||||||||
| May contain | core: abbr add address author bibl biblStruct cb choice corr date del desc distinct email emph expan foreign gap gloss graphic hi l label lb lg list listBibl measure mentioned milestone name note num orig pb ptr quote ref reg rs said sic soCalled stage term time title unclear drama: castList gaiji: g header: idno msdescription: dimensions height width textstructure: floatingText transcr: addSpan am damageSpan delSpan ex handShift listTranspose metamark mod mw redo space subst substJoin supplied surplus undo character data | ||||||||||||||||||
| 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
{
ws_att.global.attributes,
ws_att.canonical.attributes,
ws_att.cmc.attributes,
ws_att.datable.attributes,
ws_att.typed.attribute.subtype,
attribute type { "sub" | "main" }?,
attribute level { "a" | "m" | "j" | "s" | "u" }?,
ws_macro.paraContent
}⚓ | ||||||||||||||||||
| <titleBlock> (title block) used to to encode the contents of title pages, acting as a container or wrapper for the title page's discrete elements. [4.6. Title Pages] | |||||||
| Module | textstructure | ||||||
| Attributes |
| ||||||
| Member of | |||||||
| Contained by | |||||||
| May contain | derived-module-wwp-store: advertisement docAuthorization docSale elision unknown figures: figure textstructure: argument docDate docEdition docImprint docRole epigraph imprimatur respLine titlePart transcr: addSpan damageSpan delSpan listTranspose metamark mw space substJoin | ||||||
| Example | <titleBlock>
<docTitle>
<titlePart type="main">THOMAS OF Reading.</titlePart>
<titlePart type="alt">OR, The sixe worthy yeomen of the West.</titlePart>
</docTitle>
<docEdition>Now the fourth time corrected and enlarged</docEdition>
<respLine>By T.D.</respLine>
<figure>
<head>TP</head>
<p>Thou shalt labor till thou returne to duste</p>
<figDesc>Printers Ornament used by TP</figDesc>
</figure>
<docImprint>Printed at <name type="place">London</name> for <name>T.P.</name>
<date>1612.</date>
</docImprint>
</titleBlock> | ||||||
| Content model |
<content>
<sequence minOccurs="1" maxOccurs="1">
<classRef key="model.global"
minOccurs="0" maxOccurs="unbounded"/>
<classRef key="model.titlepagePart"/>
<alternate minOccurs="0"
maxOccurs="unbounded">
<classRef key="model.titlepagePart"/>
<classRef key="model.global"/>
</alternate>
</sequence>
</content>
⚓ | ||||||
| Schema Declaration |
element titleBlock
{
ws_att.global.attributes,
ws_att.typed.attribute.subtype,
attribute type { "titlePage" | "halfTitle" | "captionTitle" | "colophon" }?,
(
ws_model.global*,
ws_model.titlepagePart,
( ws_model.titlepagePart | ws_model.global )*
)
}⚓ | ||||||
| <titlePart> (title part) contains a subsection or division of the title of a work, as indicated on a title page. [4.6. Title Pages] | |||||||||
| Module | textstructure | ||||||||
| Attributes |
| ||||||||
| Member of | |||||||||
| Contained by | textstructure: back front titleBlock | ||||||||
| May contain | core: abbr add address author bibl biblStruct cb choice corr date del desc distinct email emph expan foreign gap gloss graphic hi l label lb lg list listBibl measure mentioned milestone name note num orig pb ptr quote ref reg rs said sic soCalled stage term time title unclear drama: castList gaiji: g header: idno msdescription: dimensions height width textstructure: docRole floatingText transcr: addSpan am damageSpan delSpan ex handShift listTranspose metamark mod mw redo space subst substJoin supplied surplus undo character data | ||||||||
| Note | The WWP version of this element is more permissive than the TEI version: we permit <docRole> (structurally <docRole>). | ||||||||
| Example | <docTitle>
<titlePart type="main">THE FORTUNES
AND MISFORTUNES Of the FAMOUS
Moll Flanders, &c.
</titlePart>
<titlePart type="desc">Who was BORN in NEWGATE,
And during a Life of continu'd Variety for
Threescore Years, besides her Childhood, was
Twelve Year a <hi>Whore</hi>, five times a <hi>Wife</hi> (wherof
once to her own Brother) Twelve Year a <hi>Thief,</hi>
Eight Year a Transported <hi>Felon</hi> in <hi>Virginia</hi>,
at last grew <hi>Rich</hi>, liv'd <hi>Honest</hi>, and died a
<hi>Penitent</hi>.</titlePart>
</docTitle> | ||||||||
| Content model |
<content>
<alternate minOccurs="1"
maxOccurs="unbounded">
<macroRef key="macro.paraContent"/>
<elementRef key="docAuthor"/>
</alternate>
</content>
⚓ | ||||||||
| Schema Declaration |
element titlePart
{
ws_att.global.attributes,
ws_att.typed.attribute.subtype,
attribute type
{
"address"
| "alt"
| "date"
| "desc"
| "main"
| "reason"
| "second"
| "sub"
| "vol"
},
( ws_macro.paraContent | ws_docAuthor )+
}⚓ | ||||||||
| <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 |
| Attributes |
|
| 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
{
ws_att.global.attributes,
( ws_title+, ws_model.respLike* )
}⚓ |
| <trailer> contains a closing title or footer appearing at the end of a division of a text. [4.2.4. Content of Textual Divisions 4.2. Elements Common to All Divisions] | |
| Module | textstructure |
| Attributes |
|
| Member of | |
| Contained by | |
| May contain | core: abbr add address author bibl biblStruct cb choice corr date del desc distinct email emph expan foreign gap gloss graphic hi l label lb lg list listBibl measure mentioned milestone name note num orig pb ptr quote ref reg rs said sic soCalled stage term time title unclear drama: castList gaiji: g header: idno msdescription: dimensions height width textstructure: floatingText transcr: addSpan am damageSpan delSpan ex handShift listTranspose metamark mod mw redo space subst substJoin supplied surplus undo character data |
| Example | <trailer>Explicit pars tertia</trailer> |
| Example | <trailer>
<l>In stead of FINIS this advice <hi>I</hi> send,</l>
<l>Let Rogues and Thieves beware of <lb/>
<hi>Hamans</hi> END.</l>
</trailer> From EEBO A87070 |
| Content model |
<content>
<alternate minOccurs="0"
maxOccurs="unbounded">
<textNode/>
<elementRef key="lg"/>
<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 trailer
{
ws_att.global.attributes,
ws_att.cmc.attributes,
ws_att.typed.attributes,
ws_att.written.attributes,
(
text
| ws_lg
| ws_model.gLike
| ws_model.phrase
| ws_model.inter
| ws_model.lLike
| ws_model.global
)*
}⚓ |
| <translator> contains the name (typically encoded in <persName> or <orgName>) of the entity that translated the bibliograhic item from one natural language to another. | |
| Module | derived-module-wwp-store |
| Attributes |
|
| Member of | |
| Contained by | |
| May contain | core: abbr add address author cb choice corr date del distinct email emph expan foreign gap gloss graphic hi lb measure mentioned milestone name note num orig pb ptr quote ref reg rs said sic soCalled term time title unclear figures: figure gaiji: g header: idno msdescription: dimensions height width textstructure: floatingText transcr: addSpan am damageSpan delSpan ex handShift listTranspose metamark mod mw redo space subst substJoin supplied surplus undo character data |
| Note | The WWP <translator> element may be thought of as syntactic sugar for either <tei:editor role="translator"> or |
| Content model |
<content>
<macroRef key="macro.phraseSeq"/>
</content>
⚓ |
| Schema Declaration |
element translator
{
ws_att.global.attributes,
ws_att.naming.attributes,
ws_macro.phraseSeq
}⚓ |
| <transpose> describes a single textual transposition as an ordered list of at least two pointers specifying the order in which the elements indicated should be re-combined. [12.3.4.5. Transpositions] | |
| Module | transcr |
| Attributes |
|
| Contained by | transcr: listTranspose |
| May contain | core: ptr |
| Note | Transposition is usually indicated in a document by a metamark such as a wavy line or numbering. The order in which <ptr> elements appear within a <transpose> element should correspond with the desired order, as indicated by the metamark. |
| Example | <transpose>
<ptr target="#ib02"/>
<ptr target="#ib01"/>
</transpose> The transposition recorded here indicates that the content of the element with identifier ib02 should appear before the content of the element with identifier ib01. |
| Content model |
<content>
<elementRef key="ptr" minOccurs="2"
maxOccurs="unbounded"/>
</content>
⚓ |
| Schema Declaration |
element transpose { ws_att.global.attributes, ( ws_ptr, ws_ptr, ws_ptr* ) }⚓ |
| <unclear> (unclear) contains a word, phrase, or passage which cannot be transcribed with certainty because it is illegible or inaudible in the source. [12.3.3.1. Damage, Illegibility, and Supplied Text 3.5.3. Additions, Deletions, and Omissions] | |||||||||||||||||
| Module | core | ||||||||||||||||
| Attributes |
| ||||||||||||||||
| Member of | |||||||||||||||||
| Contained by | core: abbr add addrLine author bibl biblScope choice citedRange corr date del distinct editor email emph expan foreign gloss head headItem headLabel hi item l label measure mentioned name num orig p pubPlace publisher quote ref reg rs said sic soCalled speaker stage term time title unclear derived-module-wwp-store: acrostic anagram docAuthorization docSale mcr regMe translator figures: cell textstructure: closer dateline docDate docEdition docImprint docRole imprimatur opener respLine salute signed titlePart trailer | ||||||||||||||||
| May contain | core: abbr add address author bibl biblStruct cb choice corr date del desc distinct email emph expan foreign gap gloss graphic hi l label lb lg list listBibl measure mentioned milestone name note num orig pb ptr quote ref reg rs said sic soCalled stage term time title unclear drama: castList gaiji: g header: idno msdescription: dimensions height width textstructure: floatingText transcr: addSpan am damageSpan delSpan ex handShift listTranspose metamark mod mw redo space subst substJoin supplied surplus undo character data | ||||||||||||||||
| Note | The same element is used for all cases of uncertainty in the transcription of element content, whether for written or spoken material. For other aspects of certainty, uncertainty, and reliability of tagging and transcription, see chapter 22. Certainty, Precision, and Responsibility. The <damage>, <gap>, <del>, <unclear> and <supplied> elements may be closely allied in use. See section 12.3.3.2. Use of the gap, del, damage, unclear, and supplied Elements in Combination for discussion of which element is appropriate for which circumstance. The hand attribute points to a definition of the hand concerned, as further discussed in section 12.3.2.1. Document Hands. | ||||||||||||||||
| Example | <u> ...and then <unclear reason="background-noise">Nathalie</unclear> said ... </u> | ||||||||||||||||
| Content model |
<content>
<macroRef key="macro.paraContent"/>
</content>
⚓ | ||||||||||||||||
| Schema Declaration |
element unclear
{
ws_att.global.attributes,
ws_att.cmc.attributes,
ws_att.dimensions.attributes,
ws_att.editLike.attributes,
attribute reason { "damaged" | "flawed-reproduction" | "obscured" }?,
attribute agent { text }?,
ws_macro.paraContent
}⚓ | ||||||||||||||||
| <undo> indicates one or more marked-up interventions in a document which have subsequently been marked for cancellation. [12.3.4.4. Confirmation, Cancellation, and Reinstatement of Modifications] | |||||||
| Module | transcr | ||||||
| Attributes |
| ||||||
| Member of | |||||||
| Contained by | core: abbr add addrLine author bibl biblScope citedRange corr date del distinct editor email emph expan foreign gloss head headItem headLabel hi item l label measure mentioned name num orig p pubPlace publisher quote ref reg rs said sic soCalled speaker stage term time title unclear derived-module-wwp-store: acrostic anagram docAuthorization docSale mcr regMe translator figures: cell textstructure: closer dateline docDate docEdition docImprint docRole imprimatur opener respLine salute signed titlePart trailer | ||||||
| May contain | Empty element | ||||||
| Example | <line>This is <del change="#s2" rend="overstrike">
<seg xml:id="undo-a">just some</seg>
sample <seg xml:id="undo-b">text</seg>,
we need</del>
<add change="#s2">not</add>
a real example.</line>
<undo target="#undo-a #undo-b"
rend="dotted" change="#s3"/> This encoding represents the following sequence of events:
| ||||||
| Content model |
<content>
<empty/>
</content>
⚓ | ||||||
| Schema Declaration |
element undo
{
ws_att.global.attributes,
ws_att.dimensions.attributes,
ws_att.spanning.attributes,
ws_att.transcriptional.attributes,
attribute target { list { + } }?,
empty
}⚓ | ||||||
| <unknown> used to indicate a passage about which the proper encoding is not known to the encoder. | |||||||
| Module | derived-module-wwp-store | ||||||
| Attributes |
| ||||||
| Member of | |||||||
| Contained by | core: abbr add addrLine address author bibl biblScope citedRange corr date del distinct editor email emph expan foreign gloss head headItem headLabel hi imprint item l label lg list measure mentioned name note num orig p pubPlace publisher quote ref reg resp rs said series sic soCalled sp speaker stage term time title unclear derived-module-wwp-store: acrostic advertisement anagram docAuthorization docSale elision mcr regMe translator | ||||||
| May contain | character data macro.anyXML | ||||||
| Content model |
<content>
<alternate minOccurs="0"
maxOccurs="unbounded">
<macroRef key="macro.anyXML"/>
<textNode/>
</alternate>
</content>
⚓ | ||||||
| Schema Declaration |
element unknown
{
ws_att.global.attributes,
ws_att.ascribed.attributes,
ws_att.typed.attributes,
attribute desc { list { + } }?,
( macro.anyXML | text )*
}⚓ | ||||||
| <vuji> shorthand for <orig> and <reg> (in <choice>) for VUJI phenomena | |
| Module | derived-module-wwp-store |
| Attributes |
|
| Member of | |
| Contained by | core: abbr add addrLine author bibl biblScope citedRange corr date del distinct editor email emph expan foreign gloss head headItem headLabel hi item l label measure mentioned name num orig p pubPlace publisher quote ref reg rs said sic soCalled speaker stage term time title unclear derived-module-wwp-store: acrostic anagram docAuthorization docSale mcr regMe translator figures: cell textstructure: closer dateline docDate docEdition docImprint docRole imprimatur opener respLine salute signed titlePart trailer |
| May contain | Empty element |
| Note | This element is syntactic sugar for a <choice> element whose child <orig> contains the content of this <vuji>, and whose child <reg> contains the regularized version thereof. I.e. Thus in general what you see on the page should be the content of <vuji>. |
| Content model |
<content>
vVuUjJiIvvVVVv
</content>
⚓ |
| Schema Declaration |
element vuji
{
ws_att.global.attributes,
( "v" | "V" | "u" | "U" | "j" | "J" | "i" | "I" | "vv" | "VV" | "Vv" )
}⚓ |
| <width> (width) contains a measurement of an object along the axis parallel to its bottom, e.g. perpendicular to the spine of a book or codex. [11.3.4. Dimensions] | |
| Module | msdescription |
| Attributes |
|
| Member of | |
| Contained by | core: abbr add addrLine author bibl biblScope citedRange corr date del desc distinct editor email emph expan foreign gloss head headItem headLabel hi item l label measure mentioned name num orig p pubPlace publisher quote ref reg resp rs said sic soCalled speaker stage term time title unclear derived-module-wwp-store: acrostic anagram docAuthorization docSale mcr regMe translator msdescription: dimensions textstructure: closer dateline docDate docEdition docImprint docRole imprimatur opener respLine salute signed titlePart trailer |
| May contain | gaiji: g character data |
| Note | If used to specify the depth of a non text-bearing portion of some object, for example a monument, this element conventionally refers to the axis facing the observer, and perpendicular to that indicated by the ‘depth’ axis. |
| Example | <width unit="in">4</width> |
| Content model |
<content>
<macroRef key="macro.xtext"/>
</content>
⚓ |
| Schema Declaration |
element width
{
ws_att.global.attributes,
ws_att.dimensions.attributes,
ws_macro.xtext
}⚓ |
| model.addrPart groups elements such as names or postal codes which may appear as part of a postal address. [3.6.2. Addresses] | |
| Module | tei |
| Used by | |
| Members | model.nameLike[model.nameLike.agent[name orgName persName] model.offsetLike model.persNamePart model.placeStateLike[model.placeNamePart[placeName]] idno rs] addrLine |
| model.addressLike groups elements used to represent a postal or email address. [1. The TEI Infrastructure] | |
| Module | tei |
| Used by | |
| Members | address email |
| model.attributable groups elements that contain a word or phrase that can be attributed to a source. [3.3.3. Quotation 4.3.2. Floating Texts] | |
| Module | tei |
| Used by | |
| Members | model.quoteLike[quote] floatingText said |
| 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 |
| Used by | |
| Members | licence |
| model.biblLike groups elements containing a bibliographic description. [3.12. Bibliographic Citations and References] | |
| Module | tei |
| Used by | |
| Members | bibl biblStruct listBibl |
| model.biblPart groups elements which represent components of a bibliographic description. [3.12. Bibliographic Citations and References] | |
| Module | tei |
| Used by | |
| Members | model.imprintPart[biblScope pubPlace publisher] model.respLike[author editor funder respStmt sponsor translator] availability bibl citedRange edition extent list quote series |
| model.common groups common chunk- and inter-level elements. [1.3. The TEI Class System] | |
| Module | tei |
| Used by | |
| Members | model.cmc model.divPart[model.lLike[l] model.pLike[ab p] lg sp spGrp] model.inter[model.attributable[model.quoteLike[quote] floatingText said] model.biblLike[bibl biblStruct listBibl] model.egLike model.labelLike[desc label] model.listLike[list table] model.oddDecl model.stageLike[stage] castList l lg] |
| Note | This class defines the set of chunk- and inter-level elements; it is used in many content models, including those for textual divisions. |
| model.dateLike groups elements containing temporal expressions. [3.6.4. Dates and Times 14.4. Dates] | |
| Module | tei |
| Used by | |
| Members | date time |
| model.describedResource groups elements which contain the content of a digital resource and its metadata; these elements may serve as the outermost or ‘root’ element of a TEI-conformant document. [1.3. The TEI Class System] | |
| Module | tei |
| Used by | |
| Members | TEI teiCorpus |
| model.divBottom groups elements appearing at the end of a text division. [4.2. Elements Common to All Divisions] | |
| Module | tei |
| Used by | |
| Members | model.divBottomPart[closer postscript trailer] model.divWrapper[argument respLine dateline docRole docDate epigraph] |
| model.divBottomPart groups elements which can occur only at the end of a text division. [4.6. Title Pages] | |
| Module | tei |
| Used by | |
| Members | closer postscript trailer |
| model.divPart groups paragraph-level elements appearing directly within divisions. [1.3. The TEI Class System] | |
| Module | tei |
| Used by | |
| Members | model.lLike[l] model.pLike[ab p] lg sp spGrp |
| 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 |
| Used by | |
| Members | model.divTopPart[model.headLike[head] opener] model.divWrapper[argument respLine dateline docRole docDate epigraph] model.labelLike[desc label] |
| model.divTopPart groups elements which can occur only at the beginning of a text division. [4.6. Title Pages] | |
| Module | tei |
| Used by | |
| Members | model.headLike[head] opener |
| model.divWrapper groups elements which can appear at either top or bottom of a textual division. [4.2. Elements Common to All Divisions] | |
| Module | tei |
| Used by | |
| Members | argument respLine dateline docRole docDate epigraph |
| model.editorialDeclPart groups elements which may be used inside <editorialDecl> and appear multiple times. | |
| Module | tei |
| Used by | |
| Members | correction hyphenation normalization quotation |
| model.encodingDescPart groups elements which may be used inside <encodingDesc> and appear multiple times. | |
| Module | tei |
| Used by | |
| Members | charDecl classDecl editorialDecl include listPrefixDef projectDesc samplingDecl tagsDecl |
| model.frontPart groups elements which appear at the level of divisions within front or back matter. [7.1. Front and Back Matter ] | |
| Module | tei |
| Used by | |
| Members | model.frontPart.drama[castList set] docAuthorization imprimatur listBibl titleBlock |
| model.frontPart.drama groups elements which appear at the level of divisions within front or back matter of performance texts only. [7.1. Front and Back Matter ] | |
| Module | tei |
| Used by | |
| Members | castList set |
| model.gLike groups elements used to represent individual non-Unicode characters or glyphs. | |
| Module | tei |
| Used by | |
| Members | g |
| model.global groups elements which may appear at any point within a TEI text. [1.3. The TEI Class System] | |
| Module | tei |
| Used by | address advertisement argument back bibl body castGroup castItem castList closer date dateline div docImprint elision epigraph figure floatingText front group head imprint l lg line list macro.noteContent macro.phraseSeq macro.phraseSeq.limited macro.specialPara model.paraPart opener respLine series set sp spGrp table text time titleBlock trailer |
| Members | model.global.edit[addSpan damageSpan delSpan elision gap space] model.global.meta[alt link listTranspose substJoin] model.milestoneLike[anchor cb mw lb milestone pb] model.noteLike[advertisement note] add figure metamark unknown |
| model.global.edit groups globally available elements which perform a specifically editorial function. [1.3. The TEI Class System] | |
| Module | tei |
| Used by | |
| Members | addSpan damageSpan delSpan elision gap space |
| model.global.meta groups globally available elements which describe the status of other elements. [1.3. The TEI Class System] | |
| Module | tei |
| Used by | |
| Members | alt link listTranspose substJoin |
| Note | Elements in this class are typically used to hold groups of links or of abstract interpretations, or by provide indications of certainty etc. It may find be convenient to localize all metadata elements, for example to contain them within the same divison as the elements that they relate to; or to locate them all to a division of their own. They may however appear at any point in a TEI text. |
| model.graphicLike groups elements containing images, formulae, and similar objects. [3.10. Graphics and Other Non-textual Components] | |
| Module | tei |
| Used by | |
| Members | graphic |
| model.headLike groups elements used to provide a title or heading at the start of a text division. | |
| Module | tei |
| Used by | |
| Members | head |
| model.hiLike groups phrase-level elements which are typographically distinct but to which no specific function can be attributed. [3.3. Highlighting and Quotation] | |
| Module | tei |
| Used by | |
| Members | hi mcr |
| model.highlighted groups phrase-level elements which are typographically distinct. [3.3. Highlighting and Quotation] | |
| Module | tei |
| Used by | |
| Members | model.emphLike[code distinct emph foreign gloss ident mentioned soCalled term title] model.hiLike[hi mcr] |
| model.imprintPart groups the bibliographic elements which occur inside imprints. [3.12. Bibliographic Citations and References] | |
| Module | tei |
| Used by | |
| Members | biblScope pubPlace publisher |
| model.inter groups elements which can appear either within or between paragraph-like elements. [1.3. The TEI Class System] | |
| Module | tei |
| Used by | |
| Members | model.attributable[model.quoteLike[quote] floatingText said] model.biblLike[bibl biblStruct listBibl] model.egLike model.labelLike[desc label] model.listLike[list table] model.oddDecl model.stageLike[stage] castList l lg |
| model.lLike groups elements representing metrical components such as verse lines. | |
| Module | tei |
| Used by | |
| Members | l |
| model.limitedPhrase groups phrase-level elements excluding those elements primarily intended for transcription of existing sources. [1.3. The TEI Class System] | |
| Module | tei |
| Used by | |
| Members | model.emphLike[code distinct emph foreign gloss ident mentioned soCalled term title] model.hiLike[hi mcr] model.pPart.data[model.addressLike[address email] model.dateLike[date time] model.measureLike[height measure num width] model.nameLike[model.nameLike.agent[name orgName persName] model.offsetLike model.persNamePart model.placeStateLike[model.placeNamePart[placeName]] idno rs]] model.pPart.editorial[abbr am choice ex expan subst] model.pPart.msdesc[dimensions] model.phrase.xml[att gi tag val] model.ptrLike[ptr ref] |
| model.listLike groups list-like elements. [3.8. Lists] | |
| Module | tei |
| Used by | |
| Members | list table |
| model.measureLike groups elements which denote a number, a quantity, a measurement, or similar piece of text that conveys some numerical meaning. [3.6.3. Numbers and Measures] | |
| Module | tei |
| Used by | |
| Members | height measure num width |
| model.milestoneLike groups milestone-style elements used to represent reference systems. [1.3. The TEI Class System 3.11.3. Milestone Elements] | |
| Module | tei |
| Used by | |
| Members | anchor cb mw lb milestone pb |
| model.nameLike groups elements which name or refer to a person, place, or organization. | |
| Module | tei |
| Used by | |
| Members | model.nameLike.agent[name orgName persName] model.offsetLike model.persNamePart model.placeStateLike[model.placeNamePart[placeName]] idno rs |
| 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.6. Names, Numbers, Dates, Abbreviations, and Addresses] | |
| Module | tei |
| 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.noteBottom groups together elements that may appear at the bottom of a <note> or <postscript>. | |
| Module | derived-module-wwp-store |
| Used by | |
| Members | respLine closer trailer |
| model.noteLike groups globally-available note-like elements. [3.9. Notes, Annotation, and Indexing] | |
| Module | tei |
| Used by | |
| Members | advertisement note |
| model.notePart groups together components of a <note>, <gloss>, or <postscript>. | |
| Module | derived-module-wwp-store |
| Used by | |
| Members | model.attributable[model.quoteLike[quote] floatingText said] model.biblLike[bibl biblStruct listBibl] model.divPart[model.lLike[l] model.pLike[ab p] lg sp spGrp] model.listLike[list table] model.noteLike[advertisement note] model.segLike[seg] model.stageLike[stage] castList floatingText |
| model.noteTop groups together elements that may appear at the top of a <note> or <postscript>. | |
| Module | derived-module-wwp-store |
| Used by | |
| Members | model.headLike[head] model.labelLike[desc label] opener ref |
| model.pLike.front groups paragraph-like elements which can occur as direct constituents of front matter. [4.6. Title Pages] | |
| Module | tei |
| Used by | |
| Members | argument respLine dateline docRole docDate docEdition docImprint epigraph head titlePart |
| model.pPart.data groups phrase-level elements containing names, dates, numbers, measures, and similar data. [3.6. Names, Numbers, Dates, Abbreviations, and Addresses] | |
| Module | tei |
| Used by | |
| Members | model.addressLike[address email] model.dateLike[date time] model.measureLike[height measure num width] model.nameLike[model.nameLike.agent[name orgName persName] model.offsetLike model.persNamePart model.placeStateLike[model.placeNamePart[placeName]] idno rs] |
| model.pPart.edit groups phrase-level elements for simple editorial correction and transcription. [3.5. Simple Editorial Changes] | |
| Module | tei |
| Used by | |
| Members | model.pPart.editorial[abbr am choice ex expan subst] model.pPart.transcriptional[corr del handShift mod orig redo reg regMe sic supplied surplus unclear undo vuji] |
| model.pPart.msdesc groups phrase-level elements used in manuscript description. [11. Manuscript Description] | |
| Module | tei |
| Used by | |
| Members | dimensions |
| model.phrase groups elements which can occur at the level of individual words or phrases. [1.3. The TEI Class System] | |
| Module | tei |
| Used by | |
| Members | model.graphicLike[graphic] model.highlighted[model.emphLike[code distinct emph foreign gloss ident mentioned soCalled term title] model.hiLike[hi mcr]] model.lPart model.pPart.data[model.addressLike[address email] model.dateLike[date time] model.measureLike[height measure num width] model.nameLike[model.nameLike.agent[name orgName persName] model.offsetLike model.persNamePart model.placeStateLike[model.placeNamePart[placeName]] idno rs]] model.pPart.edit[model.pPart.editorial[abbr am choice ex expan subst] model.pPart.transcriptional[corr del handShift mod orig redo reg regMe sic supplied surplus unclear undo vuji]] model.pPart.msdesc[dimensions] model.phrase.xml[att gi tag val] model.ptrLike[ptr ref] model.segLike[seg] model.specDescLike author |
| 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. [23. Documentation Elements] | |
| Module | tei |
| Used by | |
| Members | att gi tag val |
| model.placeNamePart groups elements which form part of a place name. [14.2.3. Place Names] | |
| Module | tei |
| Used by | |
| Members | placeName |
| model.placeStateLike groups elements which describe changing states of a place. | |
| Module | tei |
| Used by | |
| Members | model.placeNamePart[placeName] |
| model.profileDescPart groups elements which may be used inside <profileDesc> and appear multiple times. | |
| Module | tei |
| Used by | |
| Members | calendarDesc handNotes include langUsage listTranspose textClass |
| model.ptrLike groups elements used for purposes of location and reference. [3.7. Simple Links and Cross-References] | |
| Module | tei |
| 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 |
| Used by | |
| Members | 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 |
| Used by | |
| Members | model.ptrLike[ptr ref] address availability date idno include pubPlace |
| Note | A ‘detail’ child element may not occur unless an ‘agency’ child element precedes it. See also model.publicationStmtPart.agency. |
| model.quoteLike groups elements used to directly contain quotations. | |
| Module | tei |
| Used by | |
| Members | quote |
| model.resource groups separate elements which constitute the content of a digital resource, as opposed to its metadata. [1.3. The TEI Class System] | |
| Module | tei |
| Used by | |
| Members | text |
| model.segLike groups elements used for arbitrary segmentation. [17.3. Blocks, Segments, and Anchors 18.1. Linguistic Segment Categories] | |
| Module | tei |
| Used by | |
| Members | seg |
| Note | The principles on which segmentation is carried out, and any special codes or attribute values used, should be defined explicitly in the <segmentation> element of the <encodingDesc> within the associated TEI header. |
| model.stageLike groups elements containing stage directions or similar things defined by the module for performance texts. [7.3. Other Types of Performance Text] | |
| Module | tei |
| Used by | |
| Members | stage |
| Note | Stage directions are members of class inter: that is, they can appear between or within component-level elements. |
| model.teiHeaderPart groups high level elements which may appear more than once in a TEI header. | |
| Module | tei |
| Used by | |
| Members | encodingDesc profileDesc |
| model.titlepagePart groups elements which can occur as direct constituents of a title page, such as <docTitle>, <docRole>, <docImprint>, or <epigraph>. [4.6. Title Pages] | |
| Module | tei |
| Used by | |
| Members | argument respLine docRole docAuthorization docDate docEdition docImprint docSale epigraph graphic imprimatur titlePart |
| att.anchoring (anchoring) provides attributes for use on annotations, e.g. notes and groups of notes describing the existence and position of an anchor for annotations. | |||||||||||||||||||
| Module | tei | ||||||||||||||||||
| Members | note | ||||||||||||||||||
| Attributes |
| ||||||||||||||||||
| Example | <p>(...) tamen reuerendos dominos archiepiscopum et canonicos Leopolienses
necnon episcopum in duplicibus Quatuortemporibus<anchor xml:id="A55234"/> totaliter expediui...</p>
<!-- elsewhere in the document -->
<noteGrp targetEnd="#A55234">
<note xml:lang="en"> Quatuor Tempora, so called dry fast days.
</note>
<note xml:lang="pl"> Quatuor Tempora, tzw. Suche dni postne.
</note>
</noteGrp> | ||||||||||||||||||
| 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 | ||||||||||
| Members | att.ascribed.directed[said sp spGrp stage] change unknown | ||||||||||
| Attributes |
| ||||||||||
| att.ascribed.directed provides attributes for elements representing speech or action that can be directed at a group or individual. [3.3.3. Quotation 8.3. Elements Unique to Spoken Texts] | |||||||||||
| Module | tei | ||||||||||
| Members | said sp spGrp stage | ||||||||||
| Attributes |
| ||||||||||
| att.breaking provides attributes 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.11.3. Milestone Elements] | |||||||||||
| Module | tei | ||||||||||
| Members | cb lb milestone pb | ||||||||||
| Attributes |
| ||||||||||
| att.calendarSystem provides attributes for indicating calendar systems to which a date belongs. [3.6.4. Dates and Times 14.4. Dates] | |||||||||||||||
| Module | tei | ||||||||||||||
| Members | date docDate time | ||||||||||||||
| Attributes |
| ||||||||||||||
| att.canonical provides attributes that can be used to associate a representation such as a name or title with canonical information about the object being named or referenced. [14.1.1. Linking Names and Their Referents] | |||||||||||||||||||||
| Module | tei | ||||||||||||||||||||
| Members | att.naming[att.personal[name orgName persName placeName] author editor pubPlace rs translator] actor bibl biblStruct catDesc date docRole funder publisher regMe resp respStmt sponsor term time title | ||||||||||||||||||||
| Attributes |
| ||||||||||||||||||||
| Example | In this contrived example, a canonical reference to the same organisation is provided in four different ways. <author n="1">
<name ref="http://nzetc.victoria.ac.nz/tm/scholarly/name-427308.html"
type="organisation">New Zealand Parliament, Legislative Council</name>
</author>
<author n="2">
<name ref="nzvn:427308"
type="organisation">New Zealand Parliament, Legislative Council</name>
</author>
<author n="3">
<name ref="./named_entities.xml#o427308"
type="organisation">New Zealand Parliament, Legislative Council</name>
</author>
<author n="4">
<name key="name-427308"
type="organisation">New Zealand Parliament, Legislative Council</name>
</author> The first presumes the availability of an internet connection and a processor that can resolve a URI (most can). The second requires, in addition, a <prefixDef> that declares how the nzvm prefix should be interpreted. The third does not require an internet connection, but does require that a file named named_entities.xml be in the same directory as the TEI document. The fourth requires that an entire external system for key resolution be available. | ||||||||||||||||||||
| Note | The key attribute is more flexible and general-purpose, but its use in interchange requires that documentation about how the key is to be resolved be sent to the recipient of the TEI document. In contrast values of the ref attribute are resolved using the widely accepted protocols for a URI, and thus less documentation, if any, is likely required by the recipient in data interchange. These guidelines provide no semantic basis or suggested precedence when both key and ref are provided. For this reason simultaneous use of both is not recommended unless documentation explaining the use is provided, probably in an ODD customizaiton, for interchange. | ||||||||||||||||||||
| att.citing provides attributes for specifying the specific part of a bibliographic item being cited. [1.3.1. Attribute Classes] | |||||||||||||||||||||
| Module | tei | ||||||||||||||||||||
| Members | biblScope citedRange | ||||||||||||||||||||
| Attributes |
| ||||||||||||||||||||
| att.cmc (computer-mediated communication) provides attributes categorizing how the element content was created in a CMC environment. | |||||||||||||||||||||
| Module | tei | ||||||||||||||||||||
| Members | ab abbr address alt anchor argument bibl biblStruct respLine cb choice closer corr date dateline del desc distinct docRole docDate email emph epigraph expan figure floatingText foreign gloss graphic head hi idno l label lb lg link list listBibl measure mentioned milestone name note num opener orgName orig p pb persName placeName postscript ptr quote ref reg rs said salute seg sic signed soCalled stage table term time title trailer unclear | ||||||||||||||||||||
| Attributes |
| ||||||||||||||||||||
| att.coordinated provides attributes that can be used to position their parent element within a two dimensional coordinate system. | |||||||||||||||||||||||||||||||||||||
| Module | transcr | ||||||||||||||||||||||||||||||||||||
| Members | line | ||||||||||||||||||||||||||||||||||||
| Attributes |
| ||||||||||||||||||||||||||||||||||||
| att.damaged provides attributes describing the nature of any physical damage affecting a reading. [12.3.3.1. Damage, Illegibility, and Supplied Text 1.3.1. Attribute Classes] | |||||||||||||||||||||||
| Module | tei | ||||||||||||||||||||||
| Members | damageSpan | ||||||||||||||||||||||
| Attributes |
| ||||||||||||||||||||||
| att.datable provides attributes for normalization of elements that contain dates, times, or datable events. [3.6.4. Dates and Times 14.4. Dates] | |||||||
| Module | tei | ||||||
| Members | author change date docDate editor funder idno licence mapping name orgName persName placeName resp sponsor time title | ||||||
| Attributes |
| ||||||
| Schematron |
<sch:rule context="*[@calendar]">
<sch:assert test="/wwp:TEI/wwp:teiHeader/wwp:profileDesc/wwp:calendarDesc/wwp:calendar/@xml:id
= substring( normalize-space(@calendar), 2 )">The @calendar attribute of <sch:value-of select="name(.)"/> should point to a <gi>calendar</gi> element, but this one ("<sch:value-of select="normalize-space(@calendar)"/>") does not; this error will always occur unless you perform XInclude processing before validation (to do so in oXygen check “Enable XInclude Processing” in the XML / XML Parser / XInclude Options preferences pane)</sch:assert>
</sch:rule> | ||||||
| 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). [14.4. Dates] | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| Module | namesdates | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| Members | att.datable[author change date docDate editor funder idno licence mapping name orgName persName placeName resp sponsor time title] | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| Attributes |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||
| att.datable.iso provides attributes for normalization of elements that contain datable events using the ISO 8601:2004 standard. [3.6.4. Dates and Times 14.4. Dates] | |||||||||||||||||||||||||||||||||||
| Module | namesdates | ||||||||||||||||||||||||||||||||||
| Members | att.datable[author change date docDate editor funder idno licence mapping name orgName persName placeName resp sponsor time title] | ||||||||||||||||||||||||||||||||||
| Attributes |
| ||||||||||||||||||||||||||||||||||
| 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 ISO 8601:2004, using the Gregorian calendar. If both when-iso and dur-iso are specified, the values should be interpreted as indicating a span of time by its starting time (or date) and duration. That is, <date when-iso="2007-06-01" dur-iso="P8D"/> indicates the same time period as <date when-iso="2007-06-01/P8D"/> In providing a ‘regularized’ form, no claim is made that the form in the source text is incorrect; the regularized form is simply that chosen as the main form for purposes of unifying variant forms under a single heading. | ||||||||||||||||||||||||||||||||||
| 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.6.4. Dates and Times 14.4. Dates] | |||||||||||||||||||||||||||||||||||||
| Module | tei | ||||||||||||||||||||||||||||||||||||
| Members | att.datable[author change date docDate editor funder idno licence mapping name orgName persName placeName resp sponsor time title] | ||||||||||||||||||||||||||||||||||||
| 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.datcat provides attributes that are used to align XML elements or attributes with the appropriate Data Categories (DCs) defined by an external taxonomy, in this way establishing the identity of information containers and values, and providing means of interpreting them. [10.5.2. Lexical View 19.3. Other Atomic Feature Values] | |||||||||||||||||||
| Module | tei | ||||||||||||||||||
| Members | att.segLike[seg] category taxonomy | ||||||||||||||||||
| Attributes |
| ||||||||||||||||||
| Example | The example below presents the TEI encoding of the name-value pair <part of speech, common noun>, where the name (key) ‘part of speech’ is abbreviated as ‘POS’, and the value, ‘common noun’ is symbolized by ‘NN’. The entire name-value pair is encoded by means of the element <f>. In TEI XML, that element acts as the container, labeled with the name attribute. Its contents may be complex or simple. In the case at hand, the content is the symbol ‘NN’.The datcat attribute relates the feature name (i.e., the key) to the data category ‘part of speech’, while the attribute valueDatcat relates the feature value to the data category common noun. Both these data categories should be defined in an external and preferably open reference taxonomy or ontology.<fs>
<f name="POS"
datcat="http://hdl.handle.net/11459/CCR_C-396_5a972b93-2294-ab5c-a541-7c344c5f26c3">
<symbol valueDatcat="http://hdl.handle.net/11459/CCR_C-1256_7ec6083c-23d4-224d-6f94-eecbe6861545"
value="NN"/>
</f>
<!-- ... -->
</fs> ‘NN’ is the symbol for common noun used e.g. in the CLAWS-7 tagset defined by the University Centre for Computer Corpus Research on Language at the University of Lancaster. The very same data category used for tagging an early version of the British National Corpus, and coming from the BNC Basic (C5) tagset, uses the symbol ‘NN0’ (rather than ‘NN’). Making these values semantically interoperable would be extremely difficult without a human expert if they were not anchored in a single point of an established reference taxonomy of morphosyntactic data categories. In the case at hand, the string ‘http://hdl.handle.net/11459/CCR_C-1256_7ec6083c-23d4-224d-6f94-eecbe6861545’ is both a persistent identifier of the data category in question, as well as a pointer to a shared definition of common noun.While the symbols ‘NN’, ‘NN0’, and many others (often coming from languages other than English) are implicitly members of the container category ‘part of speech’, it is sometimes useful not to rely on such an implicit relationship but rather use an explicit identifier for that data category, to distinguish it from other morphosyntactic data categories, such as gender, tense, etc. For that purpose, the above example uses the datcat attribute to reference a definition of part of speech. The reference taxonomy in this example is the CLARIN Concept Registry.If the feature structure markup exemplified above is to be repeated many times in a single document, it is much more efficient to gather the persistent identifiers in a single place and to only reference them, implicitly or directly, from feature structure markup. The following example is much more concise than the one above and relies on the concepts of feature structure declaration and feature value library, discussed in chapter [[undefined FS]]. <fs>
<f name="POS" fVal="#commonNoun"/>
<!-- ... -->
</fs> The assumption here is that the relevant feature values are collected in a place that the annotation document in question has access to — preferably, a single document per linguistic resource, for example an <fsdDecl> that is XIncluded as a sibling of <text> or a child of <encodingDesc>; a <taxonomy> available resource-wide (e.g., in a shared header) is also an option.The example below presents an <fvLib> element that collects the relevant feature values (most of them omitted). At the same time, this example shows one way of encoding a tagset, i.e., an established inventory of values of (in the case at hand) morphosyntactic categories. <fvLib n="POS values">
<symbol xml:id="commonNoun" value="NN"
datcat="http://hdl.handle.net/11459/CCR_C-396_5a972b93-2294-ab5c-a541-7c344c5f26c3"/>
<symbol xml:id="properNoun" value="NP"
datcat="http://hdl.handle.net/11459/CCR_C-1371_fbebd9ec-a7f4-9a36-d6e9-88ee16b944ae"/>
<!-- ... -->
</fvLib> Note that these Guidelines do not prescribe a specific choice between datcat and valueDatcat in such cases. The former is the generic way of referencing a data category, whereas the latter is more specific, in that it references a data category that represents a value. The choice between them comes into play where a single element — or a tight element complex, such as the <f>/<symbol> complex illustrated above — make it necessary or useful to distinguish between the container data category and its value. | ||||||||||||||||||
| Example | In the context of dictionaries designed with semantic interoperability in mind, the following example ensures that the <pos> element is interpreted as the same information container as in the case of the example of <f name="POS"> above. <gramGrp>
<pos datcat="http://hdl.handle.net/11459/CCR_C-396_5a972b93-2294-ab5c-a541-7c344c5f26c3"
valueDatcat="http://hdl.handle.net/11459/CCR_C-1256_7ec6083c-23d4-224d-6f94-eecbe6861545">NN</pos>
</gramGrp> Efficiency of this type of interoperable markup demands that the references to the particular data categories should best be provided in a single place within the dictionary (or a single place within the project), rather than being repeated inside every entry. For the container elements, this can be achieved at the level of <tagUsage>, although here, the valueDatcat attribute should be used, because it is not the <tagUsage> element that is associated with the relevant data category, but rather the element <pos> (or <case>, etc.) that is described by <tagUsage>: <tagsDecl partial="true">
<!-- ... -->
<namespace name="http://www.tei-c.org/ns/1.0">
<tagUsage gi="pos"
targetDatcat="http://hdl.handle.net/11459/CCR_C-396_5a972b93-2294-ab5c-a541-7c344c5f26c3">Contains the part of speech.</tagUsage>
<tagUsage gi="case"
targetDatcat="http://hdl.handle.net/11459/CCR_C-1840_9f4e319c-f233-6c90-9117-7270e215f039">Contains information about the grammatical case that the described form is inflected for.</tagUsage>
<!-- ... -->
</namespace>
</tagsDecl> Another possibility is to shorten the URIs by means of the <prefixDef> mechanism, as illustrated below: <listPrefixDef>
<prefixDef ident="ccr" matchPattern="pos"
replacementPattern="http://hdl.handle.net/11459/CCR_C-396_5a972b93-2294-ab5c-a541-7c344c5f26c3"/>
<prefixDef ident="ccr" matchPattern="adj"
replacementPattern="http://hdl.handle.net/11459/CCR_C-1230_23653c21-fca1-edf8-fd7c-3df2d6499157"/>
</listPrefixDef>
<!-- ... -->
<entry>
<!--...-->
<form>
<orth>isotope</orth>
</form>
<gramGrp>
<pos datcat="ccr:pos"
valueDatcat="ccr:adj">adj</pos>
</gramGrp>
<!--...-->
</entry> This mechanism creates implications that are not always wanted, among others, in the case at hand, suggesting that the identifiers ‘pos’ and ‘adj’ belong to a namespace associated with the CLARIN Concept Repository (CCR), whereas that is solely a shorthand mechanism whose scope is the current resource. Documenting this clearly in the header of the dictionary is therefore advised.Yet another possibility is to associate the information about the relationship between a TEI markup element and the data category that it is intended to model already at the level of modeling the dictionary resource, that is, at the level of the ODD, in the <equiv> element that is a child of <elementSpec> or <attDef>. | ||||||||||||||||||
| Example | The <taxonomy> element is a handy tool for encoding taxonomies that are later referenced by att.datcat attributes, but it can also act as an intermediary device, for example holding a fragment of an external taxonomy (or ‘flattening’ an external ontology) that is relevant to the project or document at hand. (It is also imaginable that, for the purpose of the project at hand, the local <taxonomy> element combines vocabularies that originate from more than one external taxonomy or ontology.) In such cases, the <taxonomy> creates a local layer of indirection: the att.datcat attributes internal to the resource may reference the <category> elements stored in the header (as well as the <taxonomy> element itself), whereas these same <category> and <taxonomy> elements use att.datcat attributes to reference the original taxonomy or ontology. <encodingDesc>
<!-- ... -->
<classDecl>
<!-- ... -->
<taxonomy xml:id="UD-SYN"
datcat="https://universaldependencies.org/u/dep/index.html">
<desc>
<term>UD syntactic relations</term>
</desc>
<category xml:id="acl"
valueDatcat="https://universaldependencies.org/u/dep/acl.html">
<catDesc>
<term>acl</term>: Clausal modifier of noun (adjectival clause)</catDesc>
</category>
<category xml:id="acl_relcl"
valueDatcat="https://universaldependencies.org/u/dep/acl-relcl.html">
<catDesc>
<term>acl:relcl</term>: relative clause modifier</catDesc>
</category>
<category xml:id="advcl"
valueDatcat="https://universaldependencies.org/u/dep/advcl.html">
<catDesc>
<term>advcl</term>: Adverbial clause modifier</catDesc>
</category>
<!-- ... -->
</taxonomy>
</classDecl>
</encodingDesc> The above fragment was excerpted from the GB subset of the ParlaMint project in April 2023, and enriched with att.datcat attributes for the purpose of illustrating the mechanism described here.Note that, in the ideal case, the values of att.datcat attributes should be persistent identifiers, and that the addressing scheme of Universal Dependencies is treated here as persistent for the sake of illustration. Note also that the contrast between datcat used on <taxonomy> on the one hand, and the valueDatcat used on <category> on the other, is not mandatory: both kinds of relations could be encoded by means of the generic datcat attribute, but using the former for the container and the latter for the content is more user-friendly. | ||||||||||||||||||
| Example | The targetDatcat attribute is designed to be used in, e.g., feature structure declarations, and is analogous to the targetLang attribute of the att.pointing class, in that it describes the object that is being referenced, rather than the referencing object. <fDecl name="POS"
targetDatcat="http://hdl.handle.net/11459/CCR_C-396_5a972b93-2294-ab5c-a541-7c344c5f26c3">
<fDescr>part of speech (morphosyntactic category)</fDescr>
<vRange>
<vAlt>
<symbol value="NN"
datcat="http://hdl.handle.net/11459/CCR_C-1256_7ec6083c-23d4-224d-6f94-eecbe6861545"/>
<symbol value="NP"
datcat="http://hdl.handle.net/11459/CCR_C-1371_fbebd9ec-a7f4-9a36-d6e9-88ee16b944ae"/>
<!-- ... -->
</vAlt>
</vRange>
</fDecl> Above, the <fDecl> uses targetDatcat, because if it were to use datcat, it would be asserting that it is an instance of the container data category part of speech, whereas it is not — it models a container (<f>) that encodes a part of speech. Note also that it is the <f> that is modeled above, not its values, which are used as direct references to data categories; hence the use of datcat in the <symbol> element. | ||||||||||||||||||
| Example | The att.datcat attributes can be used for any sort of taxonomies. The example below illustrates their usefulness for describing usage domain labels in dictionaries on the example of the Diccionario da Lingua Portugueza by António de Morais Silva, retro-digitised in the MORDigital project.
<!-- in the dictionary header --><encodingDesc>
<classDecl>
<taxonomy xml:id="domains">
<!--...-->
<category xml:id="domain.medical_and_health_sciences">
<catDesc xml:lang="en">Medical and Health Sciences</catDesc>
<catDesc xml:lang="pt">Ciências Médicas e da Saúde</catDesc>
<category xml:id="domain.medical_and_health_sciences.medicine"
valueDatcat="https://vocabs.rossio.fcsh.unl.pt/pub/morais_domains/pt/page/0025">
<catDesc xml:lang="en">
<term>Medicine</term>
<gloss>
<!--...-->
</gloss>
</catDesc>
<catDesc xml:lang="pt">
<term>Medicina</term>
<gloss>
<!--...-->
</gloss>
</catDesc>
</category>
</category>
<!--...-->
</taxonomy>
</classDecl>
</encodingDesc>
<!--
inside an <entry> element: -->
<usg type="domain"
valueDatcat="#domain.medical_and_health_sciences.medicine">Med.</usg> In the Morais dictionary, the relevant domain labels are in the header, getting referenced inside the dictionary, from <usg> elements. The vocabulary used for dictionary-internal labelling is in turn anchored in the MorDigital controlled vocabulary service of the NOVA University of Lisbon – School of Social Sciences and Humanities (NOVA FCSH). | ||||||||||||||||||
| Note | The TEI Abstract Model can be expressed as a hierarchy of attribute-value matrices (AVMs) of various types and of various levels of complexity, nested or grouped in various ways. At the most abstract level, an AVM consists of an information container and the value (contents) of that container. A simple example of an XML serialization of such structures is, on the one hand, the opening and closing tags that delimit and name the container, and, on the other, the content enclosed by the two tags that constitues the value. An analogous example is an attribute name and the value of that attribute. In a TEI XML example of two equivalent serializations expressing the name-value pair The att.datcat class provides means of addressing the containers and their values, while at the same time providing a way to interpret them in the context of external taxonomies or ontologies. Aligning e.g. both the <pos> element and the pos attribute with the same value of an external reference point (i.e., an entry in an agreed taxonomy) affirms the identity of the concept serialised by both the element container and the attribute container, and optionally provides a definition of that concept (in the case at hand, the concept part of speech). The value of the att.datcat attributes should be a PID (persistent identifier) that points to a specific — and, ideally, shared — taxonomy or ontology. Among the resources that can, to a lesser or greater extent, be used as inventories of (more or less) standardized linguistic categories are the GOLD ontology, CLARIN CCR, OLiA, or TermWeb's DatCatInfo, and also the Universal Dependencies inventory, on the assumption that its URIs are going to persist. It is imaginable that a project may choose to address a local taxonomy store instead, but this risks losing the advantage of interchangeability with other projects. Historically, datcat and valueDatcat originate from the (now obsolete) ISO 12620:2009 standard, describing the data model and procedures for a Data Category Registry (DCR). The current version of that standard, ISO 12620-1, does not standardize the serialization of pointers, merely mentioning the TEI att.datcat as an example. Note that no constraint prevents the occurrence of a combination of att.datcat attributes: the <fDecl> element, which is a natural bearer of the targetDatcat attribute, is an instance of a specific modeling element, and, in principle, could be semantically fixed by an appropriate reference taxonomy of modeling devices. | ||||||||||||||||||
| att.declarable provides attributes for those elements in the TEI header which may be independently selected by means of the special purpose decls attribute. [16.3. Associating Contextual Information with a Text] | |||||||||
| Module | tei | ||||||||
| Members | availability bibl biblStruct correction editorialDecl hyphenation langUsage listBibl normalization projectDesc quotation samplingDecl sourceDesc textClass | ||||||||
| Attributes |
| ||||||||
| Note | The rules governing the association of declarable elements with individual parts of a TEI text are fully defined in chapter 16.3. Associating Contextual Information with a Text. Only one element of a particular type may have a default attribute with a value of true. | ||||||||
| att.declaring provides attributes for elements which may be independently associated with a particular declarable element within the header, thus overriding the inherited default for that element. [16.3. Associating Contextual Information with a Text] | |||||||||||||||||
| Module | tei | ||||||||||||||||
| Members | ab back body div floatingText front gloss graphic group lg p postscript ptr ref term text | ||||||||||||||||
| Attributes |
| ||||||||||||||||
| Note | The rules governing the association of declarable elements with individual parts of a TEI text are fully defined in chapter 16.3. Associating Contextual Information with a Text. | ||||||||||||||||
| att.dimensions provides attributes for describing the size of physical objects. | |||||||||||||||||||||||||||||||||||||||
| Module | tei | ||||||||||||||||||||||||||||||||||||||
| Members | att.damaged[damageSpan] addSpan date del delSpan dimensions elision ex gap height mod redo space subst substJoin supplied surplus time unclear undo width | ||||||||||||||||||||||||||||||||||||||
| Attributes |
| ||||||||||||||||||||||||||||||||||||||
| att.divLike provides attributes common to all elements which behave in the same way as divisions. [4. Default Text Structure] | |||||||||||||||||
| Module | tei | ||||||||||||||||
| Members | div lg | ||||||||||||||||
| Attributes |
| ||||||||||||||||
| att.docStatus provides attributes for use on metadata elements describing the status of a document. | |||||||||
| Module | tei | ||||||||
| Members | bibl biblStruct change revisionDesc | ||||||||
| 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.editLike provides attributes describing the nature of an encoded scholarly intervention or interpretation of any kind. [3.5. Simple Editorial Changes 11.3.1. Origination 14.3.2. The Person Element 12.3.1.1. Core Elements for Transcriptional Work] | |||||||||||||||||
| Module | tei | ||||||||||||||||
| Members | att.transcriptional[add addSpan del delSpan mod redo subst substJoin undo] am corr date ex expan name orgName persName placeName reg supplied surplus time unclear | ||||||||||||||||
| Attributes |
| ||||||||||||||||
| Note | The members of this attribute class are typically used to represent any kind of editorial intervention in a text, for example a correction or interpretation, or to date or localize manuscripts etc. Each pointer on the source (if present) corresponding to a witness or witness group should reference a bibliographic citation such as a <witness>, <msDesc>, or <bibl> element, or another external bibliographic citation, documenting the source concerned. | ||||||||||||||||
| att.edition provides attributes identifying the source edition from which some encoded feature derives. | |||||||||||||
| Module | tei | ||||||||||||
| Members | cb lb milestone pb | ||||||||||||
| 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 attributes for representing fragmentation of a structural element, typically as a consequence of some overlapping hierarchy. | |||||||||||
| Module | tei | ||||||||||
| Members | att.divLike[div lg] att.segLike[seg] ab l p supplied | ||||||||||
| Attributes |
| ||||||||||
| Note | In general, part should not be used on an element instance that contains an instance of itself. E.g., part should not be on <div> that has a child <div>, or a <seg> that has a grandchild <seg>. In these cases use next and prev instead. The part attribute should only be used on an element that is inside an instance of itself when all of the partial elements being aggregated are inside the same instance outer copy of the element. E.g., a chapter (<div type="chapter">) contains a single letter (<div type="letter">) that is presented in two pieces with a significant narrative interuption. Because those two pieces are in the same <div>, it makes sense to use part. If the letter starts in chapter 2 and ends in chapter 3 it is probably better to use next and prev instead. | ||||||||||
| att.global provides attributes common to all elements in the TEI encoding scheme. [1.3.1.1. Global Attributes] | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| Module | tei | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| Members | TEI ab abbr acrostic acrostics actor add addSpan addrLine address adds advertisement alt altGrp am anagram anagrams analytic anchor argument att author availability back bibl biblScope biblStruct body respLine calendar calendarDesc castGroup castItem castList catDesc catRef category cb cell change char charDecl choice citedRange classDecl closer code corr correction damageSpan date dateline del delSpan desc dimensions distinct div docRole docAuthorization docDate docEdition docImprint docSale edition editionStmt editor editorialDecl elision email emph encodingDesc epigraph ex expan extent figDesc figure fileDesc floatingText foreign front funder mw g gap gi gloss graphic group handNote handNotes handShift head headItem headLabel height hi hyphenation ident idno imprimatur imprint include item l label langUsage language lb lg licence line link linkGrp list listBibl listPrefixDef listTranspose mapping mcr measure mentioned metamark milestone mod monogr name normalization note notes notesStmt num opener orgName orig p pb persName placeName postscript prefixDef profileDesc projectDesc ptr pubPlace publicationStmt publisher quotation quote redo ref reg regMe rendition resp respStmt revisionDesc role roleDesc row rs said salute samplingDecl seg series set sic signed soCalled sourceDesc sp spGrp space speaker sponsor stage subst substJoin supplied surplus table tag tagsDecl taxonomy teiCorpus teiHeader term text textClass time title titleBlock titlePart titleStmt trailer translator transpose unclear undo unknown val vuji width | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| Attributes |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||
| Schematron |
<sch:rule context="@xml:id">
<sch:let name="thisID"
value="normalize-space(.)"/>
<sch:report test="../(ancestor::*|preceding::*)/@xml:id[ normalize-space(.) eq $thisID
] ">The @xml:id "<sch:value-of select="$thisID"/>" on <<sch:value-of select="name(..)"/>> duplicates an @xml:id found earlier in the document</sch:report>
</sch:rule> | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| Note | The WWP does not currently use the XML base attribute. It is permitted by this schema so that validation post-XInclude processing works. The rendition attribute is currently only used in those cases where a non-Unicode character is required in the value of the rendition ladder. | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| att.global.linking provides a set of attributes for hypertextual linking. [17. Linking, Segmentation, and Alignment] | |||||||||||||||||||||||||||||||||
| Module | linking | ||||||||||||||||||||||||||||||||
| Members | att.global[TEI ab abbr acrostic acrostics actor add addSpan addrLine address adds advertisement alt altGrp am anagram anagrams analytic anchor argument att author availability back bibl biblScope biblStruct body respLine calendar calendarDesc castGroup castItem castList catDesc catRef category cb cell change char charDecl choice citedRange classDecl closer code corr correction damageSpan date dateline del delSpan desc dimensions distinct div docRole docAuthorization docDate docEdition docImprint docSale edition editionStmt editor editorialDecl elision email emph encodingDesc epigraph ex expan extent figDesc figure fileDesc floatingText foreign front funder mw g gap gi gloss graphic group handNote handNotes handShift head headItem headLabel height hi hyphenation ident idno imprimatur imprint include item l label langUsage language lb lg licence line link linkGrp list listBibl listPrefixDef listTranspose mapping mcr measure mentioned metamark milestone mod monogr name normalization note notes notesStmt num opener orgName orig p pb persName placeName postscript prefixDef profileDesc projectDesc ptr pubPlace publicationStmt publisher quotation quote redo ref reg regMe rendition resp respStmt revisionDesc role roleDesc row rs said salute samplingDecl seg series set sic signed soCalled sourceDesc sp spGrp space speaker sponsor stage subst substJoin supplied surplus table tag tagsDecl taxonomy teiCorpus teiHeader term text textClass time title titleBlock titlePart titleStmt trailer translator transpose unclear undo unknown val vuji width] | ||||||||||||||||||||||||||||||||
| Attributes |
| ||||||||||||||||||||||||||||||||
| Schematron |
<sch:rule context="*[@xml:id]">
<sch:let name="isAprev"
value="//@prev/normalize-space(.) = concat('#',@xml:id)"/>
<sch:let name="isAnext"
value="//@next/normalize-space(.) = concat('#',@xml:id)"/>
<sch:report test="@next and not( $isAprev )"
sqf:fix="notpreved">Element <sch:value-of select="@xml:id"/> has a next= but is not pointed at by a prev=</sch:report>
<sch:report test="@prev and not( $isAnext )"
sqf:fix="notnexted">Element <sch:value-of select="@xml:id"/> has a prev= but is not pointed at by a next=</sch:report>
<sch:report test="not( @next ) and $isAprev"
sqf:fix="nextless">Element <sch:value-of select="@xml:id"/> is pointed at by a prev= but does not have a next=</sch:report>
<sch:report test="not( @prev ) and $isAnext"
sqf:fix="prevless">Element <sch:value-of select="@xml:id"/> is pointed at by a next= but does not have a prev=</sch:report>
</sch:rule>
<sqf:fixes>
<sqf:fix id="notpreved">
<sqf:description>
<sqf:title>Point at me with a @prev</sqf:title>
<sqf:p>Add a @prev that points to me to the element I point to with @next</sqf:p>
</sqf:description>
<sch:let name="next"
value="id( substring(@next,2) )"/>
<sch:let name="ptr2me"
value="concat('#', @xml:id )"/>
<sqf:add target="prev"
node-type="attribute" match="$next" select="$ptr2me"/>
</sqf:fix>
<sqf:fix id="notnexted">
<sqf:description>
<sqf:title>Point at me with a @next</sqf:title>
<sqf:p>Add a @next that points to me to the element I point to with @prev</sqf:p>
</sqf:description>
<sch:let name="prev"
value="id( substring(@prev,2) )"/>
<sch:let name="ptr2me"
value="concat('#', @xml:id )"/>
<sqf:add target="next"
node-type="attribute" match="$prev" select="$ptr2me"/>
</sqf:fix>
<sqf:fix id="nextless">
<sqf:description>
<sqf:title>Add missing @next</sqf:title>
<sqf:p>For an element that is pointed to by a @prev but does not have an @next, add the @next</sqf:p>
</sqf:description>
<sch:let name="myID" value="@xml:id"/>
<sqf:add node-type="attribute"
target="next"
select="concat('#',//*[@prev/normalize-space(.) eq concat('#',$myID)][1]/@xml:id)"/>
</sqf:fix>
<sqf:fix id="prevless">
<sqf:description>
<sqf:title>Add missing @prev</sqf:title>
<sqf:p>For an element that is pointed to by a @next but does not have an @prev, add the @prev</sqf:p>
</sqf:description>
<sch:let name="myID" value="@xml:id"/>
<sqf:add node-type="attribute"
target="prev"
select="concat('#',//*[@next/normalize-space(.) eq concat('#',$myID)][1]/@xml:id)"/>
</sqf:fix>
</sqf:fixes> | ||||||||||||||||||||||||||||||||
| Schematron |
<sch:rule context="@prev|@next">
<sch:let name="element" value=".."/>
<sch:let name="me"
value="normalize-space(.)"/>
<sch:let name="ptr"
value="if ( starts-with( $me,'#') ) then substring-after( $me,'#') else 'ERROR!?!'"/>
<sch:let name="hasSpace"
value="contains( $me,' ')"/>
<sch:let name="points2local"
value="exists( id( $ptr ) )"/>
<sch:let name="points2same"
value="id( $ptr ) is $element"/>
<sch:let name="points2sameGI"
value="name( $element ) eq name( id( $ptr ) )"/>
<sch:let name="pointsAfter"
value="id( $ptr ) >> $element"/>
<sch:let name="pointsBefore"
value="$element >> id( $ptr )"/>
<sch:let name="msg_part_1"
value="concat( '@', name(.), ' of <', name( $element ), '> ', if (../@xml:id)
then concat('(with @xml:id "', ../@xml:id,'")') else '' )"/>
<sch:report test="$hasSpace">
<sch:value-of select="$msg_part_1"/> has more than 1 pointer (a space in a URI should be written '%20')</sch:report>
<sch:assert test="if ( not( $hasSpace ) ) then ( $points2local ) else true()">
<sch:value-of select="$msg_part_1"/> does not point to a local element.</sch:assert>
<sch:report test="if ( not( $hasSpace ) ) then ( $points2same ) else false()">
<sch:value-of select="$msg_part_1"/> points to itself.</sch:report>
<sch:assert test="if ( not( $hasSpace ) and $points2local ) then ( $points2sameGI )
else true()">
<sch:value-of select="$msg_part_1"/> points to a <<sch:value-of select="name( id( $ptr ) )"/>> (it should point to another <<sch:value-of select="name( $element )"/>>).</sch:assert>
<sch:assert test="if ( not( $hasSpace ) and $points2local and local-name(.) eq 'prev'
and not( $points2same ) ) then ( $pointsBefore ) else 'true()'">
<sch:value-of select="$msg_part_1"/> points to a <<sch:value-of select="name( id( $ptr ) )"/>> that is after itself.</sch:assert>
<sch:assert test="if ( not( $hasSpace ) and $points2local and local-name(.) eq 'next'
and not( $points2same ) ) then ( $pointsAfter ) else 'true()'">
<sch:value-of select="$msg_part_1"/> points to a <<sch:value-of select="name( id( $ptr ) )"/>> that is prior to itself.</sch:assert>
</sch:rule> | ||||||||||||||||||||||||||||||||
| Note | The WWP does not use the TEI synch, copyOf, exclude, or select 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 | ||||||||||||||||||||||||||||||
| Members | att.global[TEI ab abbr acrostic acrostics actor add addSpan addrLine address adds advertisement alt altGrp am anagram anagrams analytic anchor argument att author availability back bibl biblScope biblStruct body respLine calendar calendarDesc castGroup castItem castList catDesc catRef category cb cell change char charDecl choice citedRange classDecl closer code corr correction damageSpan date dateline del delSpan desc dimensions distinct div docRole docAuthorization docDate docEdition docImprint docSale edition editionStmt editor editorialDecl elision email emph encodingDesc epigraph ex expan extent figDesc figure fileDesc floatingText foreign front funder mw g gap gi gloss graphic group handNote handNotes handShift head headItem headLabel height hi hyphenation ident idno imprimatur imprint include item l label langUsage language lb lg licence line link linkGrp list listBibl listPrefixDef listTranspose mapping mcr measure mentioned metamark milestone mod monogr name normalization note notes notesStmt num opener orgName orig p pb persName placeName postscript prefixDef profileDesc projectDesc ptr pubPlace publicationStmt publisher quotation quote redo ref reg regMe rendition resp respStmt revisionDesc role roleDesc row rs said salute samplingDecl seg series set sic signed soCalled sourceDesc sp spGrp space speaker sponsor stage subst substJoin supplied surplus table tag tagsDecl taxonomy teiCorpus teiHeader term text textClass time title titleBlock titlePart titleStmt trailer translator transpose unclear undo unknown val vuji width] | ||||||||||||||||||||||||||||||
| 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.5. Simple Editorial Changes 12.3.2.2. Hand, Responsibility, and Certainty Attributes 18.3. Spans and Interpretations 14.1.1. Linking Names and Their Referents] | |||||||||||||||
| Module | tei | ||||||||||||||
| Members | att.global[TEI ab abbr acrostic acrostics actor add addSpan addrLine address adds advertisement alt altGrp am anagram anagrams analytic anchor argument att author availability back bibl biblScope biblStruct body respLine calendar calendarDesc castGroup castItem castList catDesc catRef category cb cell change char charDecl choice citedRange classDecl closer code corr correction damageSpan date dateline del delSpan desc dimensions distinct div docRole docAuthorization docDate docEdition docImprint docSale edition editionStmt editor editorialDecl elision email emph encodingDesc epigraph ex expan extent figDesc figure fileDesc floatingText foreign front funder mw g gap gi gloss graphic group handNote handNotes handShift head headItem headLabel height hi hyphenation ident idno imprimatur imprint include item l label langUsage language lb lg licence line link linkGrp list listBibl listPrefixDef listTranspose mapping mcr measure mentioned metamark milestone mod monogr name normalization note notes notesStmt num opener orgName orig p pb persName placeName postscript prefixDef profileDesc projectDesc ptr pubPlace publicationStmt publisher quotation quote redo ref reg regMe rendition resp respStmt revisionDesc role roleDesc row rs said salute samplingDecl seg series set sic signed soCalled sourceDesc sp spGrp space speaker sponsor stage subst substJoin supplied surplus table tag tagsDecl taxonomy teiCorpus teiHeader term text textClass time title titleBlock titlePart titleStmt trailer translator transpose unclear undo unknown val vuji width] | ||||||||||||||
| 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 attributes 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 | ||||||||||
| Members | att.global[TEI ab abbr acrostic acrostics actor add addSpan addrLine address adds advertisement alt altGrp am anagram anagrams analytic anchor argument att author availability back bibl biblScope biblStruct body respLine calendar calendarDesc castGroup castItem castList catDesc catRef category cb cell change char charDecl choice citedRange classDecl closer code corr correction damageSpan date dateline del delSpan desc dimensions distinct div docRole docAuthorization docDate docEdition docImprint docSale edition editionStmt editor editorialDecl elision email emph encodingDesc epigraph ex expan extent figDesc figure fileDesc floatingText foreign front funder mw g gap gi gloss graphic group handNote handNotes handShift head headItem headLabel height hi hyphenation ident idno imprimatur imprint include item l label langUsage language lb lg licence line link linkGrp list listBibl listPrefixDef listTranspose mapping mcr measure mentioned metamark milestone mod monogr name normalization note notes notesStmt num opener orgName orig p pb persName placeName postscript prefixDef profileDesc projectDesc ptr pubPlace publicationStmt publisher quotation quote redo ref reg regMe rendition resp respStmt revisionDesc role roleDesc row rs said salute samplingDecl seg series set sic signed soCalled sourceDesc sp spGrp space speaker sponsor stage subst substJoin supplied surplus table tag tagsDecl taxonomy teiCorpus teiHeader term text textClass time title titleBlock titlePart titleStmt trailer translator transpose unclear undo unknown val vuji width] | ||||||||||
| Attributes |
| ||||||||||
| Schematron |
<sch:rule context="tei:*[@source]">
<sch:let name="srcs"
value="tokenize( normalize-space(@source),' ')"/>
<sch:report test="( self::tei:classRef | self::tei:dataRef | self::tei:elementRef |
self::tei:macroRef | self::tei:moduleRef | self::tei:schemaSpec )
and $srcs[2]"> When used on a schema description element (like
<sch:value-of select="name(.)"/>), the @source attribute
should have only 1 value. (This one has <sch:value-of select="count($srcs)"/>.)
</sch:report>
</sch:rule> | ||||||||||
| 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.handFeatures provides attributes describing aspects of the hand in which a manuscript is written. [12.3.2.1. Document Hands] | |||||||||||||||||||||||||||||||
| Module | tei | ||||||||||||||||||||||||||||||
| Members | handNote handShift | ||||||||||||||||||||||||||||||
| Attributes |
| ||||||||||||||||||||||||||||||
| Note | Usually either script or scriptRef, and similarly, either scribe or scribeRef, will be supplied. | ||||||||||||||||||||||||||||||
| att.internetMedia provides attributes for specifying the type of a computer resource using a standard taxonomy. | |||||||
| Module | tei | ||||||
| Members | att.media[graphic] ptr ref | ||||||
| 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="https://raw.githubusercontent.com/TEIC/TEI/dev/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.measurement provides attributes to represent a regularized or normalized measurement. | |||||||||||||||||||||||||||||||
| Module | tei | ||||||||||||||||||||||||||||||
| Members | measure | ||||||||||||||||||||||||||||||
| Attributes |
| ||||||||||||||||||||||||||||||
| Schematron |
<sch:rule context="wwp:extent/wwp:measure">
<sch:assert test="@unit">When <measure> is used inside <extent> (typically in the <teiHeader>) it should have a @unit.</sch:assert>
</sch:rule>
<sch:rule context="wwp:measure[ not( parent::wwp:extent ) ]">
<sch:report test="@unit">When <measure> is used as a transcriptional element (i.e., inside <text>, not <teiHeader>) it should not have a @unit.</sch:report>
</sch:rule> | ||||||||||||||||||||||||||||||
| Schematron |
<sch:rule context="tei:*[@unitRef]">
<sch:report test="@unit" role="info">The @unit attribute may be unnecessary when @unitRef is present.</sch:report>
</sch:rule> | ||||||||||||||||||||||||||||||
| Note | This attribute class provides a triplet of attributes that may be used either to regularize the values of the measurement being encoded, or to normalize them with respect to a standard measurement system. <l>So weren't you gonna buy <measure quantity="0.5" unit="gal"
commodity="ice cream">half
a gallon</measure>, baby</l>
<l>So won't you go and buy <measure quantity="1.893" unit="L"
commodity="ice cream">half
a gallon</measure>, baby?</l> The unit should normally be named using the standard symbol for an SI unit (see further http://www.bipm.org/en/publications/si-brochure/; http://physics.nist.gov/cuu/Units/). However, encoders may also specify measurements using informally defined units such as lines or characters. | ||||||||||||||||||||||||||||||
| att.media provides attributes for specifying display and related properties of external media. | |||||||||||||||||||
| Module | tei | ||||||||||||||||||
| Members | graphic | ||||||||||||||||||
| Attributes |
| ||||||||||||||||||
| att.msExcerpt (manuscript excerpt) provides attributes used to describe excerpts from a manuscript placed in a description thereof. [11.6. Intellectual Content] | |||||||
| Module | msdescription | ||||||
| Members | quote | ||||||
| Attributes |
| ||||||
| Note | In the case of an incipit, indicates whether the incipit as given is defective, i.e. the first words of the text as preserved, as opposed to the first words of the work itself. In the case of an explicit, indicates whether the explicit as given is defective, i.e. the final words of the text as preserved, as opposed to what the closing words would have been had the text of the work been whole. | ||||||
| att.naming provides attributes common to elements which refer to named persons, places, organizations etc. [3.6.1. Referring Strings 14.3.7. Names and Nyms] | |||||||||||||||
| Module | tei | ||||||||||||||
| Members | att.personal[name orgName persName placeName] author editor pubPlace rs translator | ||||||||||||||
| Attributes |
| ||||||||||||||
| att.notated provides attributes to indicate any specialised notation used for element content. | |||||||
| Module | tei | ||||||
| Members | quote seg | ||||||
| Attributes |
| ||||||
| att.patternReplacement provides attributes for regular-expression matching and replacement. [17.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 | ||||||||||||||||
| Members | prefixDef | ||||||||||||||||
| 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. [14.2.1. Personal Names] | |||||||||||||||
| Module | tei | ||||||||||||||
| Members | name orgName persName placeName | ||||||||||||||
| 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.7. Simple Links and Cross-References] | |||||||||||||||||||||||||||||||
| Module | tei | ||||||||||||||||||||||||||||||
| Members | att.pointing.group[altGrp linkGrp] alt anagram calendar catRef citedRange gloss licence link note ptr ref substJoin term | ||||||||||||||||||||||||||||||
| Attributes |
| ||||||||||||||||||||||||||||||
| att.pointing.group provides a set of attributes common to all elements which enclose groups of pointer elements. [17. Linking, Segmentation, and Alignment] | |||||||||||||||||
| Module | tei | ||||||||||||||||
| Members | altGrp linkGrp | ||||||||||||||||
| Attributes |
| ||||||||||||||||
| att.resourced provides attributes by which a resource (such as an externally held media file) may be located. | |||||||
| Module | tei | ||||||
| Members | graphic | ||||||
| Attributes |
| ||||||
| att.scope provides attributes to describe, in general terms, the scope of an element’s application. | |||||||||||||
| Module | tei | ||||||||||||
| Members | att.handFeatures[handNote handShift] language | ||||||||||||
| Attributes |
| ||||||||||||
| att.segLike provides attributes for elements used for arbitrary segmentation. [17.3. Blocks, Segments, and Anchors 18.1. Linguistic Segment Categories] | |||||||||
| Module | tei | ||||||||
| Members | seg | ||||||||
| 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. [10.1. Dictionary Body and Overall Structure] | |||||||||||
| Module | tei | ||||||||||
| Members | bibl biblStruct idno item list listBibl term | ||||||||||
| Attributes |
| ||||||||||
| att.spanning provides attributes for elements which delimit a span of text by pointing mechanisms rather than by enclosing it. [12.3.1.4. Additions and Deletions 1.3.1. Attribute Classes] | |||||||||
| Module | tei | ||||||||
| Members | addSpan cb damageSpan delSpan lb metamark milestone mod pb redo undo | ||||||||
| Attributes |
| ||||||||
| Schematron | The @spanTo attribute must point to an element following the current element; however, this can only be tested if both this element and the one pointed to are in the same document.
<sch:rule context="tei:*[ starts-with( @spanTo, '#') ]">
<sch:assert test="id( substring( @spanTo, 2 ) ) >> .">The element indicated by @spanTo (<sch:value-of select="@spanTo"/>) must follow the current <sch:name/> element
</sch:assert>
</sch:rule> | ||||||||
| 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.structuralCategorization provides a type attribute with a closed value list suitable for use with structural elements like <text>, <floatingText>, and <div>. | |||||||||||||||||
| Module | derived-module-wwp-store | ||||||||||||||||
| Members | body div floatingText | ||||||||||||||||
| Attributes |
| ||||||||||||||||
| Schematron |
<sch:rule context="wwp:body[@type]">
<sch:assert test="@type = ('act', 'confession', 'dialogue', 'drama', 'dramaPart', 'essay',
'examination', 'letter', 'meditation', 'narrative', 'nonfictionProse',
'novel', 'novelPart', 'petition', 'poem', 'poemGroup', 'prayer', 'speech',
'tract', 'undetermined')">warning: the "<sch:value-of select="@type"/>" value of @type is not intended to be used on <body>.</sch:assert>
</sch:rule> | ||||||||||||||||
| Schematron |
<sch:rule context="wwp:div[ not( @type ) ]">
<sch:report test="true()">divisions should be catagorized, but this one is not (i.e., @type is required, but is missing here)</sch:report>
</sch:rule> | ||||||||||||||||
| Schematron |
<sch:rule context="wwp:div">
<sch:assert test="@type = ('act', 'advert', 'argument', 'book', 'calendar', 'castlist',
'chapter', 'colophon', 'concluding', 'confession', 'contents', 'corrigenda',
'ded', 'dialogue', 'docAuthorization', 'drama', 'endnotes', 'entry',
'epigraph', 'epilogue', 'essay', 'examination', 'frontispiece', 'imprimatur',
'index', 'letter', 'meditation', 'narrative', 'part', 'petition',
'poem', 'poemGroup', 'prayer', 'prefatory', 'prologue', 'recipe',
'scene', 'section', 'speech', 'subsection', 'timeline', 'tract', 'undetermined',
'vignette')">warning: the "<sch:value-of select="@type"/>" value of @type is not intended to be used on <div>.</sch:assert>
</sch:rule> | ||||||||||||||||
| att.tableDecoration provides attributes used to decorate rows or cells of a table. [15. Tables, Formulæ, Graphics, and Notated Music] | |||||||||||||||||||||||||||||||
| Module | figures | ||||||||||||||||||||||||||||||
| Members | cell row | ||||||||||||||||||||||||||||||
| Attributes |
| ||||||||||||||||||||||||||||||
| att.transcriptional provides attributes specific to elements encoding authorial or scribal intervention in a text when transcribing manuscript or similar sources. [12.3.1.4. Additions and Deletions] | |||||||||||||
| Module | tei | ||||||||||||
| Members | add addSpan del delSpan mod redo subst substJoin undo | ||||||||||||
| Attributes |
| ||||||||||||
| Note | The WWP does not use the TEI transcriptional status attribute. | ||||||||||||
| att.translatable provides attributes used to indicate the status of a translatable portion of an ODD document. | |||||||||
| Module | tagdocs | ||||||||
| Members | desc gloss | ||||||||
| Attributes |
| ||||||||
| att.typed provides attributes that can be used to classify or subclassify elements in any way. [1.3.1. Attribute Classes 18.1.1. Words and Above 3.6.1. Referring Strings 3.7. Simple Links and Cross-References 3.6.5. Abbreviations and Their Expansions 3.13.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 14.3.2.3. Personal Relationships 12.3.1.1. Core Elements for Transcriptional Work 17.1.1. Pointers and Links 17.3. Blocks, Segments, and Anchors 13.2. Linking the Apparatus to the Text 23.5.1.2. Defining Content Models: RELAX NG 8.3. Elements Unique to Spoken Texts 24.3.1.3. Modification of Attribute and Attribute Value Lists] | |||||||||||||||||||
| Module | tei | ||||||||||||||||||
| Members | att.pointing.group[altGrp linkGrp] TEI ab abbr add addSpan alt am anchor bibl biblStruct calendar castItem cb change corr damageSpan date del delSpan desc dimensions distinct elision figure mw g gloss graphic group head ident idno label lb lg line link listBibl mapping measure milestone mod name note num orgName pb persName placeName ptr quote ref reg rs seg spGrp space tag teiCorpus term time title titleBlock titlePart trailer unknown | ||||||||||||||||||
| 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 24.3.1.3. Modification of Attribute and Attribute Value Lists . | ||||||||||||||||||
| att.written provides attributes to indicate the hand in which the content of an element was written in the source being transcribed. [1.3.1. Attribute Classes] | |||||||
| Module | tei | ||||||
| Members | att.damaged[damageSpan] att.transcriptional[add addSpan del delSpan mod redo subst substJoin undo] ab closer dateline div emph figure mw head hi label line note opener p postscript salute seg signed sp speaker stage text trailer | ||||||
| Attributes |
| ||||||
| macro.abContent (anonymous block content) defines the content of anonymous block elements. [1.3. The TEI Class System] | |
| Module | tei |
| Used by | |
| Content model |
<content>
<alternate minOccurs="0"
maxOccurs="unbounded">
<textNode/>
<classRef key="model.paraPart"/>
<elementRef key="ab"/>
</alternate>
</content>
⚓ |
| Declaration | ws_macro.abContent = ( text | ws_model.paraPart | ws_ab )*⚓ |
| 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 |
| Used by | |
| Content model |
<content>
<alternate minOccurs="0"
maxOccurs="unbounded">
<textNode/>
<classRef key="model.limitedPhrase"/>
<classRef key="model.inter"/>
</alternate>
</content>
⚓ |
| Declaration | ws_macro.limitedContent = ( text | ws_model.limitedPhrase | ws_model.inter )*⚓ |
| macro.noteContent | |
| Module | derived-module-wwp-store |
| Used by | |
| Content model |
<content>
<alternate minOccurs="1" maxOccurs="1">
<sequence minOccurs="1" maxOccurs="1">
<classRef key="model.global"
minOccurs="0" maxOccurs="unbounded"/>
<sequence minOccurs="1" maxOccurs="1">
<sequence minOccurs="0"
maxOccurs="unbounded">
<classRef key="model.noteTop"/>
<classRef key="model.global"
minOccurs="0" maxOccurs="unbounded"/>
</sequence>
<sequence minOccurs="1" maxOccurs="1">
<sequence minOccurs="1"
maxOccurs="unbounded">
<classRef key="model.notePart"/>
<classRef key="model.global"
minOccurs="0" maxOccurs="unbounded"/>
</sequence>
<sequence minOccurs="0"
maxOccurs="unbounded">
<classRef key="model.noteBottom"/>
<classRef key="model.global"
minOccurs="0" maxOccurs="unbounded"/>
</sequence>
</sequence>
</sequence>
</sequence>
<sequence minOccurs="1"
maxOccurs="unbounded">
<elementRef key="byline"/>
<classRef key="model.global"
minOccurs="0" maxOccurs="unbounded"/>
</sequence>
</alternate>
</content>
⚓ |
| Declaration |
ws_macro.noteContent =
(
ws_model.global*,
(
( ( ws_model.noteTop, ws_model.global* )* ),
(
( ( ws_model.notePart, ws_model.global* )+ ),
( ( ws_model.noteBottom, ws_model.global* )* )
)
)
)
| ( ( ws_byline, ws_model.global* )+ )⚓ |
| macro.paraContent (paragraph content) defines the content of paragraphs and similar elements. [1.3. The TEI Class System] | |
| Module | tei |
| Used by | |
| Content model |
<content>
<alternate minOccurs="0"
maxOccurs="unbounded">
<textNode/>
<classRef key="model.paraPart"/>
</alternate>
</content>
⚓ |
| Declaration | ws_macro.paraContent = ( text | ws_model.paraPart )*⚓ |
| macro.phraseSeq (phrase sequence) defines a sequence of character data and phrase-level elements. [1.4.1. Standard Content Models] | |
| Module | tei |
| Used by | abbr acrostic actor addrLine anagram author biblScope citedRange country distinct docDate docRole edition editor email expan foreign gloss headItem headLabel label measure mentioned mw name num orgName persName placeName pubPlace publisher regMe region role roleDesc rs settlement soCalled speaker term translator |
| Content model |
<content>
<alternate minOccurs="0"
maxOccurs="unbounded">
<textNode/>
<classRef key="model.gLike"/>
<classRef key="model.attributable"/>
<classRef key="model.phrase"/>
<classRef key="model.global"/>
</alternate>
</content>
⚓ |
| Declaration |
ws_macro.phraseSeq =
(
text
| ws_model.gLike
| ws_model.attributable
| ws_model.phrase
| ws_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 |
| Used by | |
| Content model |
<content>
<alternate minOccurs="0"
maxOccurs="unbounded">
<textNode/>
<classRef key="model.limitedPhrase"/>
<classRef key="model.global"/>
</alternate>
</content>
⚓ |
| Declaration | ws_macro.phraseSeq.limited = ( text | ws_model.limitedPhrase | ws_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 |
| 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 |
ws_macro.specialPara =
(
text
| ws_model.gLike
| ws_model.phrase
| ws_model.inter
| ws_model.divPart
| ws_model.global
)*⚓ |
| teidata.certainty defines the range of attribute values expressing a degree of certainty. | |
| Module | tei |
| Used by | |
| Content model |
<content>
<valList type="closed">
<valItem ident="high"/>
<valItem ident="medium"/>
<valItem ident="low"/>
<valItem ident="unknown"/>
</valList>
</content>
⚓ |
| Declaration | ws_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 |
| Used by | |
| Content model |
<content>
<dataRef name="nonNegativeInteger"/>
</content>
⚓ |
| Declaration | ws_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 |
| Used by | |
| Content model |
<content>
<dataRef name="token"
restriction="[0-9.,DHMPRSTWYZ/:+\-]+"/>
</content>
⚓ |
| Declaration |
ws_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 |
| Used by | |
| Content model |
<content>
<dataRef name="duration"/>
</content>
⚓ |
| Declaration | ws_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 |
| Used by | teidata.gender teidata.sexElement:
|
| Content model |
<content>
<dataRef key="teidata.word"/>
</content>
⚓ |
| Declaration | ws_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.gender defines the range of attribute values used to represent the gender of a person, persona, or character. | |
| Module | tei |
| Used by | Element:
|
| Content model |
<content>
<dataRef key="teidata.enumerated"/>
</content>
⚓ |
| Declaration | ws_teidata.gender = teidata.enumerated⚓ |
| Note | Values for attributes using this datatype may be defined locally by a project, or they may refer to an external standard. Values for this datatype should not be used to encode morphological gender (cf. <gen>, msd as defined in att.linguistic, and 10.3.1. Information on Written and Spoken Forms). |
| 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 |
| Used by | |
| Content model |
<content>
<alternate>
<dataRef name="language"/>
<valList>
<valItem ident=""/>
</valList>
</alternate>
</content>
⚓ |
| Declaration | ws_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 |
| Used by | |
| Content model |
<content>
<dataRef name="Name"/>
</content>
⚓ |
| Declaration | ws_teidata.name = xsd:Name⚓ |
| Note | Attributes using this datatype must contain a single word which follows the rules defining a legal XML name (see https://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 |
| Used by | |
| Content model |
<content>
<dataRef restriction="\S+" name="anyURI"/>
</content>
⚓ |
| Declaration |
ws_teidata.namespace = xsd:anyURI { pattern = "\S+" }⚓ |
| 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 |
| Used by | Element:
|
| Content model |
<content>
<alternate>
<dataRef name="double"/>
<dataRef name="token"
restriction="(\-?[\d]+/\-?[\d]+)"/>
<dataRef name="decimal"/>
</alternate>
</content>
⚓ |
| Declaration |
ws_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 |
| Used by | |
| Content model |
<content>
<dataRef name="token"
restriction="[\-+]?\d+(\.\d+)?(%|cm|mm|in|pt|pc|px|em|ex|ch|rem|vw|vh|vmin|vmax)"/>
</content>
⚓ |
| Declaration |
ws_teidata.outputMeasurement =
token
{
pattern = "[\-+]?\d+(\.\d+)?(%|cm|mm|in|pt|pc|px|em|ex|ch|rem|vw|vh|vmin|vmax)"
}⚓ |
| 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 |
| Used by | |
| Content model |
<content>
<dataRef name="token"/>
</content>
⚓ |
| Declaration | ws_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 |
| Used by | |
| Content model |
<content>
<dataRef name="token"
restriction="(-?[0-9]+(\.[0-9]+)?,-?[0-9]+(\.[0-9]+)?)"/>
</content>
⚓ |
| Declaration |
ws_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 should be expressed as decimal numbers. Neither number can end in a decimal point. E.g., both 0.0,84.2 and 0,84 are allowed, but 0.,84. is not. |
| 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 |
| Used by | |
| Content model |
<content>
<dataRef restriction="\S+" name="anyURI"/>
</content>
⚓ |
| Declaration |
ws_teidata.pointer = xsd:anyURI { pattern = "\S+" }⚓ |
| 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 |
| Used by | Element:
|
| Content model |
<content>
<dataRef name="token"
restriction="[a-z][a-z0-9\+\.\-]*"/>
</content>
⚓ |
| Declaration |
ws_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 |
| Used by | |
| Content model |
<content>
<alternate>
<dataRef key="teidata.probability"/>
<dataRef key="teidata.certainty"/>
</alternate>
</content>
⚓ |
| Declaration | ws_teidata.probCert = teidata.probability | teidata.certainty⚓ |
| teidata.probability defines the range of attribute values expressing a probability. | |
| Module | tei |
| Used by | |
| Content model |
<content>
<dataRef name="double">
<dataFacet name="minInclusive" value="0"/>
<dataFacet name="maxInclusive" value="1"/>
</dataRef>
</content>
⚓ |
| Declaration | ws_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.sex defines the range of attribute values used to identify the sex of an organism. | |
| Module | tei |
| Used by | Element:
|
| Content model |
<content>
<dataRef key="teidata.enumerated"/>
</content>
⚓ |
| Declaration | ws_teidata.sex = teidata.enumerated⚓ |
| Note | Values for attributes using this datatype may be defined locally by a project, or they may refer to an external standard. |
| teidata.temporal.iso 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 international standard Data elements and interchange formats – Information interchange – Representation of dates and times. | |
| Module | tei |
| Used by | |
| 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"/>
<dataRef name="token"
restriction="[0-9.,DHMPRSTWYZ/:+\-]+"/>
</alternate>
</content>
⚓ |
| Declaration |
ws_teidata.temporal.iso =
xsd:date
| xsd:gYear
| xsd:gMonth
| xsd:gDay
| xsd:gYearMonth
| xsd:gMonthDay
| xsd:time
| xsd:dateTime
| token { pattern = "[0-9.,DHMPRSTWYZ/:+\-]+" }⚓ |
| 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. For all representations for which ISO 8601:2004 describes both a basic and an extended format, these Guidelines recommend use of the extended format. |
| 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 |
| 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 | ws_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.temporal.working defines the range of values, conforming to the W3C XML Schema Part 2: Datatypes Second Edition specification, expressing a date or a date and a time within the working life of the document. | |
| Module | tei |
| Used by | |
| Content model |
<content>
<alternate>
<dataRef name="date"
restriction="(19[789][0-9]|[2-9][0-9]{3}).*"/>
<dataRef name="dateTime"
restriction="(19[789][0-9]|[2-9][0-9]{3}).*"/>
</alternate>
</content>
⚓ |
| Declaration |
ws_teidata.temporal.working =
xsd:date { pattern = "(19[789][0-9]|[2-9][0-9]{3}).*" }
| xsd:dateTime { pattern = "(19[789][0-9]|[2-9][0-9]{3}).*" }⚓ |
| 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. The earliest time expressable with this datatype is 01 January 1970 (the Unix Epoch), which could be written as either 1970-01-01 or 1970-01-01T00:00:00Z. |
| 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 |
| Used by | |
| Content model |
<content>
<dataRef name="string"/>
</content>
⚓ |
| Declaration | ws_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 |
| Used by | Element:
|
| Content model |
<content>
<dataRef name="boolean"/>
</content>
⚓ |
| Declaration | ws_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: teidata.xTruthValue. |
| teidata.unboundedCount defines the range of values used for a counting number or the string unbounded for infinity. | |
| Module | tei |
| Used by | |
| Content model |
<content>
<alternate>
<dataRef name="nonNegativeInteger"/>
<valList type="closed">
<valItem ident="unbounded"/>
</valList>
</alternate>
</content>
⚓ |
| Declaration | ws_teidata.unboundedCount = 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 |
| Used by | |
| Content model |
<content>
<dataRef name="token"
restriction="[\d]+(\.[\d]+){0,2}"/>
</content>
⚓ |
| Declaration |
ws_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 (https://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 |
| Used by | |
| Content model |
<content>
<dataRef name="token"
restriction="[\d]+[a-z]*[\d]*(\.[\d]+[a-z]*[\d]*){0,3}"/>
</content>
⚓ |
| Declaration |
ws_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 |
| Used by | |
| Content model |
<content rend="replace">
<dataRef name="token"
restriction="(\p{L}|\p{N}|\p{P}|\p{S}|⸿)+"/>
</content>
⚓ |
| Declaration |
ws_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.xTruthValue (extended truth value) defines the range of attribute values used to express a truth value which may be unknown. | |
| Module | tei |
| Used by | |
| Content model |
<content>
<alternate>
<dataRef name="boolean"/>
<valList>
<valItem ident="unknown"/>
<valItem ident="inapplicable"/>
</valList>
</alternate>
</content>
⚓ |
| Declaration | ws_teidata.xTruthValue = xsd:boolean | ( "unknown" | "inapplicable" )⚓ |
| Note | In cases where where uncertainty is inappropriate, use the datatype teidata.TruthValue. |
| teidata.xpath defines attribute values which contain an XPath expression. | |
| Module | tei |
| Used by | |
| Content model |
<content>
<textNode/>
</content>
⚓ |
| Declaration | ws_teidata.xpath = text⚓ |
| Note | Any XPath expression using the syntax defined in 6.2.. When writing programs that evaluate XPath expressions, programmers should be mindful of the possibility of malicious code injection attacks. For further information about XPath injection attacks, see the article at OWASP. |
| wwpdata.sex Possible values for representation of sex and gender | |
| Module | derived-module-wwp-store |
| Used by | |
| Content model |
<content>
malefemalemixedunknowninapplicablefemale-as-malemale-as-female
</content>
⚓ |
| Declaration | ws_wwpdata.sex = "male" | "female" | "mixed" | "unknown" | "inapplicable" | "female-as-male" | "male-as-female"⚓ |
| Example | In The Matrimonial Trouble by Margaret Cavendish, ‘Mister Disguise’ is the persona adopted by Mistress Forsaken. <castItem>
<role gender="female-as-male">
<persName>Monſieur Diſguiſe</persName>.</role>
</castItem> |
| Schematron |
<sch:rule context="wwp:teiHeader">
<sch:let name="hdr"
value="substring-before( normalize-space( @xml:id ),'.hdr')"/>
<sch:let name="idno"
value="normalize-space( wwp:fileDesc/wwp:publicationStmt/wwp:idno[@type eq
'WWP'] )"/>
<sch:let name="textID"
value="normalize-space( ../wwp:text/@xml:id )"/>
<sch:let name="sourceDescs"
value="/wwp:TEI/wwp:teiHeader/wwp:fileDesc/wwp:sourceDesc"/>
<sch:let name="sourceDesc"
value="$sourceDescs[ not( @default eq 'false') ]"/>
<sch:let name="source"
value="normalize-space( $sourceDesc/@n )"/>
<sch:assert test="matches( $hdr, '^TR[0-9]{5}(\.[0-9]{2})?$')">TEI Header ID is not in correct format</sch:assert>
<sch:assert test="matches( $idno, '^TR[0-9]{5}(\.[0-9]{2})?$')">WWP idno is not in correct format</sch:assert>
<sch:assert test="matches( $textID,'^TR[0-9]{5}(\.[0-9]{2})?$')">
<att>xml:id</att> of <gi>text</gi> is not a proper TR number</sch:assert>
<sch:assert test="matches( $source,'^OT[0-9]{5}(\.[0-9]{2})?$')">
<att>n</att> of <gi>sourceDesc</gi> is not a proper OT number</sch:assert>
<sch:assert test="$idno eq $textID and substring( $idno, 3 ) eq substring( $source,
3 ) and $idno eq $hdr">TR and OT numbers do not all match.</sch:assert>
</sch:rule> |
| Schematron |
<sch:rule context="*[ @corresp ]">
<sch:let name="ptr2me"
value="concat('#', @xml:id )"/>
<sch:report test="tokenize( normalize-space( @corresp ),' ') = $ptr2me">ERROR: the <sch:value-of select="name()"/> element with id=<sch:value-of select="@xml:id"/> corresponds to itself</sch:report>
</sch:rule> |
| Schematron |
<sch:rule context="/*">
<sch:let name="training"
value="contains( base-uri(/), '/training/' )"/>
<sch:let name="myfn"
value="tokenize( base-uri(/),'/')[last()]"/>
<sch:let name="mybase"
value="replace( $myfn, '\.x(m|inc)l$','')"/>
<sch:let name="URLidno"
value="wwp:teiHeader/wwp:fileDesc/wwp:publicationStmt/wwp:idno[@type eq 'URL']"/>
<sch:let name="URLidnobase"
value="substring-before( tokenize( $URLidno,'/')[last()],'.html')"/>
<sch:let name="svnIDnot"
value="exists( /comment()[contains( ., concat('$','Id','$') ) ] )"/>
<sch:let name="SVN"
value="tokenize( normalize-space( /comment()[contains( ., concat('$','Id',':')
) ] ), ' ')"/>
<sch:let name="SVNfn" value="$SVN[2]"/>
<sch:let name="SVNbase"
value="substring-before( $SVNfn,'.xml')"/>
<sch:assert test="$URLidnobase eq $mybase">URL idno "<sch:value-of select="$URLidnobase"/>" does not match filename "<sch:value-of select="$mybase"/>"</sch:assert>
<sch:report test="count( $SVN ) eq 0 and not( $svnIDnot )">Subversion 'Id' keyword comment not found</sch:report>
<sch:report test="count( $SVN ) eq 0 and $svnIDnot">Subversion 'Id' keyword has not been substituted</sch:report>
<sch:assert test="$training or matches( $URLidno,'^https?://www\.wwp\.northeastern\.edu/texts/[A-Za-z0-9_-]+\.[A-Za-z0-9_-]+\.html$')">URL idno is not in correct format</sch:assert>
<sch:assert test="$training or $SVNbase eq $mybase">Subversion 'Id' filename "<sch:value-of select="$SVNbase"/>" does not match actual filename "<sch:value-of select="$mybase"/>" (because myfn=<sch:value-of select="$myfn"/>)</sch:assert>
<sch:assert test="$training or $SVNbase eq $URLidnobase">Subversion 'Id' filename "<sch:value-of select="$SVNbase"/>" does not match URL idno "<sch:value-of select="$URLidnobase"/>"</sch:assert>
</sch:rule> |
| Schematron |
<sch:pattern id="nest_me_part_not">
<sch:rule context="*[@part][.//@part]">
<sch:let name="myGI" value="name(.)"/>
<sch:let name="descendentGIs"
value=".//*[@part]/name()"/>
<sch:report test="$myGI = $descendentGIs"> This <sch:value-of select="$myGI"/> element has an @part, but also has a descendant <sch:value-of select="$myGI"/> that has an @part. (This is not allowed, use @next & @prev instead.)
</sch:report>
</sch:rule>
</sch:pattern> |
| Schematron |
<sch:pattern id="LessThan3InitialCharsDropped">
<sch:rule context="*[ matches( @rend,'class\s*\(#DIC\)') ]">
<sch:let name="len"
value="if ( .//wwp:sic | .//wwp:corr ) then max(( string-length( string-join(.//wwp:sic/normalize-space(),
'') ), string-length(string-join( .//wwp:corr/normalize-space(), ''))
)) else string-length( normalize-space(.) )"/>
<sch:assert test="$len lt 3"> A dropped initial capital is typically only 1 or at
most 2 characters long; this one is <sch:value-of select="$len"/> characters long.
</sch:assert>
</sch:rule>
</sch:pattern>
<sch:pattern id="concrete_rend_keyword_checker"
is-a="abstract_rendition_keyword_checker">
<sch:param name="rendLadderContext"
value="wwp:rendition"/>
</sch:pattern>
<sch:pattern id="concrete_rendition_keyword_checker"
is-a="abstract_rendition_keyword_checker">
<sch:param name="rendLadderContext"
value="wwp:*/@rend"/>
</sch:pattern>
<sch:pattern id="abstract_rendition_keyword_checker"
abstract="true">
<sch:rule context="$rendLadderContext">
<sch:let name="me"
value="normalize-space(.)"/>
<sch:let name="myself"
value="replace( replace( $me, ' ?\) ?',')'), ' ?\( ?','(')"/>
<sch:let name="I"
value="replace( replace( $myself,'\\\)','⸩'), '\\\(','⸨')"/>
<sch:let name="we"
value="replace( $I, 'be(stow|queath) \( \(([a-z-]+\([^)]*\))+\) \(([A-Za-z][A-Za-z0-9._-]*[
]?)+\) \)', '','x')"/>
<sch:let name="us"
value="tokenize( $we, '\([^)]*\)')"/>
<sch:assert test="every $ego in $us satisfies ( $ego = ('align', 'bestow', 'border',
'braced', 'bracing', 'break', 'case', 'columns', 'face', 'fill', 'first-indent',
'indent', 'place', 'pos', 'post', 'pre', 'rotate', 'slant', 'space-above',
'sub', 'sup', 'underline', 'underscore') or $ego = ('', 'class', 'inverted',
'myAnchor', 'right-indent', 'rotate', 'rotate-y') )"> I parsed the <sch:value-of select="if (self::wwp:rendition) then concat('content of <rendition> #', (@xml:id,count(
preceding::wwp:rendition)+1)[1]) else concat('@rend of a <', local-name(..),'>'
)"/>,
"<sch:value-of select="."/>", into the keywords "<sch:value-of select="for $ego in ($us) return concat('{',$ego,'}')"/>",
at least one of which is not a proper keyword.
</sch:assert>
</sch:rule>
</sch:pattern> |
| Schematron | Reminder: the resulting tests will never fire when used with probatron or other use of the reference implimentation iso_svrl_for_xslt2.xsl, because it outputs a ‘continuation’ <apply-templates> that selects only elements, not all nodes. However, neither oXygen nor mausatron has this problem, so this test does work while editing in oXygen or if you use mausatron (aka SchXslt). Note also that if there are two soft hyphens on one line both the ‘two shy!’ and ‘non-whitespace after shy!’ errors fire.
<sch:rule context="text()[contains(.,'')]">
<sch:let name="len" value="43"/>
<sch:let name="me"
value="normalize-space(.)"/>
<sch:let name="ellipsis"
value="if (string-length($me) > $len) then '…' else ''"/>
<sch:let name="snippet"
value="concat( substring( $me, 1, $len), $ellipsis )"/>
<sch:report test="ancestor::wwp:teiHeader">“<sch:value-of select="$snippet"/>”: shy in metadata!</sch:report>
<sch:report test="matches(.,'.*')">“<sch:value-of select="$snippet"/>”: two shy!</sch:report>
<sch:assert test="matches(.,'\s*$')">“<sch:value-of select="$snippet"/>”: non-whitespace after shy!</sch:assert>
<sch:assert test="following::text()">“<sch:value-of select="$snippet"/>”: nothing follows shy!</sch:assert>
</sch:rule> |