ODD
Jump to navigation
Jump to search
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: BigTitPatrol Asstraffic Allinternal CreampieSurprise Spermswap MrChewsAsianBeaver AdultFreindFinder GiveMePink Torrie Wilson FastSize BigMouthfuls TugJobs
- Descriptive prose (lots of it)
- Examples of usage (plenty)
- Formal declarations for components of the TEI Abstract Model:
- elements and attributes
- modules
- classes and macros
- 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:
<schemaSpec ident="myTEIlite"> <desc>This is TEI Lite with simplified heads</desc> <moduleRef name="teistructure"/> <moduleRef name="linking"/> <moduleRef name="core"/> <moduleRef name="teiheader"/> <elementSpec ident="head" mode="change"> <content><rng:text/></content> </elementSpec> </schemaSpec>
produces the schema for TEI Lite, with a slight change