ODD

ODD is "One Document Does it all". The TEI Guidelines, its DTD, and its schema fragments, are all produced from a single XML resource containing:


 * 1) Descriptive prose (lots of it)
 * 2) Examples of usage (plenty)
 * 3) Formal declarations for components of the TEI Abstract Model:
 * 4) elements and attributes
 * 5) modules
 * 6) classes and macros
 * 7) We call this resource an ODD (One Document Does it all) although the master source is instantiated as a gazillion XML mini-documents.

The TEI scheme can only be used by customizing it. Customizations are also expressed in the ODD language. For example:

 This is TEI Lite with simplified heads        

produces the schema for TEI Lite, with a slight change