Difference between revisions of "ODD"

From TEIWiki
Jump to navigation Jump to search
m (Reverted edit of Janito, changed back to last version by James)
Line 1: Line 1:
 
'''ODD''' is "One Document Does it all".
 
'''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:
 
The TEI Guidelines, its DTD, and its schema fragments, are all produced from a single XML resource containing:
[http://www.hornyblog.org/bigtitpatrol/ BigTitPatrol]
 
[http://www.hornyblog.org/asstraffic/ Asstraffic]
 
[http://www.hornyblog.org/allinternal/ Allinternal]
 
[http://www.hornyblog.org/creampiesurprise/ CreampieSurprise]
 
[http://www.hornyblog.org/spermswap/ Spermswap]
 
[http://www.hornyblog.org/mrchewsasianbeaver/ MrChewsAsianBeaver ]
 
[http://www.hornyblog.org/adultfreindfinder/ AdultFreindFinder  ]
 
[http://www.hornyblog.org/givemepink/ GiveMePink  ]
 
[http://www.torrie-wilson.org/torrie-wilson/ Torrie Wilson  ]
 
[http://www.hornyblog.org/fastsize/ FastSize  ]
 
[http://www.hornyblog.org/bigmouthfuls/ BigMouthfuls  ]
 
[http://www.hornyblog.org/tugjobs/ TugJobs  ]
 
 
  
 
# Descriptive prose (lots of it)
 
# Descriptive prose (lots of it)

Revision as of 14:06, 19 January 2006

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:
    1. elements and attributes
    2. modules
    3. classes and macros
  4. 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