Difference between revisions of "ODD"
Jump to navigation
Jump to search
Piotr Banski (talk | contribs) (→See also: link description) |
Piotr Banski (talk | contribs) (→See also: found one more) |
||
Line 33: | Line 33: | ||
*[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 | ||
*[http://www.tei-c.org/Drafts/edw88.xml A draft of a P5 ODD HowTo], by Lou Burnard | *[http://www.tei-c.org/Drafts/edw88.xml A draft of a P5 ODD HowTo], by Lou Burnard | ||
+ | *[http://tei.oucs.ox.ac.uk/Oxford/2006-09-methNet/Talks/RomaJourney.ppt A PowerPoint presentation on TEI/ODD] by Laurent Romary; OUCS, September 2006 | ||
[[Category:Acronyms]] | [[Category:Acronyms]] | ||
[[Category:Customization|!]] | [[Category:Customization|!]] |
Revision as of 02:45, 4 April 2007
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:
- 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.
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.
See also
- A talk about the ODD system, given on 13 Feb 2007 by Lou Burnard and Sebastian Rahtz at the OUCS Encoding Digital Texts workshop
- A draft of a P5 ODD HowTo, by Lou Burnard
- A PowerPoint presentation on TEI/ODD by Laurent Romary; OUCS, September 2006