池田亀鑑『校異源氏物語』(中央公論社) を底本とする 校異源氏物語テキストデータベース のためのカスタマイズである。全54帖の TEI ファイル (xml/master/*.xml) は、 この ODD から生成した RELAX NG と Schematron の両方で検証される。
採用した符号化の方針は次のとおり。
w3id.org/kouigenjimonogatari) を指す。waka) とし、 5句をそれぞれ l として n に句番号を与える。スキーマだけでは表せない規則 (和歌は5句である、文書内の参照が解決する、など) は <constraintSpec> として ODD に直接書いてある。この ODD が唯一の正本であり、 docs/schema/tei_kouigenji.rng と docs/schema/tei_kouigenji.sch は scripts/build-schema.zsh で生成する。
| <author> (author) 書誌参照において、作品の著者となる人や法人の名前を、たとえば、よく知られた書誌典拠情報機関の形式で提供されるものに合わせるなどして記述する。 [3.12.2.2. Titles, Authors, and Editors 2.2.1. The Title Statement] | |
| Module | core |
| Attributes |
|
| Member of | |
| Contained by | |
| May contain | |
| Note | 特にヘッダの内容をもとに目録作成が行われると考えられる場合、この要素の内容を広く知られた名前典拠ファイルに準拠することを推奨する。 keyやref属性によって何らかの適切な典拠(たとえば図書館目録やオンライン情報のような)における著者(達)についての標準的な参照情報を示すこともできる。 放送番組の場合には、その番組の制作に責任を持つ放送局や放送ネットワークの名前を用いる。 著者が不明であったり不明確である場合、この要素は不詳や匿名のようなテキストであってもよい。 特に、複数の名前が用いられている場合には、適切なTEIモジュールを用いて、人や組織、場所に関する名前をより詳細にタグ付けしてもよい。 |
| Example | |
| Content model | <content> |
| Schema Declaration | element author { tei_att.global.attributes, tei_att.datable.attributes, tei_att.naming.attributes, tei_macro.phraseSeq } |
| <availability> (availability) テキストの利用許可に関する情報を示す。例えば、その使用や頒布の制限、著作権の状態、適用されるライセンス等。 [2.2.4. Publication, Distribution, Licensing, etc.] | |||||||||
| Module | header | ||||||||
| Attributes |
| ||||||||
| Member of | |||||||||
| Contained by | core: bibl header: publicationStmt | ||||||||
| May contain | core: p | ||||||||
| Note | 一貫した形式を採用すべきである。 | ||||||||
| 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> | ||||||||
| Schematron | <sch:pattern is-a="declarable"> <sch:param name="tde" value="tei:availability"/> </sch:pattern> | ||||||||
| Content model | <content> | ||||||||
| Schema Declaration | element availability { tei_att.global.attributes, tei_att.declarable.attributes, attribute status { "free" | "unknown" | "restricted" }?, ( tei_model.availabilityPart | tei_model.pLike )+ } | ||||||||
| <bibl> (典拠情報の明示) 完全な構造を持たない典拠情報の引用を表す。各構成要素はタグ付けされていてもいなくてもよい。 [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 | |
| May contain | |
| Note | フレーズレベル要素と、model.biblPartクラスの要素の任意の組み合わせを含む。 |
| 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> |
| Schematron | <sch:pattern is-a="declarable"> <sch:param name="tde" value="tei:bibl"/> </sch:pattern> |
| Content model | <content> |
| Schema Declaration | element bibl { tei_att.global.attributes, tei_att.canonical.attributes, tei_att.cmc.attributes, tei_att.declarable.attributes, tei_att.docStatus.attributes, tei_att.sortable.attributes, tei_att.typed.attributes, ( text | tei_model.gLike | tei_model.highlighted | tei_model.pPart.data | tei_model.pPart.edit | tei_model.segLike | tei_model.ptrLike | tei_model.biblPart | tei_model.global )* } |
| <body> (テキスト本文) 前付、後付を除いた、単一の作品の本文全体を示す。 [4. Default Text Structure] | |
| Module | textstructure |
| Attributes |
|
| Contained by | textstructure: text |
| May contain | |
| 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> |
| Schema Declaration | element body { tei_att.global.attributes, tei_att.declaring.attributes, ( tei_model.global*, ( ( tei_model.divTop, ( tei_model.global | tei_model.divTop )* )? ), ( ( tei_model.divGenLike, ( tei_model.global | tei_model.divGenLike )* )? ), ( ( ( tei_model.divLike, ( tei_model.global | tei_model.divGenLike )* )+ ) | ( ( tei_model.div1Like, ( tei_model.global | tei_model.divGenLike )* )+ ) | ( ( ( ( schemaSpec | tei_model.common ), tei_model.global* )+ ), ( ( ( tei_model.divLike, ( tei_model.global | tei_model.divGenLike )* )+ ) | ( ( tei_model.div1Like, ( tei_model.global | tei_model.divGenLike )* )+ ) )? ) ), ( ( tei_model.divBottom, tei_model.global* )* ) ) } |
| <change> (変更) 元文書の作成や電子ファイルの改訂においてなされた一つあるいは一連の変更を記述する。 [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 | who属性は、他の任意の要素を指すことができるが、典型的には、ヘッダ内の他の場所にある、変更に関わった人物とその役割を示すrespStmtまたは<person>要素を指定する。最新のものを最初に書くことを推奨する。status属性を、変更が適用された後の文書の状態を示すために使用してもよい。 | ||||||
| Example | who は同じ teiHeader にある respStmt の xml:id を指す。指し先が無い場合は Schematron が検出する。 <teiHeader> <fileDesc> <titleStmt> <title>校異源氏物語・きりつぼ</title> <author>池田亀鑑</author> <respStmt xml:id="encoder"> <resp when="2020-08-22">TEI Encoding</resp> <name>Satoru Nakamura</name> </respStmt> </titleStmt> </fileDesc> <revisionDesc status="published"> <change when="2024-06-28" who="#encoder">pb要素のfacs属性を修正しました。facsimile要素を修正しました。</change> </revisionDesc> </teiHeader> | ||||||
| Schematron | change/@who は teiHeader 中の respStmt を指す。 <sch:rule context="tei:change[ @who ]"> <sch:assert test="every $p in tokenize( normalize-space( @who ), '\s+' ) satisfies ( starts-with( $p, '#' ) and //tei:teiHeader//tei:respStmt[ @xml:id eq substring( $p, 2 ) ] )" role="error">改訂記録の @who "<sch:value-of select="@who"/>" に、teiHeader の respStmt を指していない参照があります / change/@who "<sch:value-of select="@who"/>" contains a reference that does not resolve to a respStmt in the teiHeader</sch:assert> </sch:rule> | ||||||
| Content model | <content> | ||||||
| Schema Declaration | element change { tei_att.global.attributes, tei_att.ascribed.attributes, tei_att.datable.attributes, tei_att.docStatus.attributes, tei_att.typed.attributes, attribute target { list { teidata.pointer+ } }?, tei_macro.specialPara } | ||||||
| <date> (date) 日付を示す。 [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 | |
| May contain | |
| Example | <date when="1980-02">early February 1980</date> |
| Example | Given on the <date when="1977-06-12">Twelfth Day of June in the Year of Our Lord One Thousand Nine Hundred and Seventy-seven of the Republic the Two Hundredth and first and of the University the Eighty-Sixth.</date> |
| Example | <date when="1990-09">September 1990</date> |
| Content model | <content> |
| Schema Declaration | element date { tei_att.global.attributes, tei_att.calendarSystem.attributes, tei_att.canonical.attributes, tei_att.cmc.attributes, tei_att.datable.attributes, tei_att.dimensions.attributes, tei_att.editLike.attributes, tei_att.typed.attributes, ( text | tei_model.gLike | tei_model.phrase | tei_model.global )* } |
| <distributor> (distributor) テキストの頒布に責任を持つ人物または団体の名前を示す。 [2.2.4. Publication, Distribution, Licensing, etc.] | |
| Module | header |
| Attributes |
|
| Member of | |
| Contained by | core: bibl header: publicationStmt |
| May contain | |
| Example | <distributor>Oxford Text Archive</distributor> <distributor>Redwood and Burn Ltd</distributor> |
| Content model | <content> |
| Schema Declaration | element distributor { tei_att.global.attributes, tei_att.canonical.attributes, tei_macro.phraseSeq } |
| <div> (text division) 前付、本文、後付中のテキスト部分を示す。 [4.1. Divisions of the Body] | |
| Module | textstructure |
| Attributes |
|
| Member of | |
| Contained by | |
| May contain | |
| 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:rule context="tei:l//tei:div"> <sch:assert test="ancestor::tei:floatingText"> Abstract model violation: Metrical lines (<l> elements) 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> |
| Schema Declaration | element div { tei_att.global.attributes, tei_att.declaring.attributes, tei_att.divLike.attributes, tei_att.placement.attributes, tei_att.typed.attributes, tei_att.written.attributes, ( ( tei_model.divTop | tei_model.global )*, ( ( ( ( ( ( tei_model.divLike | tei_model.divGenLike ), tei_model.global* )+ ) | ( ( ( ( schemaSpec | tei_model.common ), tei_model.global* )+ ), ( ( ( tei_model.divLike | tei_model.divGenLike ), tei_model.global* )* ) ) ), ( ( tei_model.divBottom, tei_model.global* )* ) )? ) ) } |
| <encodingDesc> (encoding description) 電子テキストとその元資料との関係を示す。 [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 | core: p |
| 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> |
| Schema Declaration | element encodingDesc { tei_att.global.attributes, ( tei_model.encodingDescPart | tei_model.pLike )+ } |
| <facsimile> 転記または符号化されたテキストではなく、画像データ中にある、書記資料の 表現を示す。 [12.1. Digital Facsimiles] | |
| Module | transcr |
| Attributes |
|
| Member of | |
| Contained by | |
| May contain | |
| Example | <facsimile> <graphic url="page1.png"/> <surface> <graphic url="page2-highRes.png"/> <graphic url="page2-lowRes.png"/> </surface> <graphic url="page3.png"/> <graphic url="page4.png"/> </facsimile> |
| Example | <facsimile> <surface ulx="0" uly="0" lrx="200" lry="300"> <graphic url="Bovelles-49r.png"/> </surface> </facsimile> |
| Schematron | <sch:rule context="tei:facsimile//tei:line | tei:facsimile//tei:zone"> <sch:report test="child::text()[ normalize-space(.) ne '']"> A <facsimile> element represents a text with images, thus transcribed text should not be present within it. </sch:report> </sch:rule> |
| Content model | <content> |
| Schema Declaration | element facsimile { tei_att.global.attributes, tei_att.declaring.attributes, ( front?, ( ( tei_model.graphicLike | tei_surface | surfaceGrp )+ | tei_facsimile+ ), back? ) } |
| <fileDesc> (file description) 電子ファイルに関する完全な書誌情報を示す。 [2.2. The File Description 2.1.1. The TEI Header and Its Components] | |
| Module | header |
| Attributes |
|
| Contained by | header: teiHeader |
| May contain | header: publicationStmt sourceDesc titleStmt |
| Note | 電子ファイルの書誌項目または書誌引用を示す中心となるもの。 タイトル、当該ファイルの出版や頒布に関連する責任表示、他には記述さ れいない書誌情報に関する詳細な事項を含む。また、当該電子ファイルの 元になった、元資料に関する完全な書誌情報も示す。 |
| 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> |
| Schema Declaration | element fileDesc { tei_att.global.attributes, ( ( tei_titleStmt, editionStmt?, extent?, tei_publicationStmt, seriesStmt*, notesStmt? ), tei_sourceDesc+ ) } |
| <graphic> (graphic) テキスト列中にある図、絵、図表の場所を示す。 [3.10. Graphics and Other Non-textual Components 12.1. Digital Facsimiles] | |
| Module | core |
| Attributes |
|
| Member of | |
| Contained by | |
| May contain | Empty element |
| Note | 属性mimeTypeは、属性urlが指定する画像のMIME タイプを示すために使われるべきである。 |
| 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> |
| Schema Declaration | element graphic { tei_att.global.attributes, tei_att.cmc.attributes, tei_att.declaring.attributes, tei_att.media.attributes, tei_att.resourced.attributes, tei_att.typed.attributes, tei_model.descLike* } |
| <l> (verse line) 韻文中の1行を示す。行として完全でない場合もある。 [3.13.1. Core Tags for Verse 3.13. Passages of Verse or Drama 7.2.6. Speech Contents] | |||||||||
| Module | core | ||||||||
| Attributes |
| ||||||||
| Member of | |||||||||
| Contained by | |||||||||
| May contain | |||||||||
| Example | 句は5つ、n は 1 から 5 まで、和歌の中での位置と一致させる。 位置と n のずれは Schematron が検出する。 <lg xml:id="waka-000" type="waka" rhyme="tanka"> <l n="1">かきりとて</l> <l n="2">わかるゝ道の</l> <l n="3">かなしきに</l> <l n="4">いかまほしきは</l> <l n="5">いのちなりけり</l> </lg> | ||||||||
| Schematron | 句の @n は、その句が和歌の何句目かと一致する。 <sch:rule context="tei:lg[ @type eq 'waka' ]/tei:l"> <sch:let name="pos" value="count( preceding-sibling::tei:l ) + 1"/> <sch:assert test="@n eq string( $pos )" role="error">この句の @n は <sch:value-of select="$pos"/> であるはずです (いまは "<sch:value-of select="@n"/>") / This line's @n should be <sch:value-of select="$pos"/> (found "<sch:value-of select="@n"/>")</sch:assert> </sch:rule> | ||||||||
| Schematron | <sch:rule context="tei:l"> <sch:report test="ancestor::tei:l[not(.//tei:note//tei:l[. = current()])]">Abstract model violation: Metrical lines (<l> elements) may not contain <l> or <lg> elements.</sch:report> </sch:rule> | ||||||||
| Content model | <content> | ||||||||
| Schema Declaration | element l { tei_att.global.attribute.xmlid, tei_att.global.attribute.xmllang, tei_att.global.attribute.xmlbase, tei_att.global.attribute.xmlspace, tei_att.global.analytic.attribute.ana, tei_att.global.change.attribute.change, tei_att.global.facs.attribute.facs, tei_att.global.linking.attribute.corresp, tei_att.global.linking.attribute.synch, tei_att.global.linking.attribute.sameAs, tei_att.global.linking.attribute.copyOf, tei_att.global.linking.attribute.next, tei_att.global.linking.attribute.prev, tei_att.global.linking.attribute.exclude, tei_att.global.linking.attribute.select, tei_att.global.rendition.attribute.rend, tei_att.global.rendition.attribute.style, tei_att.global.rendition.attribute.rendition, tei_att.global.responsibility.attribute.cert, tei_att.global.responsibility.attribute.resp, tei_att.global.source.attribute.source, tei_att.cmc.attributes, tei_att.enjamb.attributes, tei_att.fragmentable.attributes, tei_att.metrical.attributes, attribute n { teidata.text }, ( text | tei_model.gLike | tei_model.phrase | tei_model.inter | tei_model.global )* } | ||||||||
| <lb> (line beginning) ある版における新しい(印刷上の)行の始まりを示す。 [3.11.3. Milestone Elements 7.2.6. Speech Contents] | |
| Module | core |
| Attributes |
|
| Member of | |
| Contained by | |
| May contain | Empty element |
| Note | 当該要素にあるグローバル属性nは、要素lbに続く 行と関連する数値を示す。符号化する人は、改行を示す当該数値が、ペー ジ内にある物理的行数またはテキストの論理構造と関連するかについて、 明確で一貫した方針を採るべきである。 一般には、要素lbは、参照する行の開始地点にあるべきである。 |
| 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> |
| Schema Declaration | element lb { tei_att.global.attributes, tei_att.breaking.attributes, tei_att.cmc.attributes, tei_att.edition.attributes, tei_att.spanning.attributes, tei_att.typed.attributes, empty } |
| <lg> (line group) 形式単位としてある、ある韻文の行をまとまりを示す。例えば、連、リフレ イン、詩節など。 [3.13.1. Core Tags for Verse 3.13. Passages of Verse or Drama 7.2.6. Speech Contents] | |||||||||||||||||||||||||||||
| Module | core | ||||||||||||||||||||||||||||
| Attributes |
| ||||||||||||||||||||||||||||
| Member of | |||||||||||||||||||||||||||||
| Contained by | |||||||||||||||||||||||||||||
| May contain | |||||||||||||||||||||||||||||
| Note | 韻文の行または(普通は見出しが付く)入れ子化された行グループのみを示 す。 | ||||||||||||||||||||||||||||
| Example | 第1帖「きりつぼ」の第一首(実データでは waka-001。用例では xml:id の重複を避けて waka-000 としている)。桐壺更衣の辞世の歌。 和歌は本文中の seg の内側に置き、直前の全角空白2文字で字下げを表す。 <seg corresp="https://w3id.org/kouigenjimonogatari/api/items/0009-03.json"> <lg xml:id="waka-000b" type="waka" rhyme="tanka"> <l n="1">かきりとて</l> <l n="2">わかるゝ道の</l> <l n="3">かなしきに</l> <l n="4">いかまほしきは</l> <l n="5">いのちなりけり</l> </lg>いとか</seg> | ||||||||||||||||||||||||||||
| Schematron | 和歌は5句からなる。 <sch:rule context="tei:lg[ @type eq 'waka' ]"> <sch:let name="lines" value="count( tei:l )"/> <sch:assert test="$lines eq 5" role="error">和歌は5句です (<sch:value-of select="@xml:id"/> は <sch:value-of select="$lines"/> 句) / A waka must have 5 lines (<sch:value-of select="@xml:id"/> has <sch:value-of select="$lines"/>)</sch:assert> </sch:rule> | ||||||||||||||||||||||||||||
| 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> | ||||||||||||||||||||||||||||
| Schema Declaration | element lg { tei_att.global.attribute.n, tei_att.global.attribute.xmllang, tei_att.global.attribute.xmlbase, tei_att.global.attribute.xmlspace, tei_att.global.analytic.attribute.ana, tei_att.global.change.attribute.change, tei_att.global.facs.attribute.facs, tei_att.global.linking.attribute.corresp, tei_att.global.linking.attribute.synch, tei_att.global.linking.attribute.sameAs, tei_att.global.linking.attribute.copyOf, tei_att.global.linking.attribute.next, tei_att.global.linking.attribute.prev, tei_att.global.linking.attribute.exclude, tei_att.global.linking.attribute.select, tei_att.global.rendition.attribute.rend, tei_att.global.rendition.attribute.style, tei_att.global.rendition.attribute.rendition, tei_att.global.responsibility.attribute.cert, tei_att.global.responsibility.attribute.resp, tei_att.global.source.attribute.source, tei_att.cmc.attributes, tei_att.declaring.attributes, tei_att.divLike.attribute.org, tei_att.divLike.attribute.sample, tei_att.fragmentable.attribute.part, tei_att.metrical.attribute.met, tei_att.metrical.attribute.real, tei_att.typed.attribute.subtype, attribute xml:id { xsd:ID }, attribute rhyme { "tanka" }, attribute type { "waka" }, ( ( tei_model.divTop | tei_model.global )*, ( tei_model.lLike | tei_model.stageLike | tei_model.labelLike | tei_model.pPart.transcriptional | tei_lg ), ( tei_model.lLike | tei_model.stageLike | tei_model.labelLike | tei_model.pPart.transcriptional | tei_model.global | tei_lg )*, ( ( tei_model.divBottom, tei_model.global* )* ) ) } | ||||||||||||||||||||||||||||
| <name> (name, proper noun) 固有名詞。 [3.6.1. Referring Strings] | |
| Module | core |
| Attributes |
|
| Member of | |
| Contained by | |
| May contain | |
| Note | TEI名前モジュールが使われる場合には、人々、場所、組織を示す固有名 詞は、それぞれ要素persName、placeName、<orgName>を使い示されるかもしれない。 |
| 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> |
| Schema Declaration | element name { tei_att.global.attributes, tei_att.cmc.attributes, tei_att.datable.attributes, tei_att.editLike.attributes, tei_att.personal.attributes, tei_att.typed.attributes, tei_macro.phraseSeq } |
| <p> (paragraph) 散文の段落を示す。 [3.1. Paragraphs 7.2.6. Speech Contents] | |
| Module | core |
| Attributes |
|
| Member of | |
| Contained by | |
| May contain | |
| Example | <p>Hallgerd was outside. <q>There is blood on your axe,</q> she said. <q>What have you done?</q> </p> <p> <q>I have now arranged that you can be married a second time,</q> replied Thjostolf. </p> <p> <q>Then you must mean that Thorvald is dead,</q> she said. </p> <p> <q>Yes,</q> said Thjostolf. <q>And now you must think up some plan for me.</q> </p> |
| Schematron | <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 (<l> elements) 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> |
| Schema Declaration | element p { tei_att.global.attributes, tei_att.cmc.attributes, tei_att.declaring.attributes, tei_att.fragmentable.attributes, tei_att.written.attributes, tei_macro.paraContent } |
| <pb> (page beginning) テキストのページ境界を、標準的な参照システム示す。 [3.11.3. Milestone Elements] | |||||||||||||||||||||||||
| Module | core | ||||||||||||||||||||||||
| Attributes |
| ||||||||||||||||||||||||
| Member of | |||||||||||||||||||||||||
| Contained by | |||||||||||||||||||||||||
| May contain | Empty element | ||||||||||||||||||||||||
| Note | 当該要素にあるグローバル属性nは、当該要素pbがあ る場所に続いてあるページと関連する数値を示す。符号化する人は、改ペー ジと関連する数値が、物理的な一連の番号になるのか、または印刷されてい る番号になるのかについて、明確で一貫した方針を採るべきである。 一般には、要素pbは、参照するページの始めに置かれるべきである。 | ||||||||||||||||||||||||
| Example | 第1帖「きりつぼ」の5ページ目。n が底本のページ番号、corresp が 同じ文書内の zone、facs が国立国会図書館デジタルコレクションの IIIF 画像(切り出し領域つき)を指す。facs の座標は、参照先 zone の ulx/uly/幅/高さと一致する。 <pb n="5" corresp="#zone_0005" facs="https://dl.ndl.go.jp/api/iiif/3437686/R0000022/0,0,3445,4706/full/0/default.jpg"/> | ||||||||||||||||||||||||
| Example | 対応する zone は facsimile の中にある。1つの見開き (surface)には通常、右半・左半にあたる2つの zone が入り、 pb はその一方を指す。ただし各帖の最初と最後の見開きは片側だけを収めるため、 zone が1つのこともある(全949面のうち86面)。下の f001 がその例。 <surface xml:id="f001" ulx="0" uly="0" lrx="6890" lry="4706" sameAs="https://dl.ndl.go.jp/api/iiif/3437686/canvas/22"> <graphic width="6890px" height="4706px" sameAs="https://dl.ndl.go.jp/api/iiif/3437686/R0000022" url="https://dl.ndl.go.jp/api/iiif/3437686/R0000022/full/full/0/default.jpg"/> <zone xml:id="zone_0005" ulx="0" uly="0" lrx="3445" lry="4706"/> </surface> | ||||||||||||||||||||||||
| Schematron | pb/@corresp は facsimile 内の zone を指していなければならない。 <sch:rule context="tei:pb[ @corresp ]"> <sch:assert test="every $p in tokenize( normalize-space( @corresp ), '\s+' ) satisfies ( starts-with( $p, '#' ) and //tei:zone[ @xml:id eq substring( $p, 2 ) ] )" role="error">ページ <sch:value-of select="@n"/> の @corresp "<sch:value-of select="@corresp"/>" に、文書中の zone を指していない参照があります / @corresp "<sch:value-of select="@corresp"/>" on page <sch:value-of select="@n"/> contains a reference that does not resolve to a zone in this document</sch:assert> </sch:rule> | ||||||||||||||||||||||||
| Schematron | ページ番号は帖の中で単調に増加する。 <sch:rule context="tei:pb[ @n castable as xs:integer ] [ preceding::tei:pb[ @n ][1]/@n castable as xs:integer ]"> <sch:let name="prev" value="preceding::tei:pb[ @n ][1]/@n"/> <sch:report test="xs:integer( @n ) le xs:integer( $prev )" role="error">ページ番号が逆行しています (前は <sch:value-of select="$prev"/>、いまは <sch:value-of select="@n"/>) / Page numbers go backwards (previous <sch:value-of select="$prev"/>, current <sch:value-of select="@n"/>)</sch:report> </sch:rule> | ||||||||||||||||||||||||
| Content model | <content> | ||||||||||||||||||||||||
| Schema Declaration | element pb { tei_att.global.attribute.xmlid, tei_att.global.attribute.xmllang, tei_att.global.attribute.xmlbase, tei_att.global.attribute.xmlspace, tei_att.global.analytic.attribute.ana, tei_att.global.change.attribute.change, tei_att.global.linking.attribute.synch, tei_att.global.linking.attribute.sameAs, tei_att.global.linking.attribute.copyOf, tei_att.global.linking.attribute.next, tei_att.global.linking.attribute.prev, tei_att.global.linking.attribute.exclude, tei_att.global.linking.attribute.select, tei_att.global.rendition.attribute.rend, tei_att.global.rendition.attribute.style, tei_att.global.rendition.attribute.rendition, tei_att.global.responsibility.attribute.cert, tei_att.global.responsibility.attribute.resp, tei_att.global.source.attribute.source, tei_att.breaking.attributes, tei_att.cmc.attributes, tei_att.edition.attributes, tei_att.spanning.attributes, tei_att.typed.attributes, attribute n { teidata.text }, attribute facs { list { teidata.pointer+ } }, attribute corresp { list { teidata.pointer+ } }, empty } | ||||||||||||||||||||||||
| <persName> (personal name) 人物の固有名詞を示す。例えば、名、姓、敬称、追加名など。 [14.2.1. Personal Names] | |
| Module | namesdates |
| Attributes |
|
| Member of | |
| Contained by | |
| May contain | |
| Example | <persName> <forename>Edward</forename> <forename>George</forename> <surname type="linked">Bulwer-Lytton</surname>, <roleName>Baron Lytton of <placeName>Knebworth</placeName> </roleName> </persName> |
| Content model | <content> |
| Schema Declaration | element persName { tei_att.global.attributes, tei_att.cmc.attributes, tei_att.datable.attributes, tei_att.editLike.attributes, tei_att.personal.attributes, tei_att.typed.attributes, tei_macro.phraseSeq } |
| <placeName> (place name) 絶対的、相対的場所名を示す。 [14.2.3. Place Names] | |
| Module | namesdates |
| Attributes |
|
| Member of | |
| Contained by | |
| May contain | |
| 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> |
| Content model | <content> |
| Schema Declaration | element placeName { tei_att.global.attributes, tei_att.cmc.attributes, tei_att.datable.attributes, tei_att.editLike.attributes, tei_att.personal.attributes, tei_att.typed.attributes, tei_macro.phraseSeq } |
| <publicationStmt> (publication statement) 電子テキストなどの出版や頒布に関する情報をまとめる。 [2.2.4. Publication, Distribution, Licensing, etc. 2.2. The File Description] | |
| Module | header |
| Attributes |
|
| Contained by | header: fileDesc |
| May contain | header: availability distributor |
| Note | TEI準拠としてスキーマが求めるものではないが、出版に関する情報は、 出版者名、頒布者名、関連著作者に続いて、出版の場所、住所、識別子、 可用性、日付が、この順番で出現することが望ましい。 |
| 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> |
| Schema Declaration | element publicationStmt { tei_att.global.attributes, ( ( ( tei_model.publicationStmtPart.agency, tei_model.publicationStmtPart.detail* )+ ) | tei_model.pLike+ ) } |
| <publisher> (publisher) 書誌項目の出版や頒布に責任のある団体の名前を示す。 [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 | core: bibl header: publicationStmt |
| May contain | |
| Note | 会社を示す、タイトルページにある省略名ではなく、正式な名前を使う。 |
| Example | <imprint> <pubPlace>Oxford</pubPlace> <publisher>Clarendon Press</publisher> <date>1987</date> </imprint> |
| Content model | <content> |
| Schema Declaration | element publisher { tei_att.global.attributes, tei_att.canonical.attributes, tei_macro.phraseSeq } |
| <ref> (reference) 他の場所への参照を定義する。多くは、追加テキストまたはコメントを含む。 [3.7. Simple Links and Cross-References 17.1. Links] | |
| Module | core |
| Attributes |
|
| Member of | |
| Contained by | |
| May contain | |
| Note | 属性targetとcRefは、排他的に使用される。 |
| 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> |
| Schema Declaration | element ref { tei_att.global.attributes, tei_att.cReferencing.attributes, tei_att.cmc.attributes, tei_att.declaring.attributes, tei_att.internetMedia.attributes, tei_att.pointing.attributes, tei_att.typed.attributes, tei_macro.paraContent } |
| <resp> (responsibility) 人物の知的責任の性質を表す一節を示す。 [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 | |
| 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> |
| Schema Declaration | element resp { tei_att.global.attributes, tei_att.canonical.attributes, tei_att.datable.attributes, tei_macro.phraseSeq.limited } |
| <respStmt> (statement of responsibility) 著者や編集者など特定の役割を示す要素が充分ではない場合に、テキスト、 版、記録などの知的内容に関する責任を示す。 [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 | |
| 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> |
| Schema Declaration | element respStmt { tei_att.global.attributes, tei_att.canonical.attributes, ( ( ( tei_resp+, tei_model.nameLike.agent+ ) | ( tei_model.nameLike.agent+, tei_resp+ ) ), note* ) } |
| <revisionDesc> (revision description) ファイルの改訂履歴を示す。 [2.6. The Revision Description 2.1.1. The TEI Header and Its Components] | |
| Module | header |
| Attributes |
|
| Contained by | header: teiHeader |
| May contain | header: change |
| Note | 直近の変更をリストの先頭に記録する。 |
| Example | <revisionDesc status="embargoed"> <change when="1991-11-11" who="#LB"> deleted chapter 10 </change> </revisionDesc> |
| Content model | <content> |
| Schema Declaration | element revisionDesc { tei_att.global.attributes, tei_att.docStatus.attributes, ( list+ | listChange+ | tei_change+ ) } |
| <s> (s-unit) 文に相当するテキスト単位を示す。 [18.1. Linguistic Segment Categories 8.4.1. Segmentation] | |
| Module | analysis |
| Attributes |
|
| Member of | |
| Contained by | |
| May contain | |
| Note | テキストや句レベルの要素が混在する。また、当該要素自身も含むかもし れない。 要素sが、ある単位の全体を完全に、入れ子なく示す場合には、 正書形の文や、他のテキスト部分を示すために使われるかもしれない。 |
| Example | <head> <s>A short affair</s> </head> <s>When are you leaving?</s> <s>Tomorrow.</s> |
| Schematron | <sch:rule context="tei:s"> <sch:report test="tei:s">You may not nest one <s> element within another: use <seg> instead.</sch:report> </sch:rule> |
| Content model | <content> |
| Schema Declaration | element s { tei_att.global.attributes, tei_att.cmc.attributes, tei_att.notated.attributes, tei_att.segLike.attributes, tei_att.typed.attributes, tei_macro.phraseSeq } |
| <seg> (arbitrary segment) 任意の句レベルのテキスト単位を示す(要素segを含む)。 [17.3. Blocks, Segments, and Anchors 6.2. Components of the Verse Line 7.2.6. Speech Contents] | |||||||||
| Module | linking | ||||||||
| Attributes |
| ||||||||
| Member of | |||||||||
| Contained by | |||||||||
| May contain | |||||||||
| Note | 要素segは、何らかの処理対象を想定して、符号化する人の判断 により、使用されるかもしれない。当該要素は、適当な要素が定義されて いないときに、そのテキスト素性を示すために使われる。すなわち、簡易 拡張機能としてある。また、ある部分に識別子を付与するためにも使用さ れる。すなわち、要素<ptr>等から参照される対象を作る。 | ||||||||
| Example | 本文の冒頭。底本の1行が1つの seg にあたり、corresp の URI は <lb/> <seg corresp="https://w3id.org/kouigenjimonogatari/api/items/0005-01.json">いつれの御時にか女御更衣あまたさふらひ給けるなかにいとやむことなきゝは</seg> | ||||||||
| Content model | <content> | ||||||||
| Schema Declaration | element seg { tei_att.global.attribute.xmlid, tei_att.global.attribute.n, tei_att.global.attribute.xmllang, tei_att.global.attribute.xmlbase, tei_att.global.attribute.xmlspace, tei_att.global.analytic.attribute.ana, tei_att.global.change.attribute.change, tei_att.global.facs.attribute.facs, tei_att.global.linking.attribute.synch, tei_att.global.linking.attribute.sameAs, tei_att.global.linking.attribute.copyOf, tei_att.global.linking.attribute.next, tei_att.global.linking.attribute.prev, tei_att.global.linking.attribute.exclude, tei_att.global.linking.attribute.select, tei_att.global.rendition.attribute.rend, tei_att.global.rendition.attribute.style, tei_att.global.rendition.attribute.rendition, tei_att.global.responsibility.attribute.cert, tei_att.global.responsibility.attribute.resp, tei_att.global.source.attribute.source, tei_att.cmc.attributes, tei_att.notated.attributes, tei_att.segLike.attributes, tei_att.typed.attributes, tei_att.written.attributes, attribute corresp { list { xsd:anyURI { pattern = "https://w3id\.org/kouigenjimonogatari/api/items/\d{4}-\d{2}\.json" }+ } }, tei_macro.paraContent } | ||||||||
| <sourceDesc> (source description) 電子テキストが作られた元テキストの情報を示す。 [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> |
| Schematron | <sch:pattern is-a="declarable"> <sch:param name="tde" value="tei:sourceDesc"/> </sch:pattern> |
| Content model | <content> |
| Schema Declaration | element sourceDesc { tei_att.global.attributes, tei_att.declarable.attributes, ( tei_model.pLike+ | ( tei_model.biblLike | tei_model.sourceDescPart | tei_model.listLike )+ ) } |
| <standOff> リンクト・データや文脈情報、TEI文書に埋め込まれたスタンドオフ・アノテーションをコンテナ化する要素として機能する。 [17.10. The standOff Container] | |
| Module | linking |
| Attributes |
|
| Member of | |
| Contained by | textstructure: TEI |
| May contain | |
| Example | This example shows an encoding of morphosyntactic features similar to the encoding system used by ISO 24611 (MAF). <TEI xmlns="http://www.tei-c.org/ns/1.0"> <teiHeader> <!-- ... --> </teiHeader> <text> <body> <!-- ... --> <p> <w xml:id="w51">I</w> <w xml:id="w52">wanna</w> <w xml:id="w53">put</w> <w xml:id="w54">up</w> <w xml:id="w55">new</w> <w xml:id="w56">wallpaper</w> <pc>.</pc> </p> <!-- ... --> </body> </text> <standOff type="morphosyntax"> <spanGrp type="wordForm"> <span target="#w51" ana="#fs01"/> <span target="#w52" ana="#fs02"/> <span target="#w52" ana="#fs03"/> <span target="#w53 #w54" ana="#fs04"/> <span target="#w55" ana="#fs05"/> <span target="#w56" ana="#fs06"/> </spanGrp> <fs xml:id="fs01"> <f name="lemma"> <string>I</string> </f> <f name="pos"> <symbol value="PP"/> </f> </fs> <fs xml:id="fs02"> <f name="lemma"> <string>want</string> </f> <f name="pos"> <symbol value="VBP"/> </f> </fs> <fs xml:id="fs03"> <f name="lemma"> <string>to</string> </f> <f name="pos"> <symbol value="TO"/> </f> </fs> <fs xml:id="fs04"> <f name="lemma"> <string>put up</string> </f> <f name="pos"> <symbol value="VB"/> </f> </fs> <fs xml:id="fs05"> <f name="lemma"> <string>new</string> </f> <f name="pos"> <symbol value="JJ"/> </f> </fs> <fs xml:id="fs06"> <f name="lemma"> <string>wallpaper</string> </f> <f name="pos"> <symbol value="NN"/> </f> </fs> </standOff> </TEI> |
| Example | This example shows an encoding of contextual information which is referred to from the main text. <TEI xmlns="http://www.tei-c.org/ns/1.0"> <teiHeader> <!-- ... --> </teiHeader> <standOff> <listPlace> <place xml:id="LATL"> <placeName>Atlanta</placeName> <location> <region key="US-GA">Georgia</region> <country key="USA">United States of America</country> <geo>33.755 -84.39</geo> </location> <population when="1963" type="interpolatedCensus" quantity="489359" source="https://www.biggestuscities.com/city/atlanta-georgia"/> </place> <place xml:id="LBHM"> <placeName>Birmingham</placeName> <location> <region key="US-AL">Alabama</region> <country key="USA">United States of America</country> <geo>33.653333 -86.808889</geo> </location> <population when="1963" type="interpolatedCensus" quantity="332891" source="https://www.biggestuscities.com/city/birmingham-alabama"/> </place> </listPlace> </standOff> <text> <body> <!-- ... --> <p>Moreover, I am <choice> <sic>congnizant</sic> <corr>cognizant</corr> </choice> of the interrelatedness of all communities and <lb/>states. I cannot sit idly by in <placeName ref="#LATL">Atlanta</placeName> and not be concerned about what happens <lb/>in <placeName ref="#LBHM">Birmingham</placeName>. <seg xml:id="FQ17">Injustice anywhere is a threat to justice everywhere.</seg> We <lb/>are caught in an inescapable network of mutuality, tied in a single garment <lb/>of destiny. Whatever affects one directly affects all indirectly. Never <lb/>again can we afford to live with the narrow, provincial <soCalled rendition="#Rqms">outside agitator</soCalled> <lb/>idea. Anyone who lives inside the United States can never be considered <lb/>an outsider anywhere in this country.</p> <!-- ... --> </body> </text> </TEI> |
| Content model | <content> |
| Schema Declaration | element standOff { tei_att.global.attributes, tei_att.declaring.attributes, tei_att.typed.attributes, tei_model.standOffPart+ } |
| <surface> 矩形の座標により、書記の表面を定義する。選択的に、空間や矩形範囲中のひ とつ以上の図表表現をまとめる。 [12.1. Digital Facsimiles 12.2.2. Embedded Transcription] | |||||||||||||||
| Module | transcr | ||||||||||||||
| Attributes |
| ||||||||||||||
| Contained by | |||||||||||||||
| May contain | |||||||||||||||
| Note | 当該要素surfaceは、素材表面にある矩形範囲を示す。 例えば、紙、碑、掲示板、パピルスの巻子など、2次元の面を持つもの。 当該要素で定義される座標空間は、幅が属性lrx - ulx、高さが属 性uly - lryによるグリッド単位で示される。このグリッドは、要 素surfaceを含む画面全体に重ね合わされる。この表面に含まれてい る要素zoneで使われる座標値は、同じグリッドに対する参照と解釈 される。 | ||||||||||||||
| Example | <facsimile> <surface ulx="0" uly="0" lrx="200" lry="300"> <graphic url="Bovelles-49r.png"/> </surface> </facsimile> | ||||||||||||||
| Content model | <content> | ||||||||||||||
| Schema Declaration | element surface { tei_att.global.attributes, tei_att.coordinated.attributes, tei_att.declaring.attributes, tei_att.typed.attributes, attribute attachment { teidata.enumerated }?, attribute flipping { teidata.truthValue }?, ( ( tei_model.global | tei_model.labelLike | tei_model.graphicLike )*, ( ( ( tei_zone | line | path | tei_surface | surfaceGrp ), tei_model.global* )* ) ) } | ||||||||||||||
| <TEI> (TEI文書) 一つ以上のmodel.resourceクラスを持つ一つのTEIヘッダを持つ、単一のTEI準拠文書を含む。<teiCorpus>エレメントには複数のTEI要素が含まれてもよい。 [4. Default Text Structure 16.1. Varieties of Composite Text] | |||||||||
| Module | textstructure | ||||||||
| Attributes |
| ||||||||
| Contained by | textstructure: TEI | ||||||||
| May contain | |||||||||
| Note | 当該要素は必須であり、xmlns 属性を用いてTEIの名前空間 | ||||||||
| 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> | ||||||||
| Schema Declaration | element TEI { tei_att.global.attributes, tei_att.typed.attributes, attribute version { teidata.version }?, ( tei_teiHeader, ( ( tei_model.resource+, tei_TEI* ) | tei_TEI+ ) ) } | ||||||||
| <teiHeader> (TEI header) 全てのTEI準拠テキストが伴う、電子版のタイトルページを構成する、記述 的・宣言的情報を示す。 [2.1.1. The TEI Header and Its Components 16.1. Varieties of Composite Text] | |
| Module | header |
| Attributes |
|
| Contained by | textstructure: TEI |
| May contain | header: encodingDesc fileDesc revisionDesc |
| Note | 当該要素は、TEI文書中で無条件に必要となる要素の1つである。 |
| 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> |
| Content model | <content> |
| Schema Declaration | element teiHeader { tei_att.global.attributes, ( tei_fileDesc, tei_model.teiHeaderPart*, tei_revisionDesc? ) } |
| <text> (text) ひとつのテキストを示す。単体でも複合体でもよい。例えば、詩、舞台芸術、 随筆、小説、辞書、コーパスなど。 [4. Default Text Structure 16.1. Varieties of Composite Text] | |
| Module | textstructure |
| Attributes |
|
| Member of | |
| Contained by | textstructure: TEI |
| May contain | |
| Note | 当該要素は、別の構造中、例えば引用された語りの任意の場所に挿入され るテキストを示すためには使うべきではない。この場合は、要素 <floatingText>が使われる。 |
| Example | <text> <front> <docTitle> <titlePart>Autumn Haze</titlePart> </docTitle> </front> <body> <l>Is it a dragonfly or a maple leaf</l> <l>That settles softly down upon the water?</l> </body> </text> |
| Example | The body of a text may be replaced by a group of nested texts, as in the following schematic: <text> <front> <!-- front matter for the whole group --> </front> <group> <text> <!-- first text --> </text> <text> <!-- second text --> </text> </group> </text> |
| Content model | <content> |
| Schema Declaration | element text { tei_att.global.attributes, tei_att.declaring.attributes, tei_att.typed.attributes, tei_att.written.attributes, ( tei_model.global*, ( ( front, tei_model.global* )? ), ( tei_body | group ), tei_model.global*, ( ( back, tei_model.global* )? ) ) } |
| <title> (title) 作品の完全なタイトルを示す。 [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 | |||||||||||||||||||||||
| May contain | |||||||||||||||||||||||
| Note | The attributes key and ref, inherited from the class att.canonical may be used to indicate the canonical form for the title; the former, by supplying (for example) the identifier of a record in some external library system; the latter by pointing to an XML element somewhere containing the canonical form of the title. | ||||||||||||||||||||||
| Example | <title>Information Technology and the Research Process: Proceedings of a conference held at Cranfield Institute of Technology, UK, 18–21 July 1989</title> | ||||||||||||||||||||||
| Example | <title>Hardy's Tess of the D'Urbervilles: a machine readable edition</title> | ||||||||||||||||||||||
| Example | <title type="full"> <title type="main">Synthèse</title> <title type="sub">an international journal for epistemology, methodology and history of science</title> </title> | ||||||||||||||||||||||
| Content model | <content> | ||||||||||||||||||||||
| Schema Declaration | element title { tei_att.global.attributes, tei_att.canonical.attributes, tei_att.cmc.attributes, tei_att.datable.attributes, tei_att.typed.attribute.subtype, attribute type { teidata.enumerated }?, attribute level { "a" | "m" | "j" | "s" | "u" }?, tei_macro.paraContent } | ||||||||||||||||||||||
| <titleStmt> (title statement) 作品や知的内容に責任のあるもののタイトルに関する情報をまとめる。 [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> |
| Schema Declaration | element titleStmt { tei_att.global.attributes, ( tei_title+, tei_model.respLike* ) } |
| <zone> 要素surfaceにある表面上の矩形範囲を定義する。 [12.1. Digital Facsimiles 12.2.2. Embedded Transcription] | |||||||||
| Module | transcr | ||||||||
| Attributes |
| ||||||||
| Member of | |||||||||
| Contained by | |||||||||
| May contain | |||||||||
| Note | 要素zoneが表す場所は全て、左表システムを参照して定義される。 当該要素zoneに含まれる要素graphicは、当該要素 zoneが表す面全体を示す。 | ||||||||
| Example | <surface ulx="14.54" uly="16.14" lrx="0" lry="0"> <graphic url="stone.jpg"/> <zone points="4.6,6.3 5.25,5.85 6.2,6.6 8.19222,7.4125 9.89222,6.5875 10.9422,6.1375 11.4422,6.7125 8.21722,8.3125 6.2,7.65"/> </surface> This example defines a non-rectangular zone: see the illustration in section [ID PH-surfzone in TEI Guidelines]. | ||||||||
| Example | <facsimile> <surface ulx="50" uly="20" lrx="400" lry="280"> <zone ulx="0" uly="0" lrx="500" lry="321"> <graphic url="graphic.png"/> </zone> </surface> </facsimile> This example defines a zone which has been defined as larger than its parent surface in order to match the dimensions of the graphic it contains. | ||||||||
| Content model | <content> | ||||||||
| Schema Declaration | element zone { tei_att.global.attributes, tei_att.coordinated.attributes, tei_att.typed.attributes, tei_att.written.attributes, attribute rotate { teidata.numeric }?, ( text | tei_model.gLike | tei_model.graphicLike | tei_model.global | tei_surface | tei_model.linePart )* } | ||||||||
| 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 |
| model.biblLike 書誌情報を含む要素をまとめる。 [3.12. Bibliographic Citations and References] | |
| Module | tei |
| Used by | |
| Members | bibl |
| model.biblPart 書誌情報の項目を表す要素をまとめる。 [3.12. Bibliographic Citations and References] | |
| Module | tei |
| Used by | |
| Members | model.imprintPart [distributor publisher] model.respLike [author respStmt] availability bibl |
| model.common 塊レベルと挿入レベルの要素をまとめる。 [1.3. The TEI Class System] | |
| Module | tei |
| Used by | |
| Members | model.cmc model.divPart [model.lLike [l] model.pLike [p] lg] model.inter [model.attributable [model.quoteLike] model.biblLike [bibl] model.egLike model.labelLike model.listLike model.oddDecl model.stageLike] |
| Note | 当該クラスは、塊レベルと挿入レベルの要素集合を定義する。当該クラス は、テキスト部分の要素を含む、多くの内容モデルで使われる。 |
| model.dateLike 時間表現用の要素をまとめる。 [3.6.4. Dates and Times 14.4. Dates] | |
| Module | tei |
| Used by | |
| Members | date |
| model.divBottom テキストの終わりに現れる要素をまとめる。 [4.2. Elements Common to All Divisions] | |
| Module | tei |
| Used by | |
| Members | model.divBottomPart model.divWrapper |
| model.divPart テキスト部分中にある段落レベルの要素をまとめる。 [1.3. The TEI Class System] | |
| Module | tei |
| Used by | |
| Members | model.lLike [l] model.pLike [p] lg |
| Note | 当該要素クラスは、クラスmodel.interの メンバーを含まないことに注意すること。 クラスmodel.interは、段落レベル項目内 または間にのみ出現可能である。 |
| model.divTop テキスト部分の始まりに現れる要素をまとめる。 [4.2. Elements Common to All Divisions] | |
| Module | tei |
| Used by | |
| Members | model.divTopPart [model.headLike] model.divWrapper |
| model.divTopPart テキスト部分の始まりにのみ現れる要素をまとめる。 [4.6. Title Pages] | |
| Module | tei |
| Used by | |
| Members | model.headLike |
| model.emphLike 印刷上他とは異なり、特定の機能が付与されている、句レベルの要素をまと める。 [3.3. Highlighting and Quotation] | |
| Module | tei |
| Used by | |
| Members | title |
| model.global TEIデータ内のどこでも出現可能な要素をまとめる。 [1.3. The TEI Class System] | |
| Module | tei |
| Used by | |
| Members | model.global.edit model.global.meta model.milestoneLike [lb pb] model.noteLike |
| model.graphicLike 画像や式などを含む要素をまとめる。 [3.10. Graphics and Other Non-textual Components] | |
| Module | tei |
| Used by | |
| Members | graphic |
| model.highlighted 印刷上他とは異なる、句レベルの要素をまとめる。 [3.3. Highlighting and Quotation] | |
| Module | tei |
| Used by | |
| Members | model.emphLike [title] model.hiLike |
| model.imprintPart 刊記にある書誌情報要素をまとめる。 [3.12. Bibliographic Citations and References] | |
| Module | tei |
| Used by | |
| Members | distributor publisher |
| model.inter 句相当レベルの要素内または間に出現可能な要素をまとめる。 [1.3. The TEI Class System] | |
| Module | tei |
| Used by | |
| Members | model.attributable [model.quoteLike] model.biblLike [bibl] model.egLike model.labelLike model.listLike model.oddDecl model.stageLike |
| model.limitedPhrase 現存する元資料から転記するために使用される要素を除く、句レベルの要素 をまとめる。 [1.3. The TEI Class System] | |
| Module | tei |
| Used by | |
| Members | model.emphLike [title] model.hiLike model.pPart.data [model.addressLike model.dateLike [date] model.measureLike model.nameLike [model.nameLike.agent [name persName] model.offsetLike model.persNamePart model.placeStateLike [model.placeNamePart [placeName] ] ] ] model.pPart.editorial model.pPart.msdesc model.phrase.xml model.ptrLike [ref] |
| model.linePart groups transcriptional elements which appear within lines or zones of a source-oriented transcription within a <sourceDoc> element. | |
| Module | tei |
| Used by | |
| Members | model.hiLike seg zone |
| model.lLike 韻文の行のような、韻律的構成要素となる要素をまとめる。 | |
| Module | tei |
| Used by | |
| Members | l |
| model.milestoneLike 参照システムを示すための、標石要素相当の要素をまとめる。 [1.3. The TEI Class System 3.11.3. Milestone Elements] | |
| Module | tei |
| Used by | |
| Members | lb pb |
| model.nameLike 人物、場所、団体に名前を付与する、または参照する要素をまとめる。 | |
| Module | tei |
| Used by | |
| Members | model.nameLike.agent [name persName] model.offsetLike model.persNamePart model.placeStateLike [model.placeNamePart [placeName] ] |
| Note | 日付欄、住所情報、責任表示等に現れる、名前を示す要素の親集合。 |
| model.nameLike.agent 個人や団体の名前を含む要素をまとめる。 [3.6. Names, Numbers, Dates, Abbreviations, and Addresses] | |
| Module | tei |
| Used by | |
| Members | name persName |
| Note | 当該クラスは、人物や団体の名前を参照する要素の内容モデル中で使用さ れる。 |
| model.paraPart groups elements that may appear in paragraphs and similar elements. [3.1. Paragraphs] | |
| Module | tei |
| Used by | |
| Members | model.gLike model.global [model.global.edit model.global.meta model.milestoneLike [lb pb] model.noteLike] model.inter [model.attributable [model.quoteLike] model.biblLike [bibl] model.egLike model.labelLike model.listLike model.oddDecl model.stageLike] model.lLike [l] model.phrase [model.graphicLike [graphic] model.highlighted [model.emphLike [title] model.hiLike] model.lPart model.pPart.data [model.addressLike model.dateLike [date] model.measureLike model.nameLike [model.nameLike.agent [name persName] model.offsetLike model.persNamePart model.placeStateLike [model.placeNamePart [placeName] ] ] ] model.pPart.edit [model.pPart.editorial model.pPart.transcriptional] model.pPart.msdesc model.phrase.xml model.ptrLike [ref] model.segLike [s seg] model.specDescLike] lg |
| model.phrase 独立した語句レベルに出現する要素をまとめる。 [1.3. The TEI Class System] | |
| Module | tei |
| Used by | |
| Members | model.graphicLike [graphic] model.highlighted [model.emphLike [title] model.hiLike] model.lPart model.pPart.data [model.addressLike model.dateLike [date] model.measureLike model.nameLike [model.nameLike.agent [name persName] model.offsetLike model.persNamePart model.placeStateLike [model.placeNamePart [placeName] ] ] ] model.pPart.edit [model.pPart.editorial model.pPart.transcriptional] model.pPart.msdesc model.phrase.xml model.ptrLike [ref] model.segLike [s seg] model.specDescLike |
| Note | 当該要素クラスは、クラスinterにある大きめの要素、すな わち塊の中で出現可能である。散文においては、当該要素 は、段落、リスト項目、韻文行などの中で出現可能である。 |
| model.placeNamePart 場所名の部分となる要素をまとめる。 [14.2.3. Place Names] | |
| Module | tei |
| Used by | |
| Members | placeName |
| model.placeStateLike 場所の変容を示す要素をまとめる。 | |
| Module | tei |
| Used by | |
| Members | model.placeNamePart [placeName] |
| model.pLike 段落相当の要素をまとめる。 | |
| Module | tei |
| Used by | |
| Members | p |
| model.pPart.data 名前、日付、数値、大きさなどを示す、句レベルの要素をまとめる。 [3.6. Names, Numbers, Dates, Abbreviations, and Addresses] | |
| Module | tei |
| Used by | |
| Members | model.addressLike model.dateLike [date] model.measureLike model.nameLike [model.nameLike.agent [name persName] model.offsetLike model.persNamePart model.placeStateLike [model.placeNamePart [placeName] ] ] |
| model.pPart.edit 単純な編集上の修正や転記を示す、句レベルの要素をまとめる。 [3.5. Simple Editorial Changes] | |
| Module | tei |
| Used by | |
| Members | model.pPart.editorial model.pPart.transcriptional |
| model.ptrLike 場所や参照を示すための要素をまとめる。 [3.7. Simple Links and Cross-References] | |
| Module | tei |
| Used by | |
| Members | ref |
| model.publicationStmtPart.agency TEIヘダーの要素publicationStmt内に出現する要素をまとめる。 [2.2.4. Publication, Distribution, Licensing, etc.] | |
| Module | tei |
| Used by | |
| Members | distributor publisher |
| model.publicationStmtPart.detail TEIヘダーの要素publicationStmt内に出現する要素をまとめる。 [2.2.4. Publication, Distribution, Licensing, etc.] | |
| Module | tei |
| Used by | |
| Members | model.ptrLike [ref] availability date |
| model.resource ヘダーやTEI文書を構成するテキストと共に出現する、非テキスト要素をま とめる。 [1.3. The TEI Class System] | |
| Module | tei |
| Used by | |
| Members | facsimile standOff text |
| model.segLike 任意の区分で使用される要素をまとめる。 [17.3. Blocks, Segments, and Anchors 18.1. Linguistic Segment Categories] | |
| Module | tei |
| Used by | |
| Members | s seg |
| Note | どの区分、どのコード、どの属性値を使うかを決める原則は、関連する TEIヘダー内の要素encodingDescにある要素 <segmentation>中で明示的に宣言されるべきである。 |
| model.standOffPart groups elements which may be used as children of standOff. | |
| Module | tei |
| Used by | |
| Members | model.annotationLike model.biblLike [bibl] model.global.meta model.listLike seg zone |
| model.teiHeaderPart TEIヘダー内で高々1回出現する、上位レベルの要素をまとめる。 | |
| Module | tei |
| Used by | |
| Members | encodingDesc |
| att.ascribed 特定個人の発話や行動を示す要素に付随する。 [3.3.3. Quotation 8.3. Elements Unique to Spoken Texts] | |||||||||||
| Module | tei | ||||||||||
| Members | change | ||||||||||
| Attributes |
| ||||||||||
| att.breaking 当該要素が空白と同じ方法で正字トークンの終わりを示すとみなされるかどうかを示す属性を提供する。 [3.11.3. Milestone Elements] | |||||||||||
| Module | tei | ||||||||||
| Members | lb 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 | ||||||||||||||
| Attributes |
| ||||||||||||||
| att.canonical 名前やタイトルのような表現を参照対象についての典拠情報と関連付けるのに利用する属性を提供する。 [14.1.1. Linking Names and Their Referents] | |||||||||||||||||||||
| Module | tei | ||||||||||||||||||||
| Members | att.naming [att.personal [name persName placeName] author] bibl date distributor publisher resp respStmt 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 | ||||||||||||||||||||
| att.cmc (computer-mediated communication) provides attributes categorizing how the element content was created in a CMC environment. | |||||||||||||||||||||
| Module | tei | ||||||||||||||||||||
| Members | bibl date graphic l lb lg name p pb persName placeName ref s seg title | ||||||||||||||||||||
| Attributes |
| ||||||||||||||||||||
| att.coordinated 2次元座標システムによる、親要素の場所を示す属性。 | |||||||||||||||||||||||||||||||||||||
| Module | transcr | ||||||||||||||||||||||||||||||||||||
| Members | surface zone | ||||||||||||||||||||||||||||||||||||
| Attributes |
| ||||||||||||||||||||||||||||||||||||
| att.cReferencing ポインタのターゲットを識別する手段としてcanonical referenceを提供するために使用される属性を提供する。 | |||||||||
| Module | tei | ||||||||
| Members | ref | ||||||||
| Attributes |
| ||||||||
| att.datable 日付や時間または時間事象を含む要素の正規化手法を示す属性を示す。 [3.6.4. Dates and Times 14.4. Dates] | |||||||
| Module | tei | ||||||
| Members | author change date name persName placeName resp title | ||||||
| Attributes |
| ||||||
| Note | この‘親クラス(スーパークラス)’は、 正規化された時間情報を示すために用いる属性を提供する。デフォルト値として、当該属性は、 クラスatt.datable.w3cが付与されている。 名前と日付に関するモジュールが使用される場合、当該クラスは、クラス att.datable.isoから属性が与えられる。一般には、 W3Cのデータ形式に従った属性値は、ISO8601に従った属性値の下位集合をなす。 しかし、より強力な表現力を持つISOのデータ形式が必要にはならないかもしれない。 W3Cのデータ形式に対するさらに強力な表現力をサポートするソフトウェアも存在する。 | ||||||
| att.datable.custom 年代を特定できるイベントを含む要素を(たとえば、 W3CやISOで用いられるグレゴリオ暦以外の)なんらかの暦システムで正規化する属性を提供する。 [14.4. Dates] | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| Module | namesdates | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| Members | att.datable [author change date name persName placeName resp title] | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| Attributes |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||
| att.datable.iso ISO8601:2004に従い、時間事象の正規的方法を示す属性を示す。 [3.6.4. Dates and Times 14.4. Dates] | |||||||||||||||||||||||||||||||||||
| Module | namesdates | ||||||||||||||||||||||||||||||||||
| Members | att.datable [author change date name persName placeName resp title] | ||||||||||||||||||||||||||||||||||
| Attributes |
| ||||||||||||||||||||||||||||||||||
| Note | この属性の値は、グレゴリオ暦を用い、ISO8601:2004で定義されるいずれかの標準形式で正規化された日付や時刻、あるいはその組み合わせである。 属性when-isoの値は、ISO8601:2004に従った、日付や時間、ま たはその組み合わせになる。属性calendarがある場合に は、要素内容の歴システムが示される。属calendarは、 属性when when-isoの歴システムを示すもので はない。これは普通はグレゴリオ暦になる。 属性when-isoとdur-isoが付与されている場合、 当該属性値は時間幅を示し、それぞれ始点と幅を示すものになる。 例えば、以下のような場合、 <date when-iso="2007-06-01" dur-iso="P8D"/> この記述は、以下のようにも書くことができる。 <date when-iso="2007-06-01/P8D"/> ‘正規化’形式ということで、元テキストにある形式 が不正確であるということを含むものではない。 ここでいう正規化形式とは、単に、ひとつの項目に同じ値を付与すること を目的とするものである。 | ||||||||||||||||||||||||||||||||||
| att.datable.w3c 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 name persName placeName resp 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 | この属性の値は、グレゴリオ暦を用い、XML Schema Part 2: Datatypes Second Editionで定義されるいずれかの標準形式で正規化された日付や時刻、あるいはその組み合わせである。時間の属性としてもっともよく使われる形式は、 属性whenの値は、日付や時間またはその組み合わを、 XML Schema Part 2: Datatypes Second Editionに従って示される。 当該日付の値が、グレゴリオ暦またはそれ以前の前グレゴリオ暦シス テムの場合に真となる。 現時点では、W3Cは年号の値として0000を認めていない。 この場合、一般的には、1BCE(紀元前1世紀)と記される。 現行W3Cのシステムを採用すれば、1BCEは-0001、2BCEは、 -0002と記される。 ‘この背景には、XML Schema Working Groupが、値 0000を1BCE(閏年)の文字表記として、-0001 を2BCEの文字表記として、-0002を3BCEの文字表記として 利用したかったためである。’ 従って、場合によっては、属性when-isoにより紀元前 を示した方が便利かもしれない。 | ||||||||||||||||||||||||||||||||||||
| att.datcat datacat属性とValueDatacat属性を提供する。これらがXML要素や属性を連携させる日付分類は、国際標準ISO 12620:2009で定義されるものであり、http://www.isocat.org/にあるISOCatと呼ばれるWebリポジトリに格納されている。 [10.5.2. Lexical View 19.3. Other Atomic Feature Values] | |||||||||||||||||||
| Module | tei | ||||||||||||||||||
| Members | att.segLike [s seg] | ||||||||||||||||||
| Attributes |
| ||||||||||||||||||
| Example | The example below presents the TEI encoding of the name-value pair 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 [ID FS in TEI Guidelines]. <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 | ISO 12620:2009は、データ分類のレジストリ(DCR)に関するデータモデルと手続きについての国際標準である。データ分類は、一つの言語の構造における基本的な記述子として定義される。DCRのデータモデルでは、個々のデータ分類には、ユニークな永続的識別子(PID)、つまり、URIが割り当てられる。DCRからデータ分類を利用する言語資源、あるいは、できることならそのスキーマは、このPIDを用いて参照すべきである。TEI文書のようなXMLベースの資源(https://www.iso.org/standard/37243.htmlにて参照可能)に関しては、ISO 12620:2009 付録 Aに、datcat属性とvalueDatcat属性を提供する小さなデータ分類参照のXML語彙がある。 | ||||||||||||||||||
| att.declarable 特別な目的のdecls属性を用いて独自に選択できるTEIヘッダー内の要素の属性を提供する。 [16.3. Associating Contextual Information with a Text] | |||||||||
| Module | tei | ||||||||
| Members | availability bibl sourceDesc | ||||||||
| Attributes |
| ||||||||
| Note | このような選択可能要素の関連性を決める規則は、 16.3. Associating Contextual Information with a Textにおいて詳しく規定されている。 属性値trueをとるのは、ひとつの要素だけである。 | ||||||||
| att.declaring TEIヘダーにある特定の宣言可能要素向けの属性を示す。これにより、当該 要素の継承値を上書きすることになる。 [16.3. Associating Contextual Information with a Text] | |||||||
| Module | tei | ||||||
| Members | body div facsimile graphic lg p ref standOff surface text | ||||||
| Attributes |
| ||||||
| Note | 宣言可能要素の関連性を決める規則については、16.3. Associating Contextual Information with a Text を参照のこと。 | ||||||
| att.dimensions 物理的対象の大きさを表す属性を示す。 | |||||||||||||||||||||||||||||||||||||||
| Module | tei | ||||||||||||||||||||||||||||||||||||||
| Members | date | ||||||||||||||||||||||||||||||||||||||
| Attributes |
| ||||||||||||||||||||||||||||||||||||||
| att.divLike 区分(div、division)に相当する全要素に共通の属性を示す。 [4. Default Text Structure] | |||||||||||||||||
| Module | tei | ||||||||||||||||
| Members | div lg | ||||||||||||||||
| Attributes |
| ||||||||||||||||
| att.docStatus 文書のステータスを記述するメタデータ要素用の属性を提供する。 | |||||||||
| Module | tei | ||||||||
| Members | bibl 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.edition 符号化された属性が派生する元のソースのエディションを特定する属性を提供する。 | |||||||||||||
| Module | tei | ||||||||||||
| Members | lb 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" break="no" edRef="#stapledon1937"/>sciousness;</p> In the above example, the soft hyphen in Stapledon 1937 is omitted. Such decisions may be documented in the edition's declaration of editorial principles, e.g. with the <hyphenation> element in the teiHeader. | ||||||||||||
| att.editLike 学術的調整・解釈の性質を表す属性を示す。 [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 | date name persName placeName | ||||||||||||||||
| Attributes |
| ||||||||||||||||
| Note | 当該クラスは、あらゆる編集上の調整、例えば、原稿に対する修正や解釈、日時や場所の特定などを示すために、一般には使用される。 | ||||||||||||||||
| att.enjamb (句またがり) 親要素における句またがりを示す属性を与える。 [6.2. Components of the Verse Line] | |||||||||||
| Module | verse | ||||||||||
| Members | l | ||||||||||
| Attributes |
| ||||||||||
| att.fragmentable 通常は階層関係のオーバーラップなどに起因する、構造を持つ要素の断片化を表現するための属性を与える。 | |||||||||||
| Module | tei | ||||||||||
| Members | att.divLike [div lg] att.segLike [s seg] l p | ||||||||||
| Attributes |
| ||||||||||
| att.global TEI符号化スキーム中の全要素に共通する属性を示す。 [1.3.1.1. Global Attributes] | |||||||||||||||||||||||||||||||||||||||||||||
| Module | tei | ||||||||||||||||||||||||||||||||||||||||||||
| Members | TEI author availability bibl body change date distributor div encodingDesc facsimile fileDesc graphic l lb lg name p pb persName placeName publicationStmt publisher ref resp respStmt revisionDesc s seg sourceDesc standOff surface teiHeader text title titleStmt zone | ||||||||||||||||||||||||||||||||||||||||||||
| Attributes |
| ||||||||||||||||||||||||||||||||||||||||||||
| att.global.analytic 任意のテキスト部分への分析・解釈に関連するグローバル属性を示す。 [18.2. Global Attributes for Simple Analyses 18.3. Spans and Interpretations] | |||||||||
| Module | analysis | ||||||||
| Members | att.global [TEI author availability bibl body change date distributor div encodingDesc facsimile fileDesc graphic l lb lg name p pb persName placeName publicationStmt publisher ref resp respStmt revisionDesc s seg sourceDesc standOff surface teiHeader text title titleStmt zone] | ||||||||
| Attributes |
| ||||||||
| att.global.change そのメンバ要素が関連する1つ以上の状態または改定を指定できるように、change属性を提供する。 | |||||||
| Module | transcr | ||||||
| Members | att.global [TEI author availability bibl body change date distributor div encodingDesc facsimile fileDesc graphic l lb lg name p pb persName placeName publicationStmt publisher ref resp respStmt revisionDesc s seg sourceDesc standOff surface teiHeader text title titleStmt zone] | ||||||
| Attributes |
| ||||||
| att.global.facs 転写されたテキストを含む要素と、そのテキストを表す画像の全部または一部との間の対応を表すために使用される属性を提供する。 [12.1. Digital Facsimiles] | |||||||
| Module | transcr | ||||||
| Members | att.global [TEI author availability bibl body change date distributor div encodingDesc facsimile fileDesc graphic l lb lg name p pb persName placeName publicationStmt publisher ref resp respStmt revisionDesc s seg sourceDesc standOff surface teiHeader text title titleStmt zone] | ||||||
| Attributes |
| ||||||
| att.global.linking ハイパーテキストリンクの属性セットを提供する。 [17. Linking, Segmentation, and Alignment] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Module | linking | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Members | att.global [TEI author availability bibl body change date distributor div encodingDesc facsimile fileDesc graphic l lb lg name p pb persName placeName publicationStmt publisher ref resp respStmt revisionDesc s seg sourceDesc standOff surface teiHeader text title titleStmt zone] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Attributes |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| att.global.rendition TEIの符号化スキーマにおけるすべての要素に共通するレンダリング属性を提供する。 [1.3.1.1.3. Rendition Indicators] | |||||||||||||||||||||||||||||||
| Module | tei | ||||||||||||||||||||||||||||||
| Members | att.global [TEI author availability bibl body change date distributor div encodingDesc facsimile fileDesc graphic l lb lg name p pb persName placeName publicationStmt publisher ref resp respStmt revisionDesc s seg sourceDesc standOff surface teiHeader text title titleStmt zone] | ||||||||||||||||||||||||||||||
| Attributes |
| ||||||||||||||||||||||||||||||
| att.global.responsibility テキストやマークアップ、あるいはマークアップによって示されたものの何らかの側面についての責任者と、それに関する確信の度合を示す属性を提供する。 [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 author availability bibl body change date distributor div encodingDesc facsimile fileDesc graphic l lb lg name p pb persName placeName publicationStmt publisher ref resp respStmt revisionDesc s seg sourceDesc standOff surface teiHeader text title titleStmt zone] | ||||||||||||||
| 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 外部ソースを参照する要素によって用いられる属性を示す。 [1.3.1.1.4. Sources, certainty, and responsibility 3.3.3. Quotation 8.3.4. Writing] | |||||||||||
| Module | tei | ||||||||||
| Members | att.global [TEI author availability bibl body change date distributor div encodingDesc facsimile fileDesc graphic l lb lg name p pb persName placeName publicationStmt publisher ref resp respStmt revisionDesc s seg sourceDesc standOff surface teiHeader text title titleStmt zone] | ||||||||||
| Attributes |
| ||||||||||
| Example | <p> <!-- ... --> As Willard McCarty (<bibl xml:id="mcc_2012">2012, p.2</bibl>) tells us, <quote source="#mcc_2012">‘Collaboration’ is a problematic and should be a contested term.</quote> <!-- ... --> </p> | ||||||||||
| Example | <p> <!-- ... --> <quote source="#chicago_15_ed">Grammatical theories are in flux, and the more we learn, the less we seem to know.</quote> <!-- ... --> </p> <!-- ... --> <bibl xml:id="chicago_15_ed"> <title level="m">The Chicago Manual of Style</title>, <edition>15th edition</edition>. <pubPlace>Chicago</pubPlace>: <publisher>University of Chicago Press</publisher> (<date>2003</date>), <biblScope unit="page">p.147</biblScope>. </bibl> | ||||||||||
| Example | <elementRef key="p" source="tei:2.0.1"/> Include in the schema an element named p available from the TEI P5 2.0.1 release. | ||||||||||
| Example | <schemaSpec ident="myODD" source="mycompiledODD.xml"> <!-- further declarations specifying the components required --> </schemaSpec> Create a schema using components taken from the file mycompiledODD.xml. | ||||||||||
| att.internetMedia 標準的な用語による計算機資源の種類を表す属性を示す。 | |||||||
| Module | tei | ||||||
| Members | att.media [graphic] 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 | 当該属性クラスは、コンピューターリソースを示すためのもので、通常、インターネット上にあるリソースを標準的な用語で示す。現時点では、MIME(Multipurpose Internet Mail Extensions)タイプのみが標準的な用語として使用可能である。このMIMEタイプについては、IETF(Internet Engineering Task Force)のRFC 2046で規定されている。使用できるタイプ名のリストの管理は、IANA(Internet Assigned Numbers Authority)によって行われている。mimeType属性は上記のタイプ名リストにより定義された値を含んでいなくてはならない。 | ||||||
| att.media 外部メディアの表示と関連プロパティを指定するための諸属性を提供する。 | |||||||||||||||||||
| Module | tei | ||||||||||||||||||
| Members | graphic | ||||||||||||||||||
| Attributes |
| ||||||||||||||||||
| att.metrical 特性の要素が韻律情報を示す属性を定義する。 [6.4. Rhyme and Metrical Analysis] | |||||||||||||||||||||||||
| Module | verse | ||||||||||||||||||||||||
| Members | att.divLike [div lg] att.segLike [s seg] l | ||||||||||||||||||||||||
| Attributes |
| ||||||||||||||||||||||||
| att.naming 名前、人物、場所、組織を示す要素に付与される属性を示す。 [3.6.1. Referring Strings 14.3.7. Names and Nyms] | |||||||||||||||
| Module | tei | ||||||||||||||
| Members | att.personal [name persName placeName] author | ||||||||||||||
| Attributes |
| ||||||||||||||
| att.notated 要素の内容を対象とした特別な表記法を示す属性を提供する。 | |||||||
| Module | tei | ||||||
| Members | s seg | ||||||
| Attributes |
| ||||||
| att.personal (名前を構成するもののための属性。通常は人物名だが、必ずしもそうとは限らない。) 名前の構成要素となる要素に付与される一般的な属性。通常は人物名だが、必ずしもそうとは限らない。 [14.2.1. Personal Names] | |||||||||||||||
| Module | tei | ||||||||||||||
| Members | name persName placeName | ||||||||||||||
| Attributes |
| ||||||||||||||
| att.placement テキスト要素が出現する元資料中のページやオブジェクトを表す属性を示す。 [3.5.3. Additions, Deletions, and Omissions 12.3.1.4. Additions and Deletions] | |||||||||||||
| Module | tei | ||||||||||||
| Members | div | ||||||||||||
| Attributes |
| ||||||||||||
| att.pointing すべての、一つ以上のURIを参照することで別の要素を指示する要素で使用できる属性のセットを示す。 [1.3.1.1.2. Language Indicators 3.7. Simple Links and Cross-References] | |||||||||||||||||||||||||||||||
| Module | tei | ||||||||||||||||||||||||||||||
| Members | ref | ||||||||||||||||||||||||||||||
| Attributes |
| ||||||||||||||||||||||||||||||
| att.ranging 数値範囲を記述するための属性を提供する。 | |||||||||||||||||||||||||||||||
| Module | tei | ||||||||||||||||||||||||||||||
| Members | att.dimensions [date] | ||||||||||||||||||||||||||||||
| Attributes |
| ||||||||||||||||||||||||||||||
| Example | The MS. was lost in transmission by mail from <del rend="overstrike"> <gap reason="illegible" extent="one or two letters" atLeast="1" atMost="2" unit="chars"/> </del> Philadelphia to the Graphic office, New York. | ||||||||||||||||||||||||||||||
| Example | Americares has been supporting the health sector in Eastern Europe since 1986, and since 1992 has provided <measure atLeast="120000000" unit="USD" commodity="currency">more than $120m</measure> in aid to Ukrainians. | ||||||||||||||||||||||||||||||
| att.resourced (外部のメディアファイルのような)資料を示す属性を提供する。 | |||||||
| Module | tei | ||||||
| Members | graphic | ||||||
| Attributes |
| ||||||
| att.segLike 任意の部分に使用される要素向けの属性を示す。 [17.3. Blocks, Segments, and Anchors 18.1. Linguistic Segment Categories] | |||||||||
| Module | tei | ||||||||
| Members | s seg | ||||||||
| Attributes |
| ||||||||
| att.sortable ソート可能だが、ソートのキーは要素の内容から機械的に取り出すことはできないリストやグループにおける要素に関する属性。 [10.1. Dictionary Body and Overall Structure] | |||||||||||
| Module | tei | ||||||||||
| Members | bibl | ||||||||||
| Attributes |
| ||||||||||
| att.spanning テキスト幅の範囲を内容としてではなく参照機能を使って示す要素に付与される属性を示す。 [12.3.1.4. Additions and Deletions] | |||||||||
| Module | tei | ||||||||
| Members | lb pb | ||||||||
| Attributes |
| ||||||||
| Note | 当該範囲は、当該文書中にある、(もしあれば)参照要素の内容の始点から、 (もしあれば)属性spanToで示された要素の内容の終点までになる。 当該属性に値がない場合、当該範囲は、当該参照要素と同じ範囲と想定す る。 | ||||||||
| att.typed 要素を分類するための属性を示す。 [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.6. 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 | TEI bibl change date div graphic lb lg name pb persName placeName ref s seg standOff surface text title zone | ||||||||||||||||
| 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> | ||||||||||||||||
| 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 | div p seg text zone | ||||||
| Attributes |
| ||||||
| teidata.certainty 確信度を示す属性値の程度を示す。 | |
| Module | tei |
| Used by | |
| Content model | <content> |
| Declaration | tei_teidata.certainty = "high" | "medium" | "low" | "unknown" |
| Note | 確信度は、予め定義された値high、medium、またはlowのいずれかで表現される。確信度に関して何らかの意見を表明することを望んでいない場合は、unknownという値が使用されるべきである。より正確な指標を望む場合は、data.probabilityを先に挙げた値の代わりに、またはそれに加えて使用することができる。 |
| teidata.count 非負整数値を採る属性値の範囲を定義する。 | |
| Module | tei |
| Used by | |
| Content model | <content> |
| Declaration | tei_teidata.count = xsd:nonNegativeInteger |
| Note | 正の整数値(ゼロを含む)のみが許可される。 |
| teidata.duration.iso ISO 8601にある標準形式を使い、時間幅を表現する当該属性値の範囲を定義 する。 | |
| Module | tei |
| Used by | |
| Content model | <content> |
| Declaration |
tei_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 | 時間幅は、先頭文字Pに続いて、数値-文字のペア列で示される。 文字は単位を示している。Y(年)、M(月)、D(日)、H(時間)、M(分)、S(秒) の順番になる。数値は符号のない整数である。但し、最後に10進数の 表記記号(小数点を示す 詳細については、ISO 8601Data elements and interchange formats - Information interchange - Representation of dates and timesを参照のこと。 |
| teidata.duration.w3c W3Cのデータ型を使用して表現できる時間幅を値域とする属性値を定義する。 | |
| Module | tei |
| Used by | |
| Content model | <content> |
| Declaration | tei_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 | 時間幅は、先頭文字Pに続いて、数値-文字のペア列で示される。 文字は単位を示している。Y(年)、M(月)、D(日)、H(時間)、M(分)、S(秒) の順番になる。数値は符号のない整数である。但し、 詳細については、 W3C specificationを参照のこと。 |
| teidata.enumerated 定められた選択肢の一覧から選ばれる単一のXML名前を値域とする属性値を定義する。 | |
| Module | tei |
| Used by | Element:
|
| Content model | <content> |
| Declaration | tei_teidata.enumerated = teidata.word |
| Note | このデータ型を使用する属性は、このデータ型のために定義されたパターンと一致する単一の単語を含めなければならない。たとえば、空白は含むことはできないが、数字で始まってもよい。定められた選択肢の一覧は、典型的には関連する属性指定のなかで<valList>要素による値のリストの形で提供(または例示)される。 |
| teidata.language 自然言語と表記体系の組合せを示す表現を値域とする属性値を定義する。 [6.1. Language Identification] | |
| Module | tei |
| Used by | |
| Content model | <content> |
| Declaration | tei_teidata.language = xsd:language | ( "" ) |
| Note | 当該属性値は、BCP 47で定義されている言語‘タグ’である。 BCP 47は、RFC 5646とRFC 4647からなる。将来的に、その他のIETF文書が現状における最良の慣行としての地位を受け継ぐかもしれない。 BCP 47における‘言語タグ’とは、ハイフン (-, U+002D)で区切られた一連の下位タグと呼ばれる構成要素からなっている。 下位タグは、以下の順番に並べられる。 下位タグは、初めの1つ以外は必須でない。もし存在するときは、それぞれの下位タグは、繰返し可能な4番目と5番目の構成要素(変種と拡張)をのぞき、1度までしか用いられない。
上記記述形式には、2つの例外がある。 ひとつは、IANAレジストリにある言語タグには、上述の形式に違反しているが有効なものがある。これはIANAでは以前の形式では許容されていた‘歴史的例外’だからである。 ふたつめは、言語タグ全体を私用タグにすることができる。 言語コードには、以下のようなものがある。
W3Cの国際化活動では、BCP 47の解説 「HTMLとXMLで使用される言語タグ」を以下に用意している。 |
| teidata.name XML名前としてある属性値の範囲を定義する。 | |
| Module | tei |
| Used by | |
| Content model | <content> |
| Declaration | tei_teidata.name = xsd:Name |
| Note | 当該属性は、妥当なXML名前(詳細は https://www.w3.org/TR/REC-xml/#dt-nameを参照)である ひとつの単語をとる。例えば、空白文字を含まず、数字が先頭文字にこな いもの。 |
| teidata.numeric 数値をとる属性値の範囲を定義する。 | |
| Module | tei |
| Used by | Element:
|
| Content model | <content> |
| Declaration |
tei_teidata.numeric =
xsd:double | token { pattern = "(\-?[\d]+/\-?[\d]+)" } | xsd:decimal |
| Note | 浮動小数点形式の10進小数、あるいは比の形式で表現されるなんらかの数値。浮動小数点数を表現するには、‘指数表記’の一種である科学的表記、通称‘E記法’が使用できる。この形式では、値はEの文字で区切られた二つの数字で表現する。一つ目の数字である仮数は小数で、二つ目の数字は整数で表される。値は、仮数を〔二つ目の〕整数の示す回数だけ10倍することで得られる。したがって、10進小数で1000.0と表記されている値は、科学的表記では10E3となる。 比の値は、二つの整数を「/」で区切って表す。したがって、10進小数で0.5と表される値は、比としては1/2という文字列で表現できる。 |
| teidata.outputMeasurement 表示を意図するオブジェクトの寸法を指定するための値の範囲を定義する。 | |
| Module | tei |
| Used by | |
| Content model | <content> |
| Declaration | tei_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 | 当該値は、XSLFOやCSSで使用される値になる。詳細は各規格を参照のこと。 現時点で一番詳細なリストは、 CSS3 working draftになる。 |
| teidata.pattern 正規表現を属性値として定義する。 | |
| Module | tei |
| Used by | |
| Content model | <content> |
| Declaration | tei_teidata.pattern = token |
| Note | 正規表現は、よくパタン/パターンともいわれるもので、文字列の集合を記述するための表現方法である。一般には、簡潔な表現で、 すべての要素を列挙することなく集合を表現するために使用される。例えば、三つの文字列Handel、Händel、Haendel〔訳注:これらはすべて「ヘンデル」の異表記〕を、一つのパタン wikipediaH(ä|ae?)ndelで記述することができる(あるいは、H(ä|ae?)ndelは、三つの文字列のいずれにもマッチするといわれる)。 |
| teidata.point デカルト空間内の点を表現するデータ型を定義する。 | |
| Module | tei |
| Used by | |
| Content model | <content> |
| Declaration | tei_teidata.point = token { pattern = "(-?[0-9]+(\.[0-9]+)?,-?[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 | 点は、ふたつの数値で定義される。数値は10進小数で表されることが望ましい。数値は小数点で終わってはならない。たとえば、 |
| teidata.pointer 現在の文書や他の場所にあるなんらかの他の資源を指す単一の相対URIもしくは絶対URIを提供するために用いる属性値の範囲を定義する。 | |
| Module | tei |
| Used by | |
| Content model | <content> |
| Declaration |
tei_teidata.pointer = xsd:anyURI { pattern = "\S+" } |
| Note | シンタクス上正しい値の範囲はRFC 3986 Uniform Resource Identifier (URI): Generic Syntaxで定義されている。値自体はRFC 3987 Internationalized Resource Identifiers (IRIs)をURIにマッピングして符号化する。たとえば、 |
| teidata.probability 出現度を示す属性値の範囲を定義する。 | |
| Module | tei |
| Used by | |
| Content model | <content> |
| Declaration | tei_teidata.probability = xsd:double |
| Note | 出現度は、0から1までの実数で表現される。0は 確実に偽、1は、 確実に真を示す。 |
| 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> |
| Declaration | tei_teidata.probCert = teidata.probability | teidata.certainty |
| teidata.replacement 置換テンプレートを含む属性値を定義する。 | |
| Module | tei |
| Used by | |
| Content model | <content> |
| Declaration | tei_teidata.replacement = text |
| teidata.temporal.iso 日付や時間などの時間表現をとる属性値の範囲を定義する。これは、国際標準であるData elements and interchange formats - Information interchange - Representation of dates and timesに準拠したものになる。 | |
| Module | tei |
| Used by | |
| Content model | <content> |
| Declaration |
tei_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 | 当該属性値が他の値と比較される場合、時間帯は必ず示されるべきである。 またはdateTimeを使うべきである(訳注:この文は修正されるかもしれな い)。 ISO 8601:2004には基本形式と拡張形式がある。 本ガイドラインでは拡張形式を使うことを推奨する。 |
| teidata.temporal.w3c 日付や時間などの時間表現をとる属性値の範囲を定義する。これは、W3Cの XML Schema Part 2: Datatypes Second Editionに従ったものになる。 | |
| Module | tei |
| Used by | |
| Content model | <content> |
| Declaration | tei_teidata.temporal.w3c = xsd:date | xsd:gYear | xsd:gMonth | xsd:gDay | xsd:gYearMonth | xsd:gMonthDay | xsd:time | xsd:dateTime |
| Note | 当該属性値が他の値と比較される場合、時間帯は必ず示されるべきである。 またはdateTimeを使うべきである(訳注:この文は修正されるかもしれな い)。 |
| teidata.text 空白文字を含みうるUnicode文字の単一の列として表現される何らかの識別のための文字列を示す属性値の範囲を定義する。 | |
| Module | tei |
| Used by | |
| Content model | <content> |
| Declaration | tei_teidata.text = string |
| Note | このデータ型を用いる属性は、単一の‘トークン’(空白文字や句読点を入れてもよい)を含まなければならない。 |
| teidata.truthValue 真偽値を示す属性値の範囲を定義する。 | |
| Module | tei |
| Used by | Element:
|
| Content model | <content> |
| Declaration | tei_teidata.truthValue = xsd:boolean |
| Note | このデータ型が取り得る値は、1またはtrueまたは0またはfalseである。曖昧な値が許されない場合に使われるデータ型である。属性値が真偽値でない場合、例えばunknownやinapplicableの場合には、当該データ型の拡張版であるdata.xTruthValueを使うべきである。 |
| teidata.version TEIあるいはUnicodeのバージョン番号を指定するために使用できる属性値の範囲を定義する。 | |
| Module | tei |
| Used by | Element:
|
| Content model | <content> |
| Declaration |
tei_teidata.version = token { pattern = "[\d]+(\.[\d]+){0,2}" } |
| Note | この属性の値はUnicodeコンソーシアムがバージョン番号のために定めた書式 (http://unicode.org/versions/) に従う。一つのバージョン番号は数字とピリオドのみからなる。与えられた1番目の数字がメジャーバージョンを示す。2番目と3番目の数字をマイナーバージョンとサブマイナーバージョンを示すために付加することができる。 |
| teidata.versionNumber バージョン番号に使用される属性値の範囲を定義する。 | |
| Module | tei |
| Used by | |
| Content model | <content> |
| Declaration |
tei_teidata.versionNumber =
token { pattern = "[\d]+[a-z]*[\d]*(\.[\d]+[a-z]*[\d]*){0,3}" } |
| teidata.word いち単語またはトークンをとる属性値の範囲を定義する。 | |
| Module | tei |
| Used by | |
| Content model | <content> |
| Declaration |
tei_teidata.word = token { pattern = "[^\p{C}\p{Z}]+" } |
| Note | 当該データ型を使用する属性値は、ひとつの‘単語’ になる。単語とは、文字、数字、句読点などの記号から構成されている。 空白文字は含むことができない。 |
| teidata.xpath XPath式を含む属性を定義する。 | |
| Module | tei |
| Used by | |
| Content model | <content> |
| Declaration | tei_teidata.xpath = text |
| Note | XPath式は、6.2. で定義された文法を用いる。 XPath式を評価するプログラムを作成するときは、プログラマーはコー ドインジェクション攻撃の可能性に留意すべきである。XPathのインジェ クション攻撃については、OWASP に掲載された記事を参照せよ。 |
| teidata.xTruthValue (拡張真理値) 不明の場合もある真偽値をとる属性値の範囲を定義する。 | |
| Module | tei |
| Used by | |
| Content model | <content> |
| Declaration | tei_teidata.xTruthValue = xsd:boolean | ( "unknown" | "inapplicable" ) |
| Note | 不確実性を持つべきではない場合は、データ型teidata.TruthValueを使用する。 |
| macro.paraContent (paragraph content) 段落やそれ相当の要素の内容を定義する。 [1.3. The TEI Class System] | |
| Module | tei |
| Used by | |
| Content model | <content> |
| Declaration | tei_macro.paraContent = ( text | tei_model.paraPart )* |
| macro.phraseSeq (phrase sequence) 一連の文字列と句レベル要素を定義する。 [1.4.1. Standard Content Models] | |
| Module | tei |
| Used by | |
| Content model | <content> |
| Declaration |
tei_macro.phraseSeq =
(
text
| tei_model.gLike
| tei_model.attributable
| tei_model.phrase
| tei_model.global
)* |
| macro.phraseSeq.limited (limited phrase sequence) 一般には、現存資料の転記に使われることはない、一連の文字列と句レベル の要素を定義する。 [1.4.1. Standard Content Models] | |
| Module | tei |
| Used by | |
| Content model | <content> |
| Declaration | tei_macro.phraseSeq.limited = ( text | tei_model.limitedPhrase | tei_model.global )* |
| macro.specialPara ('special' paragraph content) 一連の句レベルまたは挿入レベルの要素と共に、一連の構成要素レベルの要 素、または段落相当の構造を持つ、注釈やリスト項目となる要素の内容モデ ルを定義する。 [1.3. The TEI Class System] | |
| Module | tei |
| Used by | |
| Content model | <content> |
| Declaration |
tei_macro.specialPara =
(
text
| tei_model.gLike
| tei_model.phrase
| tei_model.inter
| tei_model.divPart
| tei_model.global
)* |