<?xml version="1.0" encoding="UTF-8"?>
<TEI xmlns:xi="http://www.w3.org/2001/XInclude" xmlns="http://www.tei-c.org/ns/1.0"
          xmlns:teix="http://www.tei-c.org/ns/Examples"
          xmlns:rng="http://relaxng.org/ns/structure/1.0" xml:lang="en">
          <teiHeader>
                    <fileDesc>
                              <titleStmt>
                                        <title>TEI for authoring ODD</title>
                                        <author>Sebastian Rahtz</author>
                              </titleStmt>
                              <publicationStmt>
                                        <authority/>
                                        <availability status="free">
                                                  <p>This template file is freely available and you
                                                  are hereby authorised to copy, modify, and
                                                  redistribute it in any way without further
                                                  reference or permissions.</p>
                                                  <p>When making such modifications, you are
                                                  strongly recommended to change the present text to
                                                  include an accurate statement of the licencing
                                                  conditions applicable to your modified text.</p>
                                        </availability>
                              </publicationStmt>
                              <notesStmt>
                                        <note type="ns">http://www.example.org/ns/nonTEI</note>
                              </notesStmt>
                              <sourceDesc>
                                        <p>Written from scratch.</p>
                              </sourceDesc>
                    </fileDesc>
          </teiHeader>
          <text>
                    <body>
                              <p>This customization loads the modules and external&#13; schemata
                                        necessary for writing TEI ODD documents.</p>
                              <schemaSpec ident="works"
                                        start="TEI schemaSpec elementSpec classSpec macroSpec div"
                                        prefix="">
                                        <moduleRef
                                                  url="http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/relaxng.rng"/>
                                        <moduleRef key="header"/>
                                        <moduleRef key="core"/>
                                        <moduleRef key="tei"/>
                                        <moduleRef key="gaiji"/>
                                        <moduleRef key="textstructure"/>
                                        <moduleRef key="tagdocs"/>
                                        <moduleRef key="dictionaries"/>
                                        <moduleRef key="linking"/>
                                        <moduleRef key="figures"/>
                                        <elementSpec ident="teiCorpus" mode="delete" module="core"/>
                                        <!-- required to avoid Sanity Checker complaint -->
                                        <elementSpec ident="handNote" mode="delete" module="header"/>
                                        <macroSpec ident="macro.schemaPattern" mode="change"
                                                  module="tagdocs">
                                                  <content>
                                                  <group xmlns="http://relaxng.org/ns/structure/1.0">
                                                  <choice>
                                                  <text/>
                                                  <oneOrMore>
                                                  <choice>
                                                  <ref name="pattern"/>
                                                  <ref name="define"/>
                                                  </choice>
                                                  </oneOrMore>
                                                  </choice>
                                                  <zeroOrMore>
                                                  <ref name="anySchematron"/>
                                                  </zeroOrMore>
                                                  </group>
                                                  </content>
                                        </macroSpec>
                                        <macroSpec ident="anySchematron" mode="add">
                                                  <content>
                                                  <element
                                                  xmlns="http://relaxng.org/ns/structure/1.0">
                                                  <nsName ns="http://www.ascc.net/xml/schematron"/>
                                                  <zeroOrMore>
                                                  <choice>
                                                  <attribute>
                                                  <anyName/>
                                                  </attribute>
                                                  <ref name="anySchematron"/>
                                                  <text/>
                                                  </choice>
                                                  </zeroOrMore>
                                                  </element>
                                                  </content>
                                        </macroSpec>
                                        <moduleRef key="analysis" except=""/>
                                        <moduleRef key="certainty" except=""/>
                                        <moduleRef key="drama" except=""/>
                                        <moduleRef key="msdescription" except=""/>
                                        <moduleRef key="namesdates" except=""/>
                                        <moduleRef key="textcrit" except=""/>
                                        <moduleRef key="transcr" except=""/>
                                        <moduleRef key="verse" except=""/>
                              </schemaSpec>
                    </body>
          </text>
</TEI>
