Difference between revisions of "ODD"
(→Articles) |
(→Future plans: added mention of "Pure ODD") |
||
Line 41: | Line 41: | ||
== Future plans == | == Future plans == | ||
− | Over the years ODD has evolved progressively to reflect more and more needs of the TEI community, both as the core specification language for the TEI guidelines, but also as generic customization language for any TEI users. Still ODD remains a hybrid environment combining its own vacabulary with RelaxNG fragments and at times, validation vocabularies from external languages (e.g. Schematron). The | + | Over the years ODD has evolved progressively to reflect more and more needs of the TEI community, both as the core specification language for the TEI guidelines, but also as generic customization language for any TEI users. Still ODD remains a hybrid environment combining its own vacabulary with RelaxNG fragments and at times, validation vocabularies from external languages (e.g. Schematron). The Technical Council contemplates putting on its work program a revision of the ODD infrastructure, considering either to drop it altogether in favor of one existing schema language, or extend its capabilities to make it a self contained and generic specification language. Some thoughts are included at [[ODD-dev]], and the effort to make it self-contained is now referred to as [https://github.com/TEIC/pureodd "Pure ODD"]. |
== See also == | == See also == |
Revision as of 18:13, 24 October 2014
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 Documentation Elements module.
Contents
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.
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 key="tei"/> <moduleRef key="textstructure"/> <moduleRef key="linking"/> <moduleRef key="core"/> <moduleRef key="header"/> <elementSpec ident="head" mode="change"> <content><rng:text/></content> </elementSpec> </schemaSpec>
produces the schema a bit like TEI Lite, with a slight change.
Uses besides the TEI Guidelines and various customizations
- Internationalization Tag Set (ITS)
- various standards proposal designed within ISO committee TC 37 have been totally or partially written in TEI/ODD: MLIF, MAF, ISO 16642 rev., ISOTimeML
Future plans
Over the years ODD has evolved progressively to reflect more and more needs of the TEI community, both as the core specification language for the TEI guidelines, but also as generic customization language for any TEI users. Still ODD remains a hybrid environment combining its own vacabulary with RelaxNG fragments and at times, validation vocabularies from external languages (e.g. Schematron). The Technical Council contemplates putting on its work program a revision of the ODD infrastructure, considering either to drop it altogether in favor of one existing schema language, or extend its capabilities to make it a self contained and generic specification language. Some thoughts are included at ODD-dev, and the effort to make it self-contained is now referred to as "Pure ODD".
See also
- ODD (Text Encoding Initiative) in Wikipedia
- ODD-dev
Documentation
- Getting Started with P5 ODDs
- A fragment of W3C's Best Practices for XML Internationalization concerning ODD customization for the Internationalization Tag Set (ITS).
Presentations
- 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 PowerPoint presentation on TEI/ODD by Laurent Romary; OUCS, September 2006
- Literate serialization of linguistic metamodels by Piotr Bański, Balisage-2011
Articles
- Resolving the Durand Conundrum, by Lou Burnard
- Odd Customizations, by Syd Bauman and Julia Flanders.
- RelaxNG with Son of ODD, by Lou Burnard and Sebastian Rahtz.
- Freedom to Constrain by Syd Bauman