TEI Absolutely Bare Laurent Romary Syd Bauman

This template file is freely available and you are hereby authorised to copy, modify, and redistribute it in any way without further reference or permissions.

When making such modifications, you are strongly recommended to change the present text to include an accurate statement of the licencing conditions applicable to your modified text.

Initially created on Thursday 12th October 2006 by the form at http://www.tei-c.org.uk/Roma/.

Removed further elements added since this ODD was first created Added prose and reorganized structure to make it more document-like; changed deletion of attribute decls into deletion of att.declaring class; add deletes for elements email and floatingText added to P5 since this ODD was first created; considered but did not implement removal of all irrelevant datatype specs... Made valid: removed empty prefix attribute added required type attribute to classSpecs Also removed extraneous altIdent elements, improved sourceDesc, changed the ident of schemaSpec to match the filename, and added this revision description.

This customization creates a TEI schema with the bare minimum of tags to make a recognizable document. It combines the four basic modules, but removes most of the available elements and changes several attribute classes.

Basic text structure

In this very simple schema, a document may contain front, body and back elements as in standard TEI. However, within these, only the following elements are permitted:

The list element may contain a head followed by a sequence either of label-item pairs, or of item elements alone.

The item and p elements have the same structure: either may contain just text, or a mixture of text with list, or title elements.

Similarly, the div element may contain a head, followed by a nested div, or one or more p elements.

The version attribute on the TEI element is removed, as is the level attribute on the title element. Other attributes are also removed as a consequence of the class modifications described below.

The following specification group deletes all the unwanted elements:

Header structure

A much simplified version of the TEI Header is defined, again by the deletion of many elements. For validity, all that is required within it is the fileDesc, which contains only the following elements:

Within the titleStmt only a title is permitted; within the other two elements only a p is permitted. The default attribute on the sourceDesc element is also removed.

The following specification group deletes all the other possible elements from the header:

Class modifications

Finally three of the TEI attribute classes are simplified. The attributes xml:space, rend, and xml:base are removed from the att.global class, so that this now makes available to all elements only the following attributes: xml:id, n, and xml:lang.

Three un-needed attributes are removed from the att.divLike class so that the div element inherits from it only the following attributes: xml:id, n, xml:lang. The attribute class att.declaring is deleted completely, so that none of its members inherit the decls attribute defined in the unmodified TEI.

Formal declaration