Example

Note that there are four required modules to make a conforming TEI customization:

  <body>
    <schemaSpec ident="demo01">

      <!-- required modules -->
      <moduleRef key="tei"/> <!-- has underpinnings of TEI class system -->
      <moduleRef key="core"/><!-- has <title>, <p>, <emph>, etc. -->
      <moduleRef key="header"/>        <!-- has <teiHeader>, <fileDesc>, etc. -->
      <moduleRef key="textstructure"/> <!-- has <TEI>, <text>, <div>, etc. -->

      <!-- optional modules -->
      <moduleRef key="namesdates"/>
      <moduleRef key="transcr"/>
      <moduleRef key="analysis"/>

    </schemaSpec>
  </body>

This is an example of what your module selection may look like. You will use the <moduleRef> element to specify which modules you want to include. If there’s an module you want to delete, just omit it from the <moduleRef> section.

Note that there are four required modules: tei, core, header, and textstructure. These are all necessary for the creation of a TEI document, so don’t forget to include them!

Introduction to Writing ODDs slide 03 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.