Difference between revisions of "ODD"

From TEIWiki
Jump to navigation Jump to search
(See also: + several links)
(added sections for outside uses of ODD, future plans, and a link to Wikipedia article)
Line 32: Line 32:
  
 
produces the schema for TEI Lite, with a slight change.
 
produces the schema for TEI Lite, with a slight change.
 +
 +
== Uses besides the TEI Guidelines and various customizations ==
 +
 +
* [http://www.w3.org/TR/its/ Internationalization Tag Set (ITS)]
 +
 +
== Future plans ==
 +
 +
(someone should describe "son of ODD" here)
  
 
== See also ==
 
== See also ==
 +
*[http://en.wikipedia.org/wiki/ODD_%28Text_Encoding_Initiative%29 ODD (Text Encoding Initiative)] in Wikipedia
 
*[http://www.tei-c.org/Guidelines/Customization/odds.xml Getting Started with P5 ODDs]
 
*[http://www.tei-c.org/Guidelines/Customization/odds.xml Getting Started with P5 ODDs]
 
*[http://tei.oucs.ox.ac.uk/Oxford/2007-02-13-oucs/talk-odds.xml A talk about the ODD system], given on 13 Feb 2007 by Lou Burnard and Sebastian Rahtz at the OUCS ''Encoding Digital Texts'' workshop
 
*[http://tei.oucs.ox.ac.uk/Oxford/2007-02-13-oucs/talk-odds.xml A talk about the ODD system], given on 13 Feb 2007 by Lou Burnard and Sebastian Rahtz at the OUCS ''Encoding Digital Texts'' workshop

Revision as of 14:44, 13 April 2011

ODD stands for "One Document Does it all". It is a TEI XML-conformant specification format that allows one to customize TEI P5 in a literate programming fashion. It uses elements from the new Tag Documentation module.

Description

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

We call this resource an ODD (One Document Does it all), although the master source is instantiated as a gazillion XML mini-documents.

A system of XSLT stylesheets called Roma has been created for the purpose of easy manipulation of ODD files.

Example

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.

Uses besides the TEI Guidelines and various customizations

Future plans

(someone should describe "son of ODD" here)

See also