Changes between Version 15 and Version 16 of schema
- Timestamp:
- Mar 8, 2011, 10:01:14 AM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
schema
v15 v16 125 125 126 126 [=#tei ] 127 == TEI Lite==128 129 A subset of TEI -Litewill be supported in the near future.127 == TEI == 128 129 A subset of TEI(-Lite) will be supported in the near future. 130 130 131 131 === Schema === 132 132 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. 135 134 136 135 A description of TEI pointers and links could be found [/wiki/schema/tei-pointers here]. 137 136 138 137 === 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 139 TEI 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 151 142 * figure elements: figure 152 143 * note elements: note (place) … … 156 147 * name elements: name (type="place"), (type="person"), name (type="organization") 157 148 * time elements: date 158 * mathematical elements: num, mml:* 159 * xhtml elements: xhtml:* : e.g. table, ul 149 * mathematical elements: num 160 150 * other elements: hi (rend), expan, emph, choice, orig, abbr, sic, corr, ref (target), anchor (xml:id) 151 152 TEI elements 153 * text elements: pb (facs) 154 * figure elements: figure (facs) 155 * name elements: placeName (type), persName 156 157 Additional elements 158 * MathML elements: m:* 159 * SVG elements: 160 * XHTML elements (e.g. table and list elements): xhtml:* (planned in future) 161 161 162 162 === Example === … … 165 165 {{{ 166 166 <?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"> 168 169 <teiHeader> 169 170 <fileDesc> … … 192 193 <text> 193 194 <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> 197 198 <s>This is the second sentence of the first paragraph.</s> 198 199 <s>This is the third sentence of the first paragraph.</s> … … 203 204 <s>This is the third sentence of the second paragraph.</s> 204 205 </p> 205 <pb xlink:href="0002.jpg"/>206 <pb facs="0002.jpg"/> 206 207 <p> 207 208 <s>This is the first sentence of the first paragraph with line <lb/>break.</s><lb/> … … 214 215 <s>This is the third sentence of the second paragraph.</s> 215 216 </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> 216 230 </body> 217 231 </text>