Writing ODD files by hand

Let’s bear in mind: An ODD file is just a specialized TEI file, with elements that say things like:

  • Include this element!
  • Delete this element!
  • Change this attribute!
  • Replace the default definition with my custom definition!
  • … and of course Here’s what it means and why I did it!

There are a few things that are useful to remind ourselves of before we start.

  • First, an ODD file is just a TEI file with a bunch of special-purpose elements in it. An ODD file is associated with a TEI schema.
  • Second, it serves two functions: to express the customizations you’ve made, and to document those customizations.
  • Third, when the ODD file is processed, there are two different types of elements: those that express schema modifications and those that are meant for documentation. The elements that express schema modifications affect the generation of your custom schema, and the documentation elements are used to generate your custom documentation.

What are these specialized elements doing? They’re saying things like:

  • Include this element!
  • Delete this element!
  • Change this attribute!
  • Replace the default definition with my custom definition!
  • ...and of course Here’s what it means and why I did it!

Introduction to Writing ODDs slide 01 of 24
© 2010 Syd Bauman, Julia Flanders, and the Women Writers Project This TEI-encoded XML file is available under the terms of the Creative Commons Attribution-ShareAlike 3.0 (Unported) license.