Changes between Version 15 and Version 16 of schema


Ignore:
Timestamp:
Mar 8, 2011, 10:01:14 AM (13 years ago)
Author:
jwillenborg
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • schema

    v15 v16  
    125125
    126126[=#tei ]
    127 == TEI Lite ==
    128 
    129 A subset of TEI-Lite will be supported in the near future.
     127== TEI ==
     128
     129A subset of TEI(-Lite) will be supported in the near future.
    130130
    131131=== Schema ===
    132132
    133 The TEI Lite schema is developed by the [http://www.tei-c.org/ Text Encoding Initiative] and could be found
    134 [http://www.tei-c.org/Guidelines/Customization/Lite/ here].
     133[http://www.tei-c.org/ TEI] provides [http://www.tei-c.org/Guidelines/Customization/ customizations for different purposes]. The MPDL project supports a subset of [http://www.tei-c.org/Guidelines/Customization/Lite/ TEI Lite] which is widely used and includes basic elements for simple documents. Also some useful elements (which are part of the [http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng TEI schema with all modules]) and [http://www.w3.org/Math/ MathML] and [http://de.wikipedia.org/wiki/Scalable_Vector_Graphics SVG] (which are part of the [http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_allPlus.rng TEI schema with all modules plus external additions]) are supported.
    135134
    136135A description of TEI pointers and links could be found [/wiki/schema/tei-pointers here].
    137136
    138137=== Elements ===
    139 A TEI document (element „TEI“ with namespace „TEI“) consists of a metadata part (element „teiHeader“) which contains the metadata of the document and a fulltext part (element „text“) which contains the content of the document.
    140 
    141 Global attributes (usable in all elements):
    142 * xlink:href ^an extension of TEI Lite^
    143 
    144 Metadata elements:
    145 * fileDesc, titleStmt, author, name, title, publicationStmt, date, idno, availability, sourceDesc, bibl
    146 * profileDesc, langUsage, language
    147 * ...
    148 
    149 Fulltext elements (with attributes in paranthesis):
    150 * text elements: div, gap (extent), head, lb, lg, l, p, pb (xlink:href), s, seg
     138
     139TEI Lite elements (with attributes in paranthesis):
     140* metadata elements: fileDesc, titleStmt, author, name, title, publicationStmt, date, idno, availability, sourceDesc, bibl, profileDesc, langUsage, language, ...
     141* text elements: div, gap (extent), head, lb, lg, l, p, pb, s, seg
    151142* figure elements: figure
    152143* note elements: note (place)
     
    156147* name elements: name (type="place"), (type="person"), name (type="organization")
    157148* time elements: date
    158 * mathematical elements: num, mml:*
    159 * xhtml elements: xhtml:* : e.g. table, ul
     149* mathematical elements: num
    160150* other elements: hi (rend), expan, emph, choice, orig, abbr, sic, corr, ref (target), anchor (xml:id)
     151
     152TEI elements
     153* text elements: pb (facs)
     154* figure elements: figure (facs)
     155* name elements: placeName (type), persName
     156
     157Additional elements
     158* MathML elements: m:*
     159* SVG elements:
     160* XHTML elements (e.g. table and list elements): xhtml:* (planned in future)
    161161
    162162=== Example ===
     
    165165{{{
    166166<?xml version="1.0" encoding="UTF-8"?>
    167 <TEI xmlns="http://www.tei-c.org/ns/1.0" xmlns:xlink="http://www.w3.org/1999/xlink">
     167<?oxygen RNGSchema="http://mpdl-proto.mpiwg-berlin.mpg.de/exist/rest/db/mpdl/schema/tei/tei_allPlus.rnc" type="compact"?>
     168<TEI xmlns="http://www.tei-c.org/ns/1.0" xmlns:m="http://www.w3.org/1998/Math/MathML">
    168169  <teiHeader>
    169170    <fileDesc>
     
    192193  <text>
    193194    <body>
    194       <pb xlink:href="0001.jpg"/>
    195       <p>
    196         <s>This is the first sentence of the first paragraph. And <seg xlink:href="http://slime.de">here</seg> is a link.</s>
     195      <pb facs="0001.jpg"/>
     196      <p>
     197        <s>This is the first sentence of the first paragraph. And <ref target="http://slime.de">here</ref> is a link.</s>
    197198        <s>This is the second sentence of the first paragraph.</s>
    198199        <s>This is the third sentence of the first paragraph.</s>
     
    203204        <s>This is the third sentence of the second paragraph.</s>
    204205      </p>
    205       <pb xlink:href="0002.jpg"/>
     206      <pb facs="0002.jpg"/>
    206207      <p>
    207208        <s>This is the first sentence of the first paragraph with line <lb/>break.</s><lb/>
     
    214215        <s>This is the third sentence of the second paragraph.</s>
    215216      </p>
     217      <figure facs="fig-0001.jpg"></figure>
     218      <p>And this is a math. formula in MathML:
     219        <formula>
     220        <m:math>
     221          <m:mrow>
     222            <m:msup>
     223             <m:mi>x</m:mi>
     224             <m:mn>2</m:mn>
     225            </m:msup>
     226          </m:mrow>
     227       </m:math>
     228       </formula>
     229      </p>
    216230    </body>
    217231  </text>