![]() |
Text Encoding Initiative |
The P4 DTD |
|
1. The TEI P4 DTD filesFrom this page you can download current versions for all the files which make up the current version of the TEI DTD. For information about how these DTD fragments should be used and how these files interact, you need to read the Guidelines themselves. For a brief overview of the files in the DTD, please see Chapter 36 of the TEI Guidelines, from which the table below is reproduced. The TEI DTD files can be customized in many different ways, to make large or small DTDs according to need. TEI Lite is one such customization of the whole; its DTD files are at www.tei-c.org/Lite/DTD; Master is another such customization, and there are many others. Full reference information on how to perform such customization (using TEI Lite as an example) is provided in Chapter 29 of the Guidelines. Experimental work is currently underway to investigate the automatic production of Relax NG schemas for use with the TEI Guidelines. 1.1. Moving from P3 to P4If you are still using the P3 DTDs and wish to upgrade you can choose to either use P4 as SGML or P4 as XML. The TEI strongly recommends the latter, and the NEH-funded TEI Migration Task Force has written extensive reports on the process of migrating from P3 to P4 XML. They can be found on what is affectionately called the migration page. If you wish to try the P4 DTDs in your current SGML environment, you can do so by either of the following methods:
Neither the actual filenames (teicore2.dtd etc.) used nor the method of constructing application specific DTDs has changed with this release. For example, if you currently test files using a driver that begins <!DOCTYPE TEI.2 SYSTEM "/home/wherever/mylocalteistuff/tei2.dtd" [ <!ENTITY % TEI.prose "INCLUDE" > ... ]><TEI.2> ...and you have not yet changed the contents of home/wherever/mylocalteistuff, then you could experiment with the new DTDs simply by changing your driver file to reference the online version. The file would then begin: <!DOCTYPE TEI.2 SYSTEM "http://www.tei-c.org/Guidelines/DTD/tei2.dtd" [ <!ENTITY % TEI.prose "INCLUDE" > ]> ... The TEI editors are particularly anxious to receive reports of errors with documents that were regarded as valid by previous releases of the TEI DTDs, but which the new DTDs will not accept. Send feedback of any kind to editors@tei-c.org, or, if you want to discuss issues raised more widely with other TEI users, to tei-tech@listserv.brown.edu. Thank you! 1.2. The TEI DTD filesThe following tables give for each of the files making up the current release:
. To make up the Formal Public Identifier, the full name of the module should be prefixed by the string -//TEI P4// and the type of declarations contained, and suffixed by the string //EN. Thus the FPI for the first file listed below should be -//TEI P4//ELEMENTS Additional Element Set for Simple Analysis//EN. Each table corresponds with a single TEI module or `tag set' i.e. a group of related DTD fragments. Tables are listed in alphabetical order. 1, Additional tag set for simple analysis: enabled by TEI.analysis
2, Core tag sets: enabled when any TEI base is enabled
3, Additional tag set for certainty: enabled by TEI.certainty
4, Additional tag set for language corpora: enabled by TEI.corpus
5, Base tag set for dictionaries: enabled by TEI.dictionary
6, Base tag set for performance texts: enabled by TEI.drama
7, Additional tag set for figures, tables and formulae: enabled by TEI.figures
8, Auxiliary DTD for Feature System Declarations
9, Additional tag set for feature structures: enabled by TEI.fs
10, General Base tag set, for use with one or more other base tag sets: enabled by TEI.general
11, The TEI main DTD
12, Additional tag set for Linking and Segmentation: enabled by TEI.linking
13, Mixed base tag set, for use with one or more other base tag sets: enabled by TEI.mixed
14, Additional tag set for Names and Dates: enabled by TEI.names.dates
15, Additional tag set for Graph Theory: enabled by TEI.nets
16, Base tag set for Prose: enabled by TEI.prose
17, Auxiliary DTD for Independent Headers
18, Base tag set for Transcribed Speech: enabled by TEI.spoken
19, Additional tag set for Textual Criticism: enabled by TEI.textcrit
20, Base tag sets for Terminological Data: enabled by TEI.terminology
21, Additional tag set for Physical Transcription: enabled by TEI.transcr
22, Auxiliary DTD for Tag Set documentation
23, Base tag set for Verse: enabled by TEI.verse
24, Auxiliary tag set for Writing System Declarations
25, Auxiliary tag set for concurrent markup of pages and lines
Two catalog files are provided with the TEI DTD fragments, one (catalog.tei) in SGML Open format; the other (teicatalog.xml) in XML Catalog format: either file may be used to specify the location of copies of the TEI DTD fragments stored locally, as further discussed in Section 2.10.4. |