<?xml version="1.0" encoding="UTF-8"?>
<TEI xmlns="http://www.tei-c.org/ns/1.0" 
  xmlns:sch="http://purl.oclc.org/dsdl/schematron" 
  xmlns:sqf="http://www.schematron-quickfix.com/validator/process"
  xmlns:eg="http://www.tei-c.org/ns/Examples"
  xmlns:egXML="http://www.tei-c.org/ns/Examples"
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 
  xmlns:tei="http://www.tei-c.org/ns/1.0"
  xml:lang="en">
  <teiHeader>
    <fileDesc>
      <titleStmt>
        <title>jTEI input customization</title>
        <author xml:id="RvdB"><name>Ron Van den Branden</name> <email>ron.vandenbranden@kantl.be</email></author>
        <author xml:id="MDH"><name>Martin Holmes</name> <email>mholmes@uvic.ca</email></author>
      </titleStmt>
      <editionStmt>
        <edition>Originally generated on <date>2014-01-30T13:29:15Z</date> using oddbyexample.xsl.
          Progressively modified after that. </edition>
      </editionStmt>
      <publicationStmt>
        <p/>
      </publicationStmt>
      <sourceDesc>
        <p>Originally generated by oddbyexample.xsl, based on analyzing 6 files from
          file:/F:/ctb/jTEI/jTEIsource/branches/working docs/tei2openedition/oddbyexample. Manually
          modified thereafter. </p>
      </sourceDesc>
    </fileDesc>
    <encodingDesc>
      <tagsDecl>
        <rendition xml:id="italic">font-style:italic;</rendition>
        <rendition xml:id="el-emph">font-style: italic;</rendition>
        <rendition xml:id="el-term">font-style: italic;</rendition>
        <rendition xml:id="el-foreign">font-style: italic;</rendition>
        <rendition xml:id="el-mentioned">font-style: italic;</rendition>
        <rendition xml:id="mono">font-family:Courier;</rendition>
        <rendition xml:id="el-att">font-family:Courier;</rendition>
        <rendition xml:id="el-code">font-family:Courier;</rendition>
        <rendition xml:id="el-gi">font-family:Courier;</rendition>
        <rendition xml:id="el-ident">font-family:Courier;</rendition>
        <rendition xml:id="el-val">font-family:Courier;</rendition>
        <rendition xml:id="el-tag">font-family:Courier;</rendition>
        <rendition xml:id="sup">vertical-align:super;</rendition>
        <rendition xml:id="border">border: 1px solid black;</rendition>
        <rendition xml:id="table">width: 100%;</rendition>
        <rendition xml:id="el-quotation">margin-left:2em;display:block;</rendition>
        <rendition xml:id="h1">font-weight: bold; font-size: 120%;display: block;</rendition>
        <rendition xml:id="generic-head">font-weight: bold;display: block;</rendition>
        <rendition xml:id="pre">white-space:preserve;</rendition>
      </tagsDecl>
    </encodingDesc>
    <revisionDesc>
      <change who="#RvdB #MDH" from="2014-02-12"> Gradual enhancement and modification of the schema
        as we work through the initial tests with documents for Issue 6 and 7 of the journal. </change>
      <change who="#RvdB" when="2014-02-12">
        <list>
          <item>Created initial ODD with oddbyexample.xsl</item>
          <item>Simplified + refined initial version</item>
        </list>
      </change>
      <change who="#pietro" when="2020-10-27">Added @see attributes to sch:assert statements and
        improved errors reports.</change>
    </revisionDesc>
  </teiHeader>
  <text>
    <front>
      <titlePage>
        <docTitle>
          <titlePart type="main">Journal of the Text-Encoding Initiative Article Schema</titlePart>
          <titlePart type="sub">Schema and guidelines for encoding an article for the
            journal</titlePart>
        </docTitle>
        <docAuthor>Ron Van den Branden</docAuthor>
        <docAuthor>Martin Holmes</docAuthor>
        <docDate>2014</docDate>
      </titlePage>
    </front>
    <body>
      <div xml:id="introduction">
        <head>Introduction</head>

        <p>This document introduces and documents the content and use of the schemas provided by the
          <title level="j">Journal of the Text Encoding Initiative</title>, as part of the TEI P5 distribution, 
          for the use of authors who want to submit their
          articles to the journal in TEI. The schema described in this document is highly
          constrained and restrictive, consisting only of some 80 elements, compared with the
          complete TEI schema which contains nearly six hundred. In addition to general structural constraints, 
          the ODD file also embeds fine-grained Schematron rules, severely limiting your options as you encode 
          your file.</p>

        <p>It is very likely that, as an experienced and confident TEI encoder with a broad
          knowledge of the TEI schema, you will find this at least a little frustrating. Where the
          TEI typically provides several ways of encoding the same phenomenon, we usually support
          only one. Where larger TEI schemas will allow you to describe rendering
          features (<tag>hi rend="italic"</tag>) we do not allow that; we force you to choose a
          conceptual tag such as <gi>emph</gi> or <tag>title level="j"</tag>. </p>

        <p>The reasons for this are fairly obvious. From the XML document you submit, we need to
          generate a range of different outputs—ODT for reviewers and copyeditors to read and
          annotate, OpenEdition XML for submission to the <ref target="http://wwww.lodel.org/"
            >lodel.org</ref> publication engine that supports the journal website, and an
          accompanying PDF version. We must enforce a degree of conformity across all submissions,
          not only in order to maintain consistency when we publish, but also to ensure that
          contributions are assessed by reviewers in as fair a manner as possible, without possible
          influences due to divergence from the expected style rules or formatting conventions.</p>

        <p>However, this constraint and conformity has advantages for you too, as an author. Our
          schemas will enforce a number of constraints which, we believe, may assist you in
          improving the quality of your article; these are a few of them: <list>
            <item><!-- [RvdB] problem: not all <quote> elements have accompanying <ref>:
                -jtei-6-Mandell-source.xml: the source for a blockquote is given in a <note>, since it isn't a bibliographical resource (but an email)
                [MDH] solution: we don't accept this in future. :-)            -->All
              quotations should be linked to references in the text.</item>
            <item>All references must be linked to bibliography items.</item>
            <item>All bibliography items must be cited somewhere in the text.</item>
            <item><!-- [RvdB] 2 exceptions:
                -jtei-6-Cummings-source.xml: v<hi rendition="#sup">li</hi> iij<hi rendition="#sup">s</hi> iiij<hi rendition="#sup">d</hi>
                [MDH] This is a good one; can't think of a solution there. The problem is that I don't have an easy way 
                of handling arbitrary CSS in <rendition>; it needs to know whether it's applying to a block level element, 
                an inline element, a list or whatever. We will need to standardize here.            -->All
              text styles such as italicization or quotation marks appear as a result of conceptual
              tags.</item>
          </list>
        </p>

        <p>In what follows, we aim to provide a readable guide to encoding your article (or perhaps
          even composing it) according to the journal schemas, beginning with the template we
          provide, and viewing your results as you work through the use of CSS (in Author Mode in
          Oxygen) or by transforming it into ODT for examination in your word-processor, or to
          PDF.</p>

        <p>This document is a work-in-progress (always), and we welcome your feedback at either <ref target="mailto:mholmes@uvic.ca">mholmes@uvic.ca</ref> (Martin Holmes) or <ref target="mailto:ron.vandenbranden@kantl.be">ron.vandenbranden@kantl.be</ref> (Ron Van den Branden).</p>
      </div>
      <div xml:id="oxygen">
        <head>Encoding for jTEI in Oxygen</head>
      <div xml:id="templates">
        <head>Using the Template</head>
        
        <p>Starting with version 16.2, the default distribution of Oxygen should include the jTEI 
          components as part of its built-in TEI P5 framework. If you are using an older version of 
          Oxygen, you can subscribe to the TEI-built version of the framework, by following <ref target="http://blogs.it.ox.ac.uk/jamesc/2014/04/02/auto-update-your-tei-framework-in-oxygen/">these 
          instructions</ref>.</p>
        
        <p>  
          In Oxygen, you can start a new article based on the jTEI template by selecting <ident>File</ident> →
            <ident>New</ident>, and selecting <ident>JTEI Article [TEI P5]</ident> under
              <ident>Framework templates</ident> → <ident>TEI P5</ident>.</p> 
        <figure>
          <graphic url="images/new-from-jtei-template.png"/>
          <head type="legend">Selecting the <ident>jTEI article</ident> template in Oxygen.</head>
        </figure>
        <p>You will see that the root <gi>TEI</gi> element in the new file has an attribute 
          <att>rend</att>=<val>jTEI</val>. This tells 
          Oxygen that it's a jTEI file, so that it can apply standard
          jTEI rendering and validation scenarios to it. If you don't want to keep this 
          attribute value, you can achieve the same effect by saving the file with a 
          filename matching this format: <q>jtei-*-source.xml</q> (where the asterisk stands for 
          anything you like); Oxygen will also recognize files with names in this format as jTEI files.</p>
        
      </div>
      <div xml:id="testing">
        <head>Testing Your Document</head>
        <p>The Oxygen framework provides two output rendering scenarios, which allow you to
            transform your jTEI article to the ODT and PDF formats. Open the ODT file you create in
            a recent version of LibreOffice or OpenOffice; Microsoft Office does not support the
            current ODT specification. The PDF file can be viewed in a PDF viewer such as Adobe
            Reader. If you see any problems with the rendering, don't worry, and please don't change
            good TEI XML to bad TEI in an attempt to make it render more successfully; report the
            problem to us and we'll look into it.</p>
      </div>
      </div>
      <div xml:id="structure">
        <head>Basic Text Structure</head>
        <p>A jTEI journal article is a relatively simple TEI document 
          consisting of a <gi>teiHeader</gi> and a <gi>text</gi>. </p>
        <div xml:id="header">
          <head>The Header and Metadata</head>
          <p>This is an example <gi>teiHeader</gi>:</p>
          <egXML xmlns="http://www.tei-c.org/ns/Examples">
            <teiHeader>
              <fileDesc>
                <titleStmt>
                  <title type="main">Learning the TEI in a Digital Environment</title>
                  <author>
                    <name><forename>Stella</forename> <surname>Dee</surname></name>
                    <affiliation>Stella Dee is currently a <roleName>Research Associate</roleName> 
                      working to develop e-learning resources for historical languages with the 
                      Open Philology Project at the <orgName>University of Leipzig</orgName>. 
                      The research of this article was conducted while studying for a Masters 
                      degree in digital humanities at King’s College, London.</affiliation>
                    <email>dee@informatik.uni-leipzig.de</email>
                  </author>
                </titleStmt>
                <publicationStmt>
                  <publisher>TEI Consortium</publisher>
                  <date>2014</date>
                  <idno>Issue 7</idno>
                  <availability>
                    <licence target="https://creativecommons.org/licenses/by/4.0/">
                      <p>For this publication, a Creative Commons Attribution 4.0
                        International license has been granted by the author(s), who 
                        retain full copyright.</p>
                    </licence>
                  </availability>
                </publicationStmt>
                <sourceDesc>
                  <p>No source, born digital.</p>
                </sourceDesc>
              </fileDesc>
              <encodingDesc>
                <projectDesc>
                  <p>OpenEdition Journals -centre for open electronic publishing- is the platform for journals in the
                    humanities and social sciences, open to quality periodicals looking to publish full-text
                    articles online.</p>
                </projectDesc>
              </encodingDesc>
              <profileDesc>
                <langUsage>
                  <language ident="en"/>
                </langUsage>
                <textClass>
                  <keywords xml:lang="en">
                    <term>pedagogy</term>
                    <term>student resources</term>
                    <term>survey</term>
                    <term>file publication</term> 
                  </keywords>
                </textClass>
              </profileDesc>
            </teiHeader>
          </egXML>
          
          <p>Some of the content is boilerplate material provided by the template. These are the
            parts that you must
            supply:<!--[RvdB] should we provide visualization of the header in the Author CSS, then?--></p>
          
          <list>
            <item>The title of your article (in <code>fileDesc/titleStmt/title[@type='main']</code>).</item>
            <item>Author information for each author (in <code>fileDesc/titleStmt/author</code>).
              Provide one <gi>author</gi> element for each author. Encode the names as shown, using
                <gi>forename</gi> and <gi>surname</gi>, inside <gi>name</gi> if possible. 
<!--       [PL]       forename and surname are very much western habits. Ethiopian colleagues do not have this habit, for example.
              why not allow all what is possible in name? I also do not see constraints here in the ODD about this.
              -->
              Then provide a brief
              biographical paragraph for each author in <gi>affiliation</gi>, and an email
              address.</item>
            <item>Keywords (in <code>profileDesc/textClass/keywords</code>). Provide a handful 
            of general categories under which you feel your article fits. There is (currently) no formal 
            ontology of article categories to choose from. You may consult the 
              <ref target="https://journals.openedition.org/jtei/108">list of keywords from 
            previous articles</ref> on the journal website, but if you don't see what you need, feel free 
              to use new ones. The editors may formalize these categories in future.<!--  [PL]  really ?-->
            </item>
          </list>
        </div>
        <div xml:id="front">
          <head>Front Matter</head>
          <p>The front matter must consist of an abstract, encoded in <tag>div type="abstract"</tag>.
          This should consist of one or two short paragraphs, covering the purpose and content of the 
          article.</p>
          <p>The only other thing that may appear in the front matter is a brief acknowledgements section.
          If you need to include this to acknowledge contributors, funding agencies etc., insert it after 
          the abstract, encoded as <tag>div type="acknowledgements"</tag>. It should be no longer than 
          one short paragraph.</p>
        </div>
        <div xml:id="body">
          <head>The Body</head>
          <p>The content of the article appears in the body. It should be divided into sections using 
          <gi>div</gi> elements. Each <gi>div</gi> element should have an <att>xml:id</att> attribute, and 
          its first child should be a <gi>head</gi> element with a suitable heading (in title case). 
            <gi>div</gi> elements may be nested to provide subsections. </p>
          <p>Do not provide section numbering in explicitly in the <gi>head</gi>s of your <gi>div</gi>s.
          These will be provided automatically by the rendering tools.</p>
        <p>An Editorial Introduction can be added in the body using a <tag>div type="editorialIntroduction"</tag>. This is the only <gi>div</gi> which does not require <gi>head</gi>.</p>
        </div>
        <div xml:id="back">
          <head>Back Matter: the Bibliography and Appendices</head>
          <p>The back matter consists of a bibliography (required), which is encoded in 
          <tag>div type="bibliography"</tag>, and optional appendices, each of which if 
          present must be encoded using <tag>div type="appendix"</tag>. Appendices 
          must appear after the bibliography.</p>
          <p>The bibliography consists of a <gi>listBibl</gi> element containing a series of 
          <gi>bibl</gi> elements. Each <gi>bibl</gi> element should contain a reference formatted
          as required by the <title level="m">Chicago Manual of Style</title> (16th edition), including
          all required punctuation, with a couple of exceptions:</p>
          <list>
            <item>Do not provide quotation marks around article titles. Instead, tag them with
                <tag>title level="a"</tag> (for chapters or contributions in a monograph, or journal
              articles) or <tag>title level="u"</tag> (for unpublished materials). The rendering
              tools will then provide the quotation marks.</item>
            <item>Tag titles that would normally be in italics using <tag>title level="j"</tag> (for
              journal titles) or <tag>title level="m"</tag> (for monographs).</item>
          </list>
          <p>Give each <gi>bibl</gi> element a unique <att>xml:id</att> attribute, 
            so that you can link to it from the quotations in the body of your text.
            In your bibliography entries, put the appropriate tags around the 
            following components:</p>
          <list>
            <item>titles: <gi>title</gi>, with an appropriate value for <att>level</att> (see above)</item>
            <item>editions: <gi>edition</gi></item>
            <item>dates: <gi>date</gi></item>
            <item>authors: <gi>author</gi></item>
            <item>editors: <gi>editor</gi></item>
            <item>publishers: <gi>publisher</gi></item>
            <item>publication places: <gi>pubPlace</gi></item>
            <item>name of series: <gi>series</gi></item>
            <item>scope of a bibliographic reference: <gi>biblScope</gi>, with an appropriate value for <att>unit</att> (<val>volume</val>, <val>issue</val>, <val>page</val>, <val>chapter</val>, <val>part</val>)</item>
            <item>id numbers such as
              DOIs: <gi>idno</gi>, with an appropriate value for <att>type</att></item>
            <item>web urls (use <gi>ref</gi>)</item>
          </list>
          <p>Note: if you have both a formal identification number such as a DOI code and a hyperlink to an online version, the DOI code should be placed last in the bibliographic description.</p>
          <p>Here is a short example:</p>
          
          <egXML xmlns="http://www.tei-c.org/ns/Examples">
            <div xml:id="bibliography" type="bibliography">
              <listBibl>
                <bibl xml:id="aoki07">
                  <author>Aoki, Paul M.</author> <date>2007</date>. 
                  <title level="a">Back Stage on the Front Lines: Perspectives and 
                    Performance in the Combat Information Center</title>. In 
                  <title level="m">Proceedings of the SIGCHI Conference on 
                    Human Factors in Computing Systems</title>, 
                  <biblScope unit="page">717–26</biblScope>. CHI ’07. 
                  <pubPlace>New York</pubPlace>: <publisher>ACM</publisher>. <ref target="http://doi.acm.org.ezproxy.lib.utexas.edu/10.1145/1240624.1240735">
                    http://doi.acm.org.ezproxy.lib.utexas.edu/10.1145/1240624.1240735
                  </ref>. doi:<idno type="doi">10.1145/1240624.1240735</idno>. 
                </bibl> 
                <bibl xml:id="banski10">
                  <author>Bański, Piotr</author>. <date>2010</date>. 
                  <title level="a">Why TEI Stand-off Annotation Doesn’t Quite Work and 
                    Why You Might Want to Use It Nevertheless</title>. In 
                  <title level="m">Proceedings of Balisage: The Markup Conference 2010</title>. 
                  <series>Balisage Series on Markup Technologies</series>, 
                  <biblScope unit="volume">vol. 5</biblScope>. 
                  doi:<idno type="doi">10.4242/BalisageVol5.Banski01</idno>.                  
                </bibl>
                <bibl xml:id="bowers12">
                  <author>Bowers, John</author>. <date>2012</date>. 
                  <title level="a">The Logic of Annotated Portfolios: Communicating the 
                    Value of <soCalled>Research through Design.</soCalled></title>  
                  <title level="j">Proceedings of the Designing Interactive Systems 
                    Conference</title>, <biblScope unit="page">68–77</biblScope>. 
                  <title level="s">DIS ’12</title>. <pubPlace>New York</pubPlace>:
                  <publisher>ACM</publisher>. doi:<idno type="doi">10.1145/2317956.2317968</idno>.
                </bibl>
                <!-- ... -->
              </listBibl>
            </div>
          </egXML>
        </div>
      </div>
      <div xml:id="blocks">
        <head>Divisions, Paragraphs, Lists and Other Block Elements</head>
        <div xml:id="divs">
          <head>Divisions</head>
          <p>Text divisions are encoded in <gi>div</gi>. Each division must have a <gi>head</gi>
            containing the heading for this division. Headings should just contain the
              <soCalled>bare</soCalled> heading, without numbering or other labels; those are added
            automatically when the TEI source file is rendered.</p>
          <p>Divisions typically consist of a number of paragraphs, inside <gi>p</gi> elements.
            Apart from paragraphs, they can contain following text structures:<list>
              <item>subdivisions</item>
              <item>lists</item>
              <item>quotations</item>
              <item>figures and graphics</item>
              <item>tables</item>
              <item>code examples</item>
            </list></p>
          <p>Divisions can nest, by simply including a new <gi>div</gi> element with an
              <att>xml:id</att> attribute and a <gi>head</gi> in a parent division. There's no need
            to indicate the nesting level for subdivisions: this is determined from the structural
            encoding by the rendering scripts. Please note that the general TEI limitations hold:
            divisions may not be followed by <soCalled>bare</soCalled> paragraphs. In order to
            facilitate cross-referencing, you are encouraged to provide a unique identification code
            in an <att>xml:id</att> attribute for each <gi>div</gi>.</p>
          <p>Following example illustrates a text division in which two introductory paragraphs are
            being followed by two more subdivisions.<egXML xmlns="http://www.tei-c.org/ns/Examples">
              <body>
                <div xml:id="notodd">
                  <head>What’s not ODD?</head>
                  <p>In the current source of TEI P5, there is extensive use of several different
                    XML vocabularies: <list rend="bulleted">
                      <item>Examples in TEI P5 are presented as if they belonged to some other
                          <soCalled>TEI Example Namespace</soCalled>;</item>
                      <item>Element content models are expressed using a subset of RELAX NG, as
                        discussed in the previous section;</item>
                      <item>Datatypes are expressed in a variety of ways, mapping either to built-in
                        W3C datatypes (as defined in the W3C Schema Language) or to RELAX NG
                        constructs;</item>
                      <item>Additional semantic constraints (for example, co-dependence of
                        attributes and element content) are expressed using ISO Schematron
                        rules.</item>
                    </list>
                  </p>
                  <p>Everything else in a TEI-conformant ODD specification uses only constructs from
                    the TEI namespace. In this paper, we will argue for a further extension of the
                    ODD language to replace several of the cases listed above.</p>
                  <div xml:id="elementcontentmodels">
                    <head>Element Content Models</head>
                    <p>ODD was originally intended to support the <emph>intersection</emph> of the
                      content models definable using three different schema languages. In practice,
                      this reduced our modeling requirements quite significantly. <!-- ... --></p>
                    <!-- ... -->
                  </div>
                  <div xml:id="datatyping">
                    <head>Datatyping and Other Forms of Validation</head>
                    <p>Validation of an element’s content model is but one of many different layers
                      of validation that a TEI user may wish to express in their ODD specification.
                      <!-- ... --></p>
                    <!-- ... -->
                  </div>
                </div>
              </body>
            </egXML></p>
        </div>
        <div xml:id="paragraphs">
          <head>Paragraphs</head>
          <p>Paragraphs are encoded with <gi>p</gi> elements. They are the main building blocks of a
            division. They can contain plain text, mixed with other structural elements:<egXML
              xmlns="http://www.tei-c.org/ns/Examples">
              <p>Thus we introduce the <gi>transferGrp</gi> element, a grouping element somewhat 
                like <gi>surfaceGrp</gi> but, like <gi>altGrp</gi> or <gi>attList</gi>, with 
                the ability to assert the relationship among its children rather than just common
                features. This is accomplished with an <att>org</att> attribute whose suggested 
                values include: 
                <list type="gloss">
                  <label><val>group</val></label>
                  <item>an unordered set</item>
                  <label><val>sequence</val></label>
                  <item>a (chronologically) ordered set</item>
                  <label><val>choice</val></label>
                  <item>only one of the child <gi>transfer</gi>s 
                    obtained</item>
                </list>
              </p>
              <p>The following example demonstrates the use of <gi>transferGrp</gi> to indicate a
                transaction which is attested in (at least) two source documents which disagree as to
                the amount of money involved.</p>
            </egXML></p>
        </div>
        <div xml:id="lists">
          <head>Lists</head>
          
          <p><!--[RvdB] should we say something about list/head? This is supported, but treated differently from (div|table|figure)/head, in that no label is generated at rendering time.--><!-- [MDH] I guess we should. -->Lists
            in jTEI are relatively simple. They are encoded in a <gi>list</gi> element and differentiated by the <att>type</att> attribute,
            which may have only one value, <val>gloss</val>. <tag>list type="gloss"</tag> is (as you
            might expect) a glossary list, and must consist of a sequence of <gi>label</gi>s and
              <gi>item</gi>s, like this:</p>
          <egXML xmlns="http://www.tei-c.org/ns/Examples">
            <list type="gloss">
              <label>compressor</label>
              <item>a device which reduces the peaks of volume in an audio signal</item>
              <label>equalizer</label>
              <item>a device which allows different frequency bands in an audio signal
              to be cut or boosted</item>
            </list>
          </egXML>
          <p>All other types of list (numbered, bulleted etc.) do not have the <att>type</att>
          attribute. Their appearance is controlled by the <att>rend</att> attribute:
          <specList>
            <specDesc key="list" atts="rend"/>
          </specList>
          <!-- [RvdB]: this repeats what's generated for the preceding <specList> element --> 
          <!-- [MDH]: this inclusion of values in a specList recently appeared in ODD 
              processing, but no-one is quite sure how, so it may disappear in future.
              for the moment I've commented out the duplication. -->
          <!--Available values for the <att>rend</att> attribute are:
            <list>
              <label>bulleted</label>
            <item>
              Bulleted lists will appear with each item preceded by a leading
                dot.
            </item>
            <label>inline</label>
              <item>Inline lists appear within a paragraph of ordinary text; list items do not start
                on a new line, but follow immediately from the preceding text or item. The value
                  <val>inline</val> may be combined with another value; for example, <code>ordered
                  inline</code> means that the list will be rendered inline, but each item will be
                preceded by a number in parentheses: (1) first item (2) second item, and so
                on.</item>
            <label>ordered</label>
              <item>Items in a numbered list will be preceded by a number. If the list is
                inline, then the number will be enclosed in parentheses, but if it is a
                block-level list (the default), the number will be followed by a period.
              </item>
            <label>simple</label>
              <item>Items in a simple list will be rendered with no bullet or preceding number
                at all.</item>
          </list>-->
            
            Lists may be nested:
            <egXML xmlns="http://www.tei-c.org/ns/Examples">
              <list rend="bulleted">
                <item>compressor:
                  <list rend="ordered">
                    <item>limiter</item>
                    <item>multiband compressor</item>
                  </list>
                </item>
                <item>equalizer:
                  <list rend="ordered">
                    <item>graphic equalizer</item>
                    <item>parametric equalizer</item>
                  </list>
                </item>
              </list>
            </egXML></p>
          <p>For processing reasons, jTEI puts one restriction on what can appear inside lists: you can't use <gi>table</gi> anywhere inside <gi>item</gi>.</p>
        </div>
      <div xml:id="quotations">
        <head>Quotations, Inline and Block</head>
        <p><!--[RvdB] shouldn't we type these bibliographic references, so we can enforce that they 
  -point to <bibl> elements in the bibliography
  -have an @xml:id attribute
==> <ref type="bibl" target="#bibl" xml:id="id">?    -->The
          main components of a quotation are the quoted text itself, and a reference to the source
          it was quoted from. The quoted text is encoded with a <gi>quote</gi> element, without
          quotation marks. Quotations marks are added automatically by the rendering
          scripts. The jTEI schema requires that each quotation is linked to a bibliographic reference, identifying the source from where the text has been quoted. Typically, the source of a quotation is listed in the bibliography at the end of the article. References to such sources are encoded in a <gi>ref</gi> element, with a <att>type</att> attribute of value <val>bibl</val>, whose <att>target</att> attribute must point to the <att>xml:id</att> value of a <gi>bibl</gi>
          element in the article's bibliography. You must provide an <att>xml:id</att>
          attribute for the <gi>ref</gi> element itself. This makes it possible to connect the
          quotation with its specific reference via the <att>source</att> attribute on the
            <gi>quote</gi> element:<egXML xmlns="http://www.tei-c.org/ns/Examples">
              <p>In his blog post, <title level="a">Text: A Massively Addressable Object</title>, 
              published in the 2012 anthology <title level="m">Debates in the Digital
                Humanities</title>, Michael Witmore defines texts as objects that are 
                <quote source="#quoteref3">massively addressable at different levels of scale</quote>
                (<ref type="bibl" xml:id="quoteref3" target="#witmore12">Witmore 2012, 325</ref>).
            </p>
          </egXML></p>
        <p>Here, we see how the value <val>#quoteref3</val> for the <att>source</att> attribute
          expresses the correspondence with the bibliographic reference in <code>&lt;ref type="bibl"
            xml:id="quoteref3" target="#witmore12">Witmore 2012, 325&lt;/ref></code>.</p>
        <p>In some cases, quotations are taken from <soCalled>less bibliographic</soCalled> sources, such as email conversations and other non-published texts. Such sources are not listed in the bibliography, so you can't refer to them with a <tag>ref type="bibl"</tag> reference. Instead, you should include the description of the source in <!-- [RvdB]: I've relaxed this, since the footnote had been copy-edited out from the example snippet, so the original proposal (embedding inline <bibl> in <note>) is probably not conformant with CMOS --><!-- a footnote in -->the text. The description should be encoded in a <gi>bibl</gi> element with an <att>xml:id</att> attribute. You should link the quotation to this bibliographic description by pointing to this <att>xml:id</att> attribute with the <att>source</att> attribute of the <gi>quote</gi> element:
        <egXML xmlns="http://www.tei-c.org/ns/Examples">
          <p>An exchange on the TEI electronic mailing list sparked the research published 
            in this article, when a community expert wrote that given 
            <quote source="#quoteref1">a graduate student in English who has heard about TEI 
              and wants to dip her toes into it because she thinks it may be a better way of 
              putting on the Web some 17th century poems<gap/> Where does she go for help? 
              Where in the TEI universe is the level of ubiquitous Grade I support?</quote> 
            (<bibl xml:id="quoteref1">Martin Mueller, pers. comm, Jan. 18, 2013</bibl>).</p>
        </egXML>
          Here, the <val>#quoteref1</val> value for the <att>source</att> attribute on <gi>quote</gi> points to the <gi>bibl</gi> element in the text, describing the <soCalled>less bibliographic</soCalled> source for the quotation in a footnote.</p>
        <p>Note how the examples above were inline quotations, which will be rendered inside the
          running text of the paragraph they appear in. It is also possible to encode block
          quotations, by wrapping the <gi>quote</gi> and its <gi>ref</gi> inside a <gi>cit</gi>
          container. A <gi>cit</gi> element can occur either in or between paragraphs, but is always
          rendered as a blockquote:<egXML xmlns="http://www.tei-c.org/ns/Examples">
            <p>In <title level="a">Wampum as Hypertext</title>, Angela Haas complicates the 
              distinction between technology and high technology by discussing the way wampum 
              belts function the same as Western hypertexts. Haas contends that while there are 
              many similarities, they differ when we understand the way wampum is reliant on 
              cultural practices and memory: 
              <cit>
                <quote source="#quoteref8">Consequently one could argue that wampum is limited 
                  in relation to contemporary Western hypertexts in that it requires human 
                  intervention to remember the intent and content of the original message; however, 
                  one could also posit that such interaction encourages continuous civic involvement
                  instead of an over-reliance on technology.</quote>
                <ref type="bibl" xml:id="quoteref8" target="#haas07">Haas 2007, 93</ref>
              </cit>
            </p>
          </egXML></p>
        <p>The <gi>cit</gi> element has been constrained in jTEI so it can only contain
              <gi>quote</gi>, <gi>ref</gi>, and <gi>bibl</gi>.
            <!--[RvdBn] /are/ we going to allow <bibl> inside <cit>? So far, only <ref> occurs.--></p>
        <p>Inside quotations, inline rhetorical elements can be used (see <ptr
          target="#inline_rhetorical"/>). Two of such elements are quite specific to quotations, in the context of a jTEI article, however, namely omissions and supplied text. Omissions are encoded with <gi>gap</gi>, which at rendering time is transformed to the typographic omission symbol: <mentioned>…</mentioned><note place="foot">Note, if you're omitting text at the end of a sentence, the sentence punctuation should precede the <gi>gap</gi> element.</note>. If you supply text that wasn't present in the original quotation, you should wrap the supplied text in a <gi>supplied</gi> element. At rendering time, the <gi>supplied</gi> start and end tags are replaced with the <mentioned>[</mentioned> and <mentioned>]</mentioned> characters, respectively.</p>
          <p>Apart from <gi>quote</gi> for <soCalled>attributed</soCalled> quotations, you can also
            use <gi>q</gi> for short <soCalled>anonymous</soCalled> inline quotations, whose source is not
            known or irrelevant. This is discussed in more detail in <ptr
              target="#inline_rhetorical"/>.</p>
      </div>
      <div xml:id="figures">
        <head>Figures and Graphics</head>
        <p>Illustrative figures are encoded using the <gi>figure</gi> element, along with a mandatory
              <tag>head type="legend"</tag> element providing the caption for the figure, as in this
            example:</p>
        
        <egXML xmlns="http://www.tei-c.org/ns/Examples">
          <figure xml:id="titlePage">
            <graphic url="img/titlePage.png" width="620px" height="980px"/>
            <head type="legend">The title page of the 1598 edition</head>
          </figure>
        </egXML>
        
        <p>The graphics file should be in PNG or JPEG format, and should be stored in a 
        directory called <code>img</code> which is a sibling of the article XML file. 
        Graphics file names should not contain spaces or punctuation. The <gi>graphic</gi>
        element must include the <att>width</att> and <att>height</att> attributes containing
        the image size in pixels. A second <tag>head type="license"</tag> may also be
          provided in cases where an 
        explicit statement of licensing, copyright or accreditation is required.</p>
        
        <p>The caption in the <tag>head type="legend"</tag> element should <emph>not</emph> begin
            with <q>Figure 1</q> or any similar prefix; this will be provided by the rendering code
            at output time. To link to the figure, all you need to do is to provide a pointer
            targeting its <att>xml:id</att> attribute, like this:</p>
        
        <egXML xmlns="http://www.tei-c.org/ns/Examples">
          <p>As you can see from <ptr target="#titlePage" type="crossref"/>, 
            the title page is damaged...</p>
        </egXML>
        
        <p>This will be expanded at rendering time into <q>Figure X</q>, where X is the appropriate
        figure number.</p>
      </div>
      <div xml:id="examples">
        <head>Example Code, XML and non-XML</head>
        <p>Example computer code in jTEI falls into two categories. XML code appears in  the 
          <tag>egXML xmlns="http://www.tei-c.org/ns/Examples"</tag> element. When you use this element, 
        make sure you get the namespace right; all elements appearing in the <gi>egXML</gi> element
        are also in the Examples namespace, to distinguish them from regular TEI elements that are part of 
        the encoding of the document. Code from non-XML languages appears in the <gi>eg</gi> element.</p>
        
        <p>In many cases, example code will appear inline as part of the prose of your article<note place="foot">Note, however, that <gi>eg</gi> and <gi>egXML</gi> examples are always <emph>rendered</emph> as blocks, regardless of their appearance as inline or block-level elements in the article encoding. If you want to include a short code fragment that should be rendered inline, you can use the <gi>code</gi> element as discussed in <ptr target="#inline_technical"/>.</note>:
              <egXML xmlns="http://www.tei-c.org/ns/Examples">
              <p>Links between authors and books are encoded using <gi>link</gi> elements: &lt;egXML
                xmlns="http://www.tei-c.org/ns/Examples"&gt; <link target="#middlemarch #eliot"/>
                &lt;/egXML&gt; </p>
              </egXML> </p>
        <p>You might want to provide a caption for code examples. In
            these cases, the <gi>eg</gi> or <gi>egXML</gi> element should be enclosed in a
              <gi>figure</gi>: <egXML xmlns="http://www.tei-c.org/ns/Examples">
              <figure xml:id="example_code_1">
                <eg>
                declare function local:getTitles($source as element(div)) as xs:string*{
                    for $t in $source//title
                      return xs:string($t)
                };
              </eg>
                <head type="legend">A simple XQuery function</head>
              </figure>
            </egXML> At rendering time, captions of examples will be supplied with a leading
              <q>Example X</q>, where X is the number of the example. You can link to and refer to
            block examples like this <ref target="#internal_linking">using <gi>ref</gi> and
                <gi>ptr</gi></ref>. In order to do so, you should provide a unique identification
            code to the <gi>figure</gi> in an <att>xml:id</att> attribute.</p>
        
        
      </div>
      <div xml:id="tables">
          <head>Tables</head>
          <p>Tables can be encoded with the <gi>table</gi> element. Tables consist of a number of
            rows (<gi>row</gi>) that contain a number of cells (<gi>cell</gi>). Header rows and
            cells can be distinguished by different values for the <att>type</att> attribute:<list
              type="gloss">
              <label><val>label</val></label>
              <item>The row or cell contains a header, not actual data.</item>
              <label>data</label>
              <item>(default) The row or cell contains data.</item>
            </list></p>
          <p>Cells and rows can be merged. In order to indicate how many
            columns a row or cell spans, a number can be provided for a <att>cols</att> attribute;
            the number of rows spanned can be given as value for a <att>rows</att> attribute.</p>
          <egXML xmlns="http://www.tei-c.org/ns/Examples">
            <table xml:id="table1">
              <head>Elements in <ident>tei_corset</ident> customization</head>
              <row role="label">
                <cell>Module</cell>
                <cell>Elements in <ident>tei_corset</ident></cell>
              </row>
              <row>
                <cell role="label"><ident>textstructure</ident></cell>
                <cell><gi>body</gi> <gi>div</gi> <gi>TEI</gi></cell>
              </row>
              <row>
                <cell role="label"><ident>figures</ident></cell>
                <cell><gi>cell</gi> <gi>row</gi> <gi>table</gi></cell>
              </row>
              <row>
                <cell cols="2">a sample cell spanning two columns (this was not in the original)</cell>
              </row>
            </table>
          </egXML>
          <p>The example above illustrates how the first row is marked as a header row with <tag>row
              role="label"</tag>, and how the left column is marked as a header column by specifying
            each first cell in a row as <tag>cell role="label"</tag>. The last cell illustrates how
            column spanning can be indicated with <tag>cell cols="2"</tag>.</p>
        <p>Note how the example also illustrates how tables can have headings, in a <gi>head</gi>
          element. The text of this heading should <emph>not</emph> begin
          with <q>Table 1</q> or any similar prefix; this will be provided when the article is rendered. To link to the table, all you need to do is to provide a pointer
          targeting its <att>xml:id</att> attribute:</p>
        
        <egXML xmlns="http://www.tei-c.org/ns/Examples">
          <p>As you can see from <ptr target="#table1" type="crossref"/>, the elements included...</p>
        </egXML>
        
        <p>This will be expanded at rendering time into <q>Table X</q>, where X is the appropriate
          table number.</p>
        </div>
      </div>
      <div xml:id="inline_rhetorical">
        <head>Inline Rhetorical Elements</head>
        <p>The jTEI schema prompts you to encode information as much as possible with conceptual tags. Therefore, the general-purpose <gi>hi</gi> tag has been removed from the jTEI schema.<!-- [RvdB] On the condition we find a solution for things like the superscript in the Cummings article. --> Instead, you should use more semantically expressive elements for identifying the rhetorical phenomenon you want to encode. If you want to stress a word in a sentence, you can do so with the <gi>emph</gi> element, which is rendered as italicized text. Foreign terms can be tagged with <gi>foreign</gi>, with a proper language identification code for the <att>xml:lang</att> attribute. Technical terms, or terms in general, can be encoded with <gi>term</gi>, and appear as italicized text in the rendered article.</p>
        <egXML xmlns="http://www.tei-c.org/ns/Examples">
          <p><term>Interoperability</term> may be defined as the property of data that allows 
            it to be loaded <emph>unmodified</emph> and fully used in a <emph>variety</emph> 
            of software applications. <term>Interchange</term> is basically the same property 
            that applies after a preliminary conversion of the data (<ref type="bibl" target="#bauman11">Bauman 
              2011</ref>; <ref type="bibl" target="#unsworth11">Unsworth 2011</ref>), and 
            implies some loss of information in the process. Interchange can thus be seen as 
            an easier, less stringent or less useful kind of information exchange than pure interoperability.</p>
        </egXML>
        <egXML xmlns="http://www.tei-c.org/ns/Examples">
          <p>Unicode is a <emph>character</emph> encoding standard, and is not intended to 
            standardize ligatures or other presentation forms 
            (<ref type="bibl" xml:id="quoteref16" target="#unicode14">Unicode 2014</ref>). 
            For example, there is no Unicode character for old Latin <foreign xml:lang="la">sescuncia</foreign> 
            (like a pound-sign, = one eighth), since it can be composed from <foreign xml:lang="la">semuncia</foreign> 
            (character 10192) and an EN-dash (<ref type="bibl" target="#unicode06">Unicode 2006, 4</ref>)</p>
        </egXML>
        <p>Another category of inline rhetorical elements are those that are used for text that is somehow quoted. When a word is <soCalled>mentioned</soCalled> to illustrate its form or usage, without its actual meaning, it should be encoded as <gi>mentioned</gi>. At rendering time, it will be displayed in italics. When you use a word while at the same time distancing yourself from it, you should encode it with <gi>soCalled</gi>. At rendering time, the start and end tag will be replaced with double quotation marks. Finally, if you want to quote a word or passage without attributing it to an external source, you can use the <gi>q</gi> element. Such <soCalled>anonymous</soCalled> quotations are rendered in double quotation marks.<note><p>The actual form of the quotation marks depends on the <soCalled>nesting level</soCalled> of quotation marks, so that double and single quotation marks alternate when they nest. For example, if a word tagged as <gi>soCalled</gi> appears inside a <gi>q</gi> element, then the quoted text will be wrapped in <emph>double</emph> quotation marks, while the text inside <gi>soCalled</gi> will be rendered with <emph>single</emph> quotation marks.</p></note></p>
        <egXML xmlns="http://www.tei-c.org/ns/Examples">
          <p>The standard definition of metadata as <q>data about data</q> seems to pose more 
            questions than it answers.</p>
        </egXML>
        <egXML xmlns="http://www.tei-c.org/ns/Examples">
          <p>There are possible ways (<soCalled>hacks</soCalled>) around some of these problems 
            even without rewriting the software, and some software is open source. For example, 
            some software may permit dates in the <emph>future</emph>, in which case a project 
            might record eighteenth-century dates using values from the twenty-eighth century. 
            Pounds, shillings, and pence could be converted to a modern standard unit (for 
            example, US dollars; <ref target="http://www.measuringworth.com/">Measuring Worth</ref>
            provides calculators for determining values in some historical currencies). A 
            project could consistently use the <mentioned>comments</mentioned>, <mentioned>memo</mentioned>, 
            or <mentioned>notes</mentioned> field to record pointers into the attesting document.</p>
        </egXML>
        <p>If you mention titles in paragraph text, you should encode them as such, with the <gi>title</gi> element and a proper type for the <att>level</att> attribute. Titles of journals (<code>level="j"</code> for <att>level</att>) and monographs (<val>m</val>) are rendered in italics. Titles of book chapters or journal articles (<val>a</val>), or unpublished materials (<val>u</val>) are enclosed in quotation marks at rendering time (so you mustn't provide them yourself).</p>
        
<!-- [MDH]: Commenting this out, as Chicago expressly forbids superscripting of the suffixes to ordinals. Shame. We had, as Ron says, nifty code for it.       -->
        <!--<p>A special case are ordinal numbers that are written with an Arabic number, followed by a <mentioned>th</mentioned> or <mentioned>rd</mentioned> suffix. In order to render them consistently in jTEI articles, you should encode them with a <gi>num</gi> element with <val>ordinal</val> as value for the <att>type</att> attribute as follows:
          <egXML xmlns="http://www.tei-c.org/ns/Examples">
            <p>Columbus arrived on the <num type="ordinal">21st</num> of July.</p>
          </egXML>
          At rendering time, the suffixes inside are recognized and formatted in superscript. Note that the numbers of centuries 
          should be spelled out in full, not written with digits: <q>twentieth-century poetry</q>, not <q>20th-century poetry</q>.
        </p>-->
        
        
      </div>
      <div xml:id="inline_technical">
        <head>Inline Technical Elements</head>
        <p>Due to the nature of this journal, a discussion of technical XML or TEI elements is a common feature in jTEI articles. When elements from an XML vocabulary are discussed, they should be identified in a <gi>gi</gi> element, with an optional <att>scheme</att> attribute in which the XML vocabulary can be named. The default value for this attribute is <val>TEI</val> for TEI elements; others could be <val>HTML</val>, <val>Schematron</val>, <val>DBK</val> (Docbook), etc. At rendering time, the <gi>gi</gi> start and end tags are replaced with the <mentioned>&lt;</mentioned> and <mentioned>&gt;</mentioned> characters, respectively. The element name is always presented in this form: <code>&lt;p&gt;</code> in the output rendering, even if it is an empty element which in actual usage is almost always self-closing, such as <gi>lb</gi> or <gi>pb</gi>. </p>
        <p>Attribute names should be tagged in an <gi>att</gi> element, which at rendering time will be preceded with a <mentioned>@</mentioned> character. Attribute values should be tagged in <gi>val</gi>. At rendering time, the <gi>val</gi> start and end tags are replaced with straight quotation marks, so there is no need to quote the values yourself.</p>
        <egXML xmlns="http://www.tei-c.org/ns/Examples">
          <p>For example, the extension of credit can be represented in a transactionography 
            by the transfer of a commodity of indebtedness. We have been using the keyword
            <val>iou</val> as the value of <att>commodity</att> of <gi>measure</gi> for this purpose.</p>
        </egXML>
        <p>When you want to quote an instance of a single start or end tag, you should use the <gi>tag</gi> element. If you want to specify the XML vocabulary this tag belongs to, this can be done in the <att>scheme</att> attribute (see above). In the <att>type</att> attribute, you can specify the kind of tag: <val>start</val> (start tag), <val>end</val> (end tag), <val>empty</val> (an empty tag), <val>pi</val> (processing instruction), <val>comment</val> (an XML comment), or <val>ms</val> (a CDATA marked section). For all these types of tags, the proper delimiters (starting with the <mentioned>&lt;</mentioned> and ending with the <mentioned>&gt;</mentioned> characters) are inserted when the article is rendered. Note, for full-fledged XML examples, the <gi>egXML</gi> element should be used (see <ptr target="#examples"/>).</p>
        <egXML xmlns="http://www.tei-c.org/ns/Examples">
          <p>A range like <code>#range(left(//lb[@n='3']),left(//lb[@n='4']))</code>, however, 
            could unambiguously address the sequence of nodes comprising line 3, even if the 
            <gi>lb</gi> happened to be a child of another element that began in the previous line.</p>
          <!-- ... -->
          <p>For example, <tag type="empty">rng:ref name="model.pLike"</tag> becomes <tag type="empty">classRef key="model.pLike"</tag>.</p>
        </egXML>
        <p>If you want to cite a brief inline code fragment from a formal programming language, you can use the <gi>code</gi> element. With the <att>lang</att> attribute, you can identify the language of the code:
        <egXML xmlns="http://www.tei-c.org/ns/Examples">
          <p>Most of the time, pointing from one part of a TEI document to another, it is easy 
            to use IDs. Simply wrap the thing in an element, give that element an <att>xml:id</att>
            attribute (say, <code>xml:id="foo"</code>), and point at the ID using either a 
            URI with an appended fragment identifier (<val>#foo</val>) or using an attribute 
            whose type is IDREF.</p>
        </egXML>
        </p>
        <!-- [RvdB] The use of <ident> in the current articles should be evaluated (should it be used for file names etc, or is <code> the right tag for those?). -->
        <p>The <gi>ident</gi> element should be used to encode identifiers in a formal language, such as variable, class, and function names in a programming language. When discussing the TEI encoding scheme or customizations, the names of model and attribute classes, datatypes, macros, and TEI customizations should be encoded with <gi>ident</gi>:
          <egXML xmlns="http://www.tei-c.org/ns/Examples">
            <p>For example <ident>teidata.duration.iso</ident>, <ident>teidata.outputMeasurement</ident>,
              <ident>teidata.pattern</ident>, <ident>teidata.point</ident>, <ident>teidata.version</ident>, 
              and <ident>teidata.word</ident> all map to the same datatype CDATA in XML DTD, and to 
              various TEI-defined regular expressions in RELAX NG or W3C Schema.</p>
          </egXML>
        </p>
      </div>
      <div xml:id="footnotes">
        <head>Footnotes</head>
        <p>jTEI articles can have footnotes. Since no other notes are supported, the encoding is
          fairly simple: just add a <gi>note</gi> element at the place where you want to insert the
          footnote in the text. No further attributes are required: numbering is catered for at
          rendering time. Notes can contain plain text or paragraphs. No block-level elements are
            allowed:<!--[RvdB] I'm a bit at loss for what we allow inside <note>. IIRC, just no block-level elements (i.e. <table>, <list>, <cit>, <figure>)? There is one instance of a <note> with an inline list in jTEI-6-Ives-source.xml. If so, shouldn't we restrict this in the Schema/tron? --><egXML
            xmlns="http://www.tei-c.org/ns/Examples">
              <p>There are essentially two pointing mechanisms TEI employs to implement its graph 
                data structure: XPath, used in the <att>match</att> attribute,
                <note><p>See <ptr target="http://www.tei-c.org/Vault/P5/2.2.0/doc/tei-p5-doc/en/html/ref-att.scoping.html"/></p>
              </note> and URIs, which can indicate documents, or (using fragment identifiers)
              elements in the current document which have <att>xml:id</att> attributes.</p>
          </egXML></p>
      </div>
      <div xml:id="internal_linking">
        <head>Internal Linking</head>
        <p>Internal links are cross-links within the article. In jTEI, you can point to other text
          structures that can have labels, namely <gi>div</gi>, <gi>figure</gi> (containing either
          graphics or code examples), or <gi>table</gi>. Additionally, internal links can point to footnotes inside <gi>note</gi> elements, too. You can link to those structures either
          with an unlabeled cross-reference in <gi>ptr</gi>, or with a labeled link in <gi>ref</gi>.
          Both must have a <att>type</att> attribute with value <val>crossref</val>, and a
            <att>target</att> attribute, whose value should start with the <q>#</q> sign, followed
          by the <att>xml:id</att> value of the element it addresses:<egXML
            xmlns="http://www.tei-c.org/ns/Examples">
            <p><ref type="crossref" target="#figure2">The following figure</ref> shows a typical example of such a tag document.
        <figure xml:id="figure2">
          <graphic url="img/tagdoc-p2.png" width="642px" height="716px"/>
          <head type="legend">Tagdoc for <gi>resp</gi> element in P2.</head>
        </figure>
            </p>
          </egXML></p>
        <p>For unlabeled cross-links, the <tag type="empty">ptr type="crossref"
            xml:id="#link-target"</tag> is replaced with an appropriate label for the link target at
          rendering time: <egXML xmlns="http://www.tei-c.org/ns/Examples">
            <p><ptr target="#table2" type="crossref"/> shows allowable <att>rend</att> values and
              their equivalent meanings.</p>
            <table xml:id="table2">
              <head>Allowable <att>rend</att> attribute values in <ident>tei_corset</ident>
                customization</head>
              <row role="label">
                <cell><att>rend</att>
                  <lb/>(renamed <att>r</att>) <lb/>attribute value</cell>
                <cell>Meaning</cell>
              </row>
              <!-- ... -->
            </table>
          </egXML>In the generated ODT, OpenEdition, and PDF version, the cross-reference is is
          rendered as: <q>Table X shows allowable @rend values and their equivalent
          meanings.</q></p>
        <p>Note how internal links are rendered as plain text instead of hyperlinks in the OpenEdition version for publication at journals.openedition.org.</p>
        <p>Another type of internal linking consists of bibliographic references, pointing to entries in the bibliography. This should be done with a specific type of <gi>ref</gi> element, with value <val>bibl</val> for the <att>type</att> attribute. The value of the <att>target</att> attribute for bibliographic references must point to a <gi>bibl</gi> element in the bibliography:
          <egXML xmlns="http://www.tei-c.org/ns/Examples">
            <p>Thomas notes numerous additional developments in the use of computers in historical
              study, both in the United States and elsewhere between the 1940s and the early
              twenty-first century (<ref type="bibl" target="#thomas04">Thomas 2004</ref>).</p>
            <!-- ... -->
            <back>
              <div type="bibliography">
                <listBibl>
                  <bibl xml:id="thomas04"><author>Thomas, William G., III</author>. <date>2004</date>.
                    <title level="a">Computing and the Historical Imagination</title>: 
                    <title level="m">A Companion to Digital Humanities</title>, edited by 
                    <editor>Susan Schreibman</editor>, <editor>Ray Siemens</editor>, and 
                    <editor>John Unsworth</editor>. <pubPlace>Oxford</pubPlace>: 
                    <publisher>Blackwell Publishing</publisher>.</bibl>
                </listBibl>
              </div>
            </back>
          </egXML>
          Note, how all characters surrounding bibliographic references have to be hard-coded in the text; they are not generated automatically at rendering time. For linking bibliographic references with quotations, see <ptr target="#quotations"/>.</p>
      </div>
      <div xml:id="external_linking">
        <head>External Linking</head>
        <p><!--[RvdB] I haven't thought of this, but most of the external links in the articles so far are actually unlabeled: <ref target="https://github.com/hcayless/tei-xpointer.js">https://github.com/hcayless/tei-xpointer.js</ref>. Shouldn't those be replaced with <ptr/> instead? We could easily add a Schematron constraint that checks if a link label doesn't equal its target and suggest to change those to <ptr/>, or would that be a bridge too far?-->Links
          to external destinations can be encoded with <gi>ptr</gi> (unlabeled) or <gi>ref</gi>
          (labeled). They must have a <att>target</att> attribute whose value is the URI of the
          link's destination:<egXML xmlns="http://www.tei-c.org/ns/Examples">
            <item>addresses the range between two points (<ref
                target="http://www.tei-c.org/Vault/P5/2.2.0/doc/tei-p5-doc/en/html/SA.html#SATSRN"
                >16.2.5.4 range()</ref>)</item>
          </egXML>
          <egXML xmlns="http://www.tei-c.org/ns/Examples">
            <p>More detailed information can be found at <ptr
                target="http://www.tei-c.org/Vault/P5/2.5.0/doc/tei-p5-doc/en/html/ref-elementSpec.html"
              />.</p>
          </egXML>At rendering time, both types of links are transformed to clickable hyperlinks,
          and for <gi>ptr</gi> the value of the <att>target</att> attribute is used as the link
          label.</p>
        <p>One caveat for external links to the TEI Guidelines: since the web version at <ptr
            target="http://www.tei-c.org/Guidelines/P5/"/> is unstable and will be updated at each
          new release, you <emph>must</emph> point to the archived versions in the <ref
            target="http://www.tei-c.org/Vault/Vault-GL.html"><soCalled>Vault</soCalled>
            section</ref> of the TEI website. There, you can find an archive of all previous TEI
          releases and their documentation. Follow the links to the exact version you're referencing
          in your article (even if it's the current version), and use them for your external
          hyperlinks. In the examples above, the first link points to the documentation of version
          2.2.0 of the TEI Guidelines, while the second link points to version 2.5.0.</p>
      </div>
      
      <div xml:id="faq">
        <head>Frequently-asked Questions</head>
        <list>
          <item>Where did <gi>hi</gi> go? How do I do italics?
            <p>We're trying to avoid <gi>hi</gi> because it's so widely used in so 
            many different ways. We would also prefer that all styling be applied for
            semantic reasons, so rather than <soCalled>italics</soCalled>, think 
            <soCalled>journal title</soCalled> or <soCalled>emphasis</soCalled>
            or <soCalled>foreign word</soCalled>. Also, what you believe should be
            in italics might in our style guide be rendered in quotation marks, or not 
            styled at all; that's why it's easier if you identify things and let the system 
            style them.</p>
          </item>
          <item>Why can't I use quotation marks?
          <p>Literal quotation marks can be straight double, straight single, curly 
          double, curly single, or (if you happen to be on a non-English keyboard)
          a range of other symbols. All copyeditors are familiar with the tedium of 
          checking that they're all the right form, and that all the initial ones are 
          opening ones and the closing ones are the matching closing ones. It's much
          simpler if you tag your text as <gi>quote</gi>, <gi>soCalled</gi> or whatever,
          and let the XSLT provide the quotation marks in a reliable way.</p>
          </item>
          <item>Why is this so restrictive?
          <p>The TEI is a huge standard; there are lots of available approaches to 
          encoding any given phenomenon, and every TEI user has their own habits
          and preferences, arising out of their history and the projects they've worked
          on. If we accept submissions in any valid TEI (<soCalled>tei_all</soCalled>),
          we inevitably spend many hours re-encoding them to get something that 
          will work with our system. It's much simpler if we let the schema do the work
          for us.</p>
          </item>
        </list>
      </div>
      
      
    </body>
    <back>
      <div xml:id="summary">
        <head>Summary of Elements and their Rendition</head>
        <table rendition="#table">
          <row role="label">
            <cell>Element/Tag</cell>
            <cell>Usage</cell>
            <cell>Example</cell>
            <cell>Rendition</cell>
          </row>
<!--         
          <row>
            <cell><gi>affiliation</gi></cell>
            <cell>author affiliation</cell>
            <cell>
              <egXML xmlns="http://www.tei-c.org/ns/Examples"><affiliation>University College London</affiliation></egXML>
            </cell>
            <cell>University College London</cell>
          </row>
          <row><cell><gi>appInfo</gi></cell><cell></cell><cell></cell><cell></cell></row>
          <row><cell><gi>application</gi></cell><cell></cell><cell></cell><cell></cell></row>
-->          
          <row>
            <cell><gi>abbr</gi></cell>
            <cell>an abbreviation of any sort</cell>
            <cell>
              <egXML xmlns="http://www.tei-c.org/ns/Examples">
                <abbr>DPI</abbr></egXML>
            </cell>
            <cell>DPI</cell></row>
          
          <row>
            <cell><gi>att</gi></cell>
            <cell>attribute name</cell>
            <cell>
              <egXML xmlns="http://www.tei-c.org/ns/Examples">
                <att>place</att></egXML>
            </cell>
            <cell><hi rendition="#el-att">@place</hi></cell></row>
<!--          
          <row>
            <cell><gi>author</gi></cell>
            <cell>author of a bibliographic work</cell>
            <cell>
              <egXML xmlns="http://www.tei-c.org/ns/Examples">
                <author>Birnbaum, David</author>
              </egXML>
            </cell>
            <cell>Birnbaum, David</cell>
          </row>
          <row>
            <cell><gi>availability</gi></cell>
            <cell>information on availability of a jTEI article</cell>
            <cell></cell>
            <cell></cell>
          </row>
          <row>
            <cell><gi>back</gi></cell>
            <cell>back matter of a jTEI article</cell>
            <cell></cell>
            <cell></cell>
          </row>
          <row>
            <cell><gi>bibl</gi></cell>
            <cell>bibliographic entry</cell>
            <cell>
              <egXML xmlns="http://www.tei-c.org/ns/Examples">
                <bibl xml:id="wheaton"><title level="m">Wheaton Family Papers</title>.
                  Wheaton College Archives and Special Collections, M089.
                  <publisher>Wheaton College</publisher>,
                  <pubPlace>Norton, MA</pubPlace>.</bibl>
              </egXML>
            </cell>
            <cell><hi rendition="#italic">Wheaton Family Papers</hi>. Wheaton College Archives and Special Collections, M089. Wheaton College, Norton, MA.</cell>
          </row>
          <row>
            <cell><gi>biblScope</gi></cell>
            <cell>scope of a bibliographic reference</cell>        
            <cell>
              <egXML xmlns="http://www.tei-c.org/ns/Examples">
                <biblScope unit="volume">19</biblScope>.
                <biblScope unit="issue">4</biblScope>: 
                <biblScope unit="page">77–100</biblScope>
              </egXML>
            </cell>
            <cell>19.4: 77–100</cell>
          </row>
          <row>
            <cell><gi>body</gi></cell>
            <cell>the body text of an article</cell>
            <cell></cell>
            <cell></cell>
          </row>
          <row>
            <cell><gi>cell</gi></cell>
            <cell>a table cell</cell>
            <cell>
              <egXML xmlns="http://www.tei-c.org/ns/Examples">
                <cell role="label">Layer 2</cell>
                <cell>sternly</cell>
              </egXML>
            </cell>
            <cell>
              <table>
                <row>
                  <cell role="label">Layer 2</cell>
                  <cell>sternly</cell>
                </row>
              </table>
            </cell>
          </row>
-->          
          <row>
            <cell><gi>cit</gi></cell>
            <cell>blockquote with bibliographic reference</cell>
            <cell>
              <egXML xmlns="http://www.tei-c.org/ns/Examples">
                <cit>
                  <quote source="quoteref7"><supplied>A</supplied>ccount books 
                    are among the most common but least accessible primary sources 
                    for historians<gap/></quote> 
                  <ref type="bibl" xml:id="quoteref7" target="#mcgaw85">McGaw 1985</ref>
                </cit>
              </egXML>
            </cell>
            <cell>
              <q rendition="#el-quotation">[A]ccount books are among the most common but least accessible primary sources for historians … <lb/>(McGaw 1985)</q>
            </cell>
          </row>
          <row>
            <cell><gi>code</gi></cell>
            <cell>short inline code example</cell>
            <cell>
              <egXML xmlns="http://www.tei-c.org/ns/Examples">
                <p>A mixed content model such as 
                  <code>(#PCDATA | a | model.b)*</code> 
                  might be expressed as follows</p>
              </egXML>
            </cell>
            <cell>
              <p>A mixed content model such as <hi rendition="#el-code">(#PCDATA | a | model.b)*</hi> 
                might be expressed as follows</p>
            </cell>
          </row>
<!--
          <row>
            <cell><gi>date</gi></cell>
            <cell>date (only used in bibliographic descriptions)</cell>
            <cell>
              <egXML xmlns="http://www.tei-c.org/ns/Examples">
                <date>2004</date></egXML>
            </cell>
            <cell>2004</cell>
          </row>
          <row>
            <cell><gi>desc</gi></cell>
            <cell></cell>
            <cell></cell>
            <cell></cell>
          </row>
          <row>
            <cell><gi>div</gi></cell>
            <cell>a text division</cell>
            <cell>
              <egXML xmlns="http://www.tei-c.org/ns/Examples">
                <div>
                  <head>Section B</head>
                  <p>This is the first paragraph of section B.</p>
                  <p>This is the second paragraph of section B.</p>
                </div>
              </egXML>
            </cell>
            <cell>
              <hi rendition="#h1">1.2 Section B</hi>
              <p>This is the first paragraph of section B.</p>
              <p>This is the second paragraph of section B.</p>
            </cell>
          </row>
          <row>
            <cell><gi>edition</gi></cell>
            <cell>a certain edition of a bibliographic entry</cell>
            <cell>
              <egXML xmlns="http://www.tei-c.org/ns/Examples">
                <edition>Version 2.2.0</edition>.
              </egXML>
            </cell>
            <cell>Version 2.2.0.</cell>
          </row>
          <row>
            <cell><gi>editor</gi></cell>
            <cell>the editor of a bibliographic entry</cell>
            <cell>
              <egXML xmlns="http://www.tei-c.org/ns/Examples">
                edited by <editor>Susan Schreibman</editor>, 
                <editor>Ray Siemens</editor>, and 
                <editor>John Unsworth</editor>.</egXML>
            </cell>
            <cell>edited by Susan Schreibman, Ray Siemens, and John Unsworth.</cell>
          </row>
-->          
          <row>
            <cell><gi>eg</gi></cell>
            <cell>non-XML code example</cell>
            <cell>
              <egXML xmlns="http://www.tei-c.org/ns/Examples" xml:space="preserve"><eg>
  $('#teiHolder').data('modVers', {
    xmlFile: 'data/teiFile.xml'
    annotations: 'data/annotations.json',
    fixFirst: false,
    fullscreen: false,
    height: 300,
    ids: 'a,b,c',
    witnesses: 'v1,v2'             
  });
</eg></egXML>
            </cell>
            <!-- [RvdB] how do we get whitespace and formatting right? -->
            <cell>
              <egXML xmlns="http://www.tei-c.org/ns/Examples" xml:space="preserve">
  $('#teiHolder').data('modVers', {
    xmlFile: 'data/teiFile.xml'
    annotations: 'data/annotations.json',
    fixFirst: false,
    fullscreen: false,
    height: 300,
    ids: 'a,b,c',
    witnesses: 'v1,v2'             
  });
</egXML>
            </cell>
          </row>
          <row>
            <cell><gi>egXML</gi></cell>
            <cell>XML example code</cell>
            <cell><!-- [MDH]: Nesting egXMLs is technically invalid, but somehow we need to give an example
                of giving an example. So I've escaped it. -->
              <egXML xmlns="http://www.tei-c.org/ns/Examples">
&lt;egXML xmlns="http://www.tei-c.org/ns/Examples"&gt;
  &lt;content&gt;
    &lt;classRef key="model.ab" maxOccurs="unlimited"/&gt; 
  &lt;/content&gt;
&lt;/egXML&gt;
              </egXML>
            </cell>
            <cell>
              <egXML xmlns="http://www.tei-c.org/ns/Examples">
                  <content>
                    <classRef key="model.ab" maxOccurs="unlimited"/> 
                  </content>
              </egXML>
            </cell>
          </row>
<!--
          <row>
            <cell><gi>email</gi></cell>
            <cell>an article author's email address</cell>
            <cell>
              <egXML xmlns="http://www.tei-c.org/ns/Examples">
                <email>author@institution.com</email>
              </egXML>
            </cell>
            <cell><ref target="mailto:author@institution.com">author@institution.com</ref></cell>
          </row>
-->          
          <row>
            <cell><gi>emph</gi></cell>
            <cell>emphasized text (italics)</cell>
            <cell>
              <egXML xmlns="http://www.tei-c.org/ns/Examples">
                The TEI began as a conscious attempt to <emph>model</emph> 
                existing and future markup systems.
              </egXML>
            </cell>
            <cell>The TEI began as a conscious attempt to <hi rendition="#el-emph">model</hi> existing and future markup systems.</cell>
          </row>
<!--          
          <row>
            <cell><gi>encodingDesc</gi></cell>
            <cell></cell>
            <cell></cell>
            <cell></cell>
          </row>
-->          
          <row>
            <cell><gi>figure</gi></cell>
            <cell>a block figure or example code, with a mandatory heading</cell>
            <cell>
              <egXML xmlns="http://www.tei-c.org/ns/Examples">
                <figure xml:id="figure1">
                  <graphic url="img/ives_img_01.png" width="768px" height="1004px"/>
                  <head type="legend">Page-image from Ingelow’s 
                    <title level="m">Poems</title></head>
                </figure>
              </egXML>
            </cell>
            <cell>
              <hi rendition="#generic-head">Figure 1: Page-image from Ingelow’s <hi rendition="#italic">Poems</hi></hi>
              <graphic url="images/ives_img_01.png" width="300px"/>
            </cell>
          </row>
<!--          
          <row>
            <cell><gi>fileDesc</gi></cell>
            <cell></cell>
            <cell></cell>
            <cell></cell>
          </row>
-->
          <row>
            <cell><gi>foreign</gi></cell>
            <cell>a foreign text fragment</cell>
            <cell>
              <egXML xmlns="http://www.tei-c.org/ns/Examples">
                Nowhere is this more obvious than in the weight 
                accorded the single author monograph, which remains 
                the standard <foreign xml:lang="fr">par 
                  excellence</foreign> of scholarship in the humanities.
              </egXML>
            </cell>
            <cell>Nowhere is this more obvious than in the weight accorded the single author monograph, which remains the standard <hi rendition="#el-foreign">par excellence</hi> of scholarship in the humanities.</cell>
          </row>
<!--          
          <row>
            <cell><gi>forename</gi></cell>
            <cell>the first name of an author of an article</cell>
            <cell>
              <egXML xmlns="http://www.tei-c.org/ns/Examples">
                <forename>Kathryn</forename>
              </egXML>
            </cell>
            <cell>Kathryn</cell>
          </row>
          <row>
            <cell><gi>front</gi></cell>
            <cell>front matter of a jTEI article</cell>
            <cell></cell>
            <cell></cell>
          </row>
-->          
          <row>
            <cell><gi>gap</gi></cell>
            <cell>an omission in quoted text</cell>
            <cell>
              <egXML xmlns="http://www.tei-c.org/ns/Examples">
                <quote source="#quoteref7">Leisure moments only <gap/> 
                  available for its execution</quote>
              </egXML>
            </cell>
            <cell>“Leisure moments only … available for its execution”</cell>
          </row>
          <row>
            <cell><gi>gi</gi></cell>
            <cell>the name of an XML element</cell>
            <cell>
              <egXML xmlns="http://www.tei-c.org/ns/Examples">
                <gi>quote</gi>
              </egXML>
            </cell>
            <cell><hi rendition="#el-gi">&lt;quote&gt;</hi></cell>
          </row>
          <row>
            <cell><gi>graphic</gi></cell>
            <cell>a digital image</cell>
            <cell>
              <egXML xmlns="http://www.tei-c.org/ns/Examples">
                <graphic url="img/ives_img_01.png" width="768px" height="1004px"/>
              </egXML>
            </cell>
            <cell><graphic url="images/ives_img_01.png" width="300px"/></cell>
          </row>
          <row>
            <cell><gi>head</gi></cell>
            <cell>a heading for a text division, figure, table, or list</cell>
            <cell>
              <egXML xmlns="http://www.tei-c.org/ns/Examples">
                <div xml:id="futuredirections">
                  <head>Future Directions</head>
                </div>
              </egXML>
            </cell>
            <cell><hi rendition="#h1">4. Future Directions</hi></cell>
          </row>
<!--          
          <row>
            <cell><gi>hi</gi></cell>
            <cell>highlighted text (semantically neutral)</cell>
            <cell>
              <egXML xmlns="http://www.tei-c.org/ns/Examples">
                (v<hi rendition="#sup">li</hi> iij<hi rendition="#sup">s</hi> 
                iiij<hi rendition="#sup">d</hi>)
              </egXML>
            </cell>
            <cell>(v<hi rendition="#sup">li</hi> iij<hi rendition="#sup">s</hi> iiij<hi rendition="#sup">d</hi>)</cell>
          </row>
-->          
          <row>
            <cell><gi>ident</gi></cell>
            <cell>identifier in a formal language</cell>
            <cell>
              <egXML xmlns="http://www.tei-c.org/ns/Examples">
                the new <ident>range()</ident> and <ident>string-range()</ident> 
                pointers
              </egXML>
            </cell>
            <cell>the new <hi rendition="#el-ident">range()</hi> and <hi rendition="#el-ident">string-range()</hi> pointers</cell>
          </row>
<!--          
          <row>
            <cell><gi>idno</gi></cell>
            <cell>formal identification code (in a bibliographic description)</cell>
            <cell>
              <egXML xmlns="http://www.tei-c.org/ns/Examples">
                doi:<idno type="doi">10.1145/1240624.1240735</idno>
              </egXML>
            </cell>
            <cell>doi:10.1145/1240624.1240735</cell>
          </row>
          <row>
            <cell><gi>item</gi></cell>
            <cell>list item</cell>
            <cell>
              <egXML xmlns="http://www.tei-c.org/ns/Examples">
                <list rend="ordered">
                  <item>an ODD processor might simply reject 
                    the construct as infeasible;</item>
                  <item>an ODD processor might over-generate; <!-/- ... -/-></item>
                  <item>an ODD processor might over-generate in that way, 
                    but in addition produce schematron code to remove 
                    <soCalled>false positives</soCalled>.</item>
                </list>
              </egXML>
            </cell>
            <cell>
              <list rend="ordered">
                <item>an ODD processor might simply reject the construct as infeasible;</item>
                <item>an ODD processor might over-generate; <!-/- ... -/-></item>
                <item>an ODD processor might over-generate in that way, but in addition produce schematron code to remove <soCalled>false positives</soCalled>.</item>
              </list>              
            </cell>
          </row>
          <row>
            <cell><gi>keywords</gi></cell>
            <cell>keywords for a jTEI article</cell>
            <cell>
              <egXML xmlns="http://www.tei-c.org/ns/Examples">
                <keywords xml:lang="en">
                  <term>evaluation criteria</term>
                  <term>digital scholarship</term>
                  <term>pilot study</term>
                  <term>text encoding</term>
                </keywords>
              </egXML>
            </cell>
            <cell><hi rendition="#bold">Keywords:</hi> evaluation criteria, digital scholarship, pilot study, text encoding</cell>
          </row>
          <row>
            <cell><gi>label</gi></cell>
            <cell>a label in a gloss list</cell>
            <cell>
              <egXML xmlns="http://www.tei-c.org/ns/Examples">
                <list type="gloss">
                  <label><soCalled>transactionography</soCalled></label>
                  <item>Keeping track of transactions and accounts 
                    in a (customized) TEI XML structure.</item>
                </list>
              </egXML>
            </cell>
            <cell>
              <list type="gloss">
                <label>‘transactionography’</label>
                <item>Keeping track of transactions and accounts in a (customized) TEI XML structure.</item>
              </list>
            </cell>
          </row>
          <row>
            <cell><gi>language</gi></cell>
            <cell></cell>
            <cell></cell>
            <cell></cell>
          </row>
          <row>
            <cell><gi>langUsage</gi></cell>
            <cell></cell>
            <cell></cell>
            <cell></cell>
          </row>
          <row>
            <cell><gi>lb</gi></cell>
            <cell>line break</cell>
            <cell></cell>
            <cell></cell>
          </row>
-->
          <row>
            <cell><gi>list</gi></cell>
            <cell>a list</cell>
            <cell>
              <egXML xmlns="http://www.tei-c.org/ns/Examples">
                <list rend="ordered">
                  <item>The first misconception is this: digital texts and digital 
                    archives merely  replicate physical texts and physical archives 
                    in a non-material environment.</item>
                  <item>The second misconception is that all possible digital 
                    representations of a text are created equal.</item>
                </list>
              </egXML>
            </cell>
            <cell>
              <list rend="ordered">
                <item>The first misconception is this: digital texts and digital archives merely  replicate physical texts and physical archives in a non-material environment.</item>
                <item>The second misconception is that all possible digital representations of a text are created equal.</item>
              </list>
            </cell>
          </row>
<!--          
          <row>
            <cell><gi>listBibl</gi></cell>
            <cell>a list of bibliographic entries</cell>
            <cell>
              <egXML xmlns="http://www.tei-c.org/ns/Examples">
                <listBibl>
                  <bibl xml:id="aoki07"><author>Aoki, Paul M.</author> 
                    <date>2007</date>. <title level="a">Back Stage on 
                      the Front Lines: Perspectives and Performance in 
                      the Combat Information Center</title>. In 
                    <title level="m">Proceedings of the SIGCHI Conference 
                      on Human Factors in Computing Systems</title>, 
                    <biblScope unit="page">717–26</biblScope>. CHI ’07. 
                    <pubPlace>New York, NY, USA</pubPlace>: 
                    <publisher>ACM</publisher>. <ref target="http://doi/1240624.1240735">http://doi/1240624.1240735</ref>. 
                    doi:<idno type="doi">10.1145/1240624.1240735</idno>.</bibl> 
                  <bibl xml:id="banski10"><author>Bański, Piotr</author>. 
                    <date>2010</date>. <title level="a">Why TEI Stand-off 
                      Annotation Doesn’t Quite Work and Why You Might Want 
                      to Use It Nevertheless</title>. In 
                    <title level="m">Proceedings of Balisage: The Markup 
                      Conference 2010</title>. 
                    <biblScope unit="volume">Vol. 5</biblScope>. 
                    <pubPlace>Montréal, Canada</pubPlace>: <series>Balisage 
                      Series on Markup Technologies</series>.</bibl>
                </listBibl>
              </egXML>
            </cell>
            <cell>
              Aoki, Paul M. 2007. Back Stage on the Front Lines: Perspectives and Performance in the Combat Information Center. In <hi rendition="#italic">Proceedings of the SIGCHI Conference on Human Factors in Computing Systems</hi>, 717–26. CHI ’07. New York, NY, USA: ACM. <ref target="http://doi/1240624.1240735">http://doi/1240624.1240735</ref>. doi:10.1145/1240624.1240735.<lb/>
              Bański, Piotr. 2010. Why TEI Stand-off Annotation Doesn’t Quite Work and Why You Might Want to Use It Nevertheless. In <hi rendition="#italic">Proceedings of Balisage: The Markup Conference 2010</hi>. Vol. 5. Montréal, Canada: Balisage Series on Markup Technologies.
            </cell>
          </row>
          <row>
            <cell><gi>listPerson</gi></cell>
            <cell>a list of person descriptions</cell>
            <cell></cell>
            <cell></cell>
          </row>
-->
          <row>
            <cell><gi>mentioned</gi></cell>
            <cell>a word that is <soCalled>mentioned</soCalled></cell>
            <cell>
              <egXML xmlns="http://www.tei-c.org/ns/Examples">
                conversations on the multi-dimensional understanding of 
                <mentioned>text</mentioned> and <mentioned>representation</mentioned>
              </egXML>
            </cell>
            <cell>conversations on the multi-dimensional understanding of <hi rendition="#el-mentioned">text</hi> and <hi rendition="#el-mentioned">representation</hi></cell>
          </row>
<!--          
          <row>
            <cell><gi>name</gi></cell>
            <cell>the name of a jTEI author</cell>
            <cell></cell>
            <cell></cell>
          </row>
-->
          <row>
            <cell><gi>note</gi></cell>
            <cell>a footnote</cell>
            <cell>
              <egXML xmlns="http://www.tei-c.org/ns/Examples">
                A similar suggestion is made in Eric Van der Vlist’s 
                <title level="m">RELAX NG</title><note><p><ref target="http://relaxng/">http://relaxng/</ref>.
                </p></note> 
                (<ref type="bibl" target="#vlist04">2004</ref>)
              </egXML>
            </cell>
            <cell>A similar suggestion is made in Eric Van der Vlist’s <hi rendition="#hi">RELAX NG</hi><hi rendition="#sup"><ref target="#egNoteRef1" xml:id="egNote1">1</ref></hi> (<ref type="bibl" target="#vlist04">2004</ref>)
              <lb/>
              <hi rendition="#h1">Notes</hi>
              <p><ref target="#egNote1" xml:id="egNoteRef1">1</ref> <ref target="http://relaxng/">http://relaxng/</ref>.</p> </cell>
          </row>
<!--          
          <row>
            <cell><gi>orgName</gi></cell>
            <cell>the name of an organization</cell>
            <cell>
              <egXML xmlns="http://www.tei-c.org/ns/Examples">
                
              </egXML>
            </cell>
            <cell></cell>
          </row>
          <row>
            <cell><gi>p</gi></cell>
            <cell>paragraph</cell>
            <cell>
              <egXML xmlns="http://www.tei-c.org/ns/Examples">
                <p>The authors make no claim that this list is exhaustive, and 
                  we welcome discussion of other options.</p>
              </egXML>
            </cell>
            <cell>
              <p>The authors make no claim that this list is exhaustive, and we welcome discussion of other options.</p>
            </cell>
          </row>
          <row>
            <cell><gi>particDesc</gi></cell>
            <cell>description of participants in a conversation</cell>
            <cell></cell>
            <cell></cell>
          </row>
          <row>
            <cell><gi>person</gi></cell>
            <cell>description of a person</cell>
            <cell></cell>
            <cell></cell>
          </row>
          <row>
            <cell><gi>profileDesc</gi></cell>
            <cell></cell>
            <cell></cell>
            <cell></cell>
          </row>
          <row>
            <cell><gi>projectDesc</gi></cell>
            <cell></cell>
            <cell></cell>
            <cell></cell>
          </row>
-->
          <row>
            <cell><gi>ptr</gi></cell>
            <cell>a pointer to another location (internal or external)</cell>
            <cell>
              <egXML xmlns="http://www.tei-c.org/ns/Examples">
                The rest of this paper treats each of these points in more detail. 
                <ptr type="crossref" target="#interoperability"/> describes the 
                nature of the interoperability problem.
              </egXML>
            </cell>
            <cell>The rest of this paper treats each of these points in more detail. Section 2 describes the nature of the interoperability problem.</cell>
          </row>
<!--
          <row>
            <cell><gi>publicationStmt</gi></cell>
            <cell></cell>
            <cell></cell>
            <cell></cell>
          </row>
          <row>
            <cell><gi>publisher</gi></cell>
            <cell>the publisher of a bibliographic work</cell>
            <cell>
              <egXML xmlns="http://www.tei-c.org/ns/Examples">
                <publisher>TEI Consortium</publisher>
              </egXML>
            </cell>
            <cell>TEI Consortium</cell>
          </row>
          <row>
            <cell><gi>pubPlace</gi></cell>
            <cell>the publication place of a bibliographic work</cell>
            <cell>
              <egXML xmlns="http://www.tei-c.org/ns/Examples">
                <pubPlace>London</pubPlace>
              </egXML>
            </cell>
            <cell>London</cell>
          </row>
-->          
          <row>
            <cell><gi>q</gi></cell>
            <cell>a short, unattributed inline quotation</cell>
            <cell>
              <egXML xmlns="http://www.tei-c.org/ns/Examples">
                (student survey responses included words such as 
                <q>apprehensive</q>, <q>intimidated</q>, and even 
                <q>terrified</q>), which explains why one student 
                commented that TEI training <q>was not something 
                  I would have sought out on my own.</q>
              </egXML>
            </cell>
            <cell>(student survey responses included words such as “apprehensive,” “intimidated,” and even “terrified”), which explains why one student commented that TEI training “was not something I would have sought out on my own.”</cell>
          </row>
          <row>
            <cell><gi>quote</gi></cell>
            <cell>an attributed quotation</cell>
            <cell>
              <egXML xmlns="http://www.tei-c.org/ns/Examples">
                <quote source="#quoteref4">Names of authors</quote> appear 
                in <quote source="#quoteref4">Italic Capitals</quote> 
                (<ref type="bibl" xml:id="quoteref4" target="#arber1875">Arber 1875–95, 1:29</ref>).
              </egXML>
            </cell>
            <cell>“Names of authors” appear in “Italic Capitals” (Arber 1875–95, 1:29).</cell>
          </row>
          <row>
            <cell><gi>ref</gi></cell>
            <cell>a reference to another location (with custom label text)</cell>
            <cell>
              <egXML xmlns="http://www.tei-c.org/ns/Examples">
                <ref target="http://www.tei-c.org/#SATSRN">16.2.5.4 range()</ref>)
              </egXML>
            </cell>
            <cell><ref target="http://www.tei-c.org/#SATSRN">16.2.5.4 range()</ref>)</cell>
          </row>
<!--          
          <row>
            <cell><gi>rendition</gi></cell>
            <cell></cell>
            <cell></cell>
            <cell></cell>
          </row>
          <row>
            <cell><gi>roleName</gi></cell>
            <cell>the professional role of a jTEI author in his institution</cell>
            <cell>
              <egXML xmlns="http://www.tei-c.org/ns/Examples">
                Hugh is the <roleName>senior digital humanities developer</roleName> 
                for the <orgName>Duke Collaboratory for Classics Computing 
                  (DC3)</orgName>
              </egXML>
            </cell>
            <cell>Hugh is the senior digital humanities developer for the Duke Collaboratory for Classics Computing (DC3)</cell>
          </row>
          <row>
            <cell><gi>row</gi></cell>
            <cell>a table row</cell>
            <cell>
              <egXML xmlns="http://www.tei-c.org/ns/Examples">
                <table xml:id="table1">
                  <head>Elements in <ident>tei_corset</ident> customization</head>
                  <row role="label">
                    <cell>Module</cell>
                    <cell>Elements in <ident>tei_corset</ident></cell>
                  </row>
                  <row>
                    <cell role="label"><ident>textstructure</ident></cell>
                    <cell><gi>body</gi> <gi>div</gi> <gi>TEI</gi></cell>
                  </row>
                  <row>
                    <cell role="label"><ident>figures</ident></cell>
                    <cell><gi>cell</gi> <gi>row</gi> <gi>table</gi></cell>
                  </row>
                </table>
              </egXML>
            </cell>
            <cell>
              <hi rendition="#generic-head">Table 1: Elements in <hi rendition="#el-ident">tei_corset</hi> customization</hi>
              <table xml:id="table1">
                <row role="label">
                  <cell>Module</cell>
                  <cell>Elements in <hi rendition="#el-ident">tei_corset</hi></cell>
                </row>
                <row>
                  <cell role="label"><hi rendition="#el-ident">textstructure</hi></cell>
                  <cell><hi rendition="#el-gi">&lt;body&gt;</hi> <hi rendition="#el-gi">&lt;div&gt;</hi> <hi rendition="#el-gi">&lt;TEI&gt;</hi></cell>
                </row>
                <row>
                  <cell role="label"><hi rendition="#el-ident">figures</hi></cell>
                  <cell><hi rendition="#el-gi">&lt;cell&gt;</hi> <hi rendition="#el-gi">&lt;row&gt;</hi> <hi rendition="#el-gi">&lt;table&gt;</hi></cell>
                </row>
              </table>
            </cell>
          </row>
          <row>
            <cell><gi>series</gi></cell>
            <cell>the series in which a bibliographic work has been published</cell>
            <cell>
              <egXML xmlns="http://www.tei-c.org/ns/Examples">
                <series>Studies in Accounting Research 10</series>
              </egXML>
            </cell>
            <cell>Studies in Accounting Research 10</cell>
          </row>
-->
          <row>
            <cell><gi>soCalled</gi></cell>
            <cell>a word from which the author distances herself</cell>
            <cell>
              <egXML xmlns="http://www.tei-c.org/ns/Examples">
                There are possible ways (<soCalled>hacks</soCalled>) around 
                some of these problems
              </egXML>
            </cell>
            <cell>There are possible ways (“hacks”) around some of these problems</cell>
          </row>
<!--          
          <row>
            <cell><gi>sourceDesc</gi></cell>
            <cell></cell>
            <cell></cell>
            <cell></cell>
          </row>
-->
          <row>
            <cell><gi>supplied</gi></cell>
            <cell>text that has been added by the jTEI author (in a quotation)</cell>
            <cell>
              <egXML xmlns="http://www.tei-c.org/ns/Examples">
                <q>Finding what you need can be problematic. Lack of 
                  links to chapters that describe elements next 
                  <supplied>to</supplied> some element definitions</q>
              </egXML>
            </cell>
            <cell>“Finding what you need can be problematic. Lack of links to chapters that describe elements next [to] some element definitions”</cell></row>
<!--          
          <row>
            <cell><gi>surname</gi></cell>
            <cell>the last name of a jTEI author</cell>
            <cell>
              <egXML xmlns="http://www.tei-c.org/ns/Examples">
                <surname>Carter</surname>
              </egXML>
            </cell>
            <cell>Carter</cell>
          </row>
-->
          <row>
            <cell><gi>table</gi></cell>
            <cell>a table</cell>
            <cell>
              <egXML xmlns="http://www.tei-c.org/ns/Examples">
                <table xml:id="table3">
                  <head>Allowable <att>rend</att> attribute values in 
                    <ident>tei_corset</ident> customization</head>
                  <row role="label">
                    <cell><att>rend</att> <lb/>(renamed <att>r</att>) 
                      <lb/>attribute value</cell>
                    <cell>Meaning</cell>
                  </row>
                  <row>
                    <cell role="label"><val>ab</val></cell>
                    <cell>rendered above the line</cell>
                  </row>
                  <row>
                    <cell role="label"><val>al</val></cell>
                    <cell>rendered aligned to the left</cell>
                  </row>
                </table>
              </egXML>
            </cell>
            <cell>
              <hi rendition="#generic-head">Table 4: Allowable <hi rendition="#el-att">@rend</hi> attribute values in <hi rendition="#el-ident">tei_corset</hi> customization</hi>
              <table xml:id="table4">
                <row role="label">
                  <cell><hi rendition="#el-att">@rend</hi> <lb/>(renamed <hi rendition="#el-att">@r</hi>) <lb/>attribute value</cell>
                  <cell>Meaning</cell>
                </row>
                <row>
                  <cell role="label"><hi rendition="#el-val">ab</hi></cell>
                  <cell>rendered above the line</cell>
                </row>
                <row>
                  <cell role="label"><hi rendition="#el-val">al</hi></cell>
                  <cell>rendered aligned to the left</cell>
                </row>
              </table>
            </cell>
          </row>
          <row>
            <cell><gi>tag</gi></cell>
            <cell>a full XML tag</cell>
            <cell>
              <egXML xmlns="http://www.tei-c.org/ns/Examples">
                <tag type="empty">rng:ref name="model.pLike"</tag>
              </egXML>
            </cell>
            <cell><hi rendition="#el-tag">&lt;rng:ref name="model.pLike"/&gt;</hi></cell>
          </row>
<!--          
          <row>
            <cell><gi>tagsDecl</gi></cell>
            <cell></cell>
            <cell></cell>
            <cell></cell>
          </row>
          <row>
            <cell><gi>TEI</gi></cell>
            <cell></cell>
            <cell></cell>
            <cell></cell>
          </row>
          <row>
            <cell><gi>teiHeader</gi></cell>
            <cell></cell>
            <cell></cell>
            <cell></cell>
          </row>
-->
          <row>
            <cell><gi>term</gi></cell>
            <cell>a technical term</cell>
            <cell>
              <egXML xmlns="http://www.tei-c.org/ns/Examples">
                Annotations are stored in <term>triple stores</term> 
                or graph databases like Neo4J</egXML>
            </cell>
            <cell>Annotations are stored in <hi rendition="#el-term">triple stores</hi> or graph databases like Neo4J</cell>
          </row>
<!--          
          <row>
            <cell><gi>text</gi></cell>
            <cell>the text of a jTEI article</cell>
            <cell></cell>
            <cell></cell>
          </row>
          <row>
            <cell><gi>textClass</gi></cell>
            <cell></cell>
            <cell></cell>
            <cell></cell>
          </row>
-->
          <row>
            <cell><gi>title</gi></cell>
            <cell>the title of a bibliographic work</cell>
            <cell>
              <egXML xmlns="http://www.tei-c.org/ns/Examples">
                <title level="a">Where Did All the Document Kids Go? 
                  Open-source, Markup, and the Casual Developer.</title> 
                Presented at Balisage: The Markup Conference 2013, 
                Montréal, Canada, August 6–9, 2013. In 
                <title level="m">Proceedings of Balisage: The Markup 
                  Conference 2013</title>.</egXML>
            </cell>
            <cell>“Where Did All the Document Kids Go? Open-source, Markup, and the Casual Developer.” Presented at Balisage: The Markup Conference 2013, Montréal, Canada, August 6–9, 2013. In <hi rendition="#title">Proceedings of Balisage: The Markup Conference 2013</hi>.</cell>
          </row>
<!--          
          <row>
            <cell><gi>titleStmt</gi></cell>
            <cell></cell>
            <cell></cell>
            <cell></cell>
          </row>
-->
          <row>
            <cell><gi>val</gi></cell>
            <cell>an attribute value</cell>
            <cell>
              <egXML xmlns="http://www.tei-c.org/ns/Examples">
                an attribute <att>preserveOrder</att> taking values 
                <val>true</val> or <val>false</val>
              </egXML>
            </cell>
            <cell>an attribute <hi rendition="#el-att">@preserveOrder</hi> taking values "true" or "false"</cell>
          </row>
        </table>
      </div>
      <div>
        <schemaSpec ident="tei_jtei" start="TEI" defaultExceptions="http://www.tei-c.org/ns/1.0 eg:egXML">
          <constraintDecl scheme="schematron">
            <sch:ns prefix="sch" uri="http://purl.oclc.org/dsdl/schematron"/>
            <sch:ns prefix="tei" uri="http://www.tei-c.org/ns/1.0"/>
            <sch:ns prefix="xs" uri="http://www.w3.org/2001/XMLSchema"/>
            <sch:ns prefix="xsl" uri="http://www.w3.org/1999/XSL/Transform"/>
            <sch:ns prefix="eg" uri="http://www.tei-c.org/ns/Examples"/>
            <sch:pattern>
              <xsl:key name="idrefs" match="@target[starts-with(normalize-space(.), '#')]|@rendition[starts-with(normalize-space(.), '#')]" use="for $i in tokenize(., '\s+') return substring-after($i, '#')"/>
              <sch:let name="double.quotes" value="'[&quot;“”]'"/>
              <sch:let name="apos.typographic" value="'[‘’]'"/>
              <sch:let name="apos.straight" value="''''"/>
              <sch:let name="quotes" value="concat('[', $apos.straight, '&quot;]')"/>
              <sch:let name="div.types.front" value="('abstract', 'acknowledgements', 'authorNotes', 'editorNotes', 'corrections', 'dedication')"/>
              <!-- http://www.tei-c.org/release/doc/tei-p5-doc/VERSION produces 
                 429 "Too Many Requests" errors -->
              <sch:let name="tei.version.url" value="'https://jenkins.tei-c.org/job/TEIP5/lastStableBuild/artifact/P5/release/doc/tei-p5-doc/VERSION'"/>
              <sch:let name="tei.version" value="if (unparsed-text-available($tei.version.url)) then normalize-space(unparsed-text($tei.version.url)) else ()"/>
            </sch:pattern>
          </constraintDecl>
          <moduleRef key="tei"/>
          <moduleRef key="core"
            include="abbr author bibl biblScope cit date desc editor email emph foreign gap graphic head hi item label lb list listBibl mentioned name note num p pubPlace publisher q quote ptr ref resp respStmt series soCalled term title"/>
          <moduleRef key="corpus" include="particDesc"/>
          <moduleRef key="figures" include="cell figure row table"/>
          <moduleRef key="header"
            include="appInfo application availability catRef change classCode edition encodingDesc fileDesc idno keywords langUsage language licence listChange profileDesc projectDesc publicationStmt rendition revisionDesc seriesStmt sourceDesc tagsDecl teiHeader textClass titleStmt"/>
          <moduleRef key="namesdates"
            include="affiliation forename listPerson person placeName orgName roleName surname"/>
          <moduleRef key="tagdocs" include="att code eg egXML gi ident tag val"/>
          <moduleRef key="textstructure" include="TEI back body div front text"/>
          <moduleRef key="transcr" include="supplied"/>
          <elementSpec ident="TEI" mode="change">
            <attList>
              <attDef ident="version" mode="delete"/>
            </attList>
          </elementSpec>
          <elementSpec ident="titleStmt" module="header" mode="change">
            <gloss versionDate="2005-01-14" xml:lang="en">title statement</gloss>
            <desc versionDate="2014-03-10" xml:lang="en">groups information about the title of a
              work and those responsible for its content. In jTEI, this must include a title and an
                <gi>author</gi> element for each author of the paper, which in turn must include
                <gi>name</gi>, <gi>affiliation</gi> and <gi>email</gi>.</desc>
            <content>
              <!-- [RvdB] sequence wrapper seems necessary to keep ODD2DTD happy -->
              <sequence>                
                <elementRef key="title" minOccurs="1" maxOccurs="unbounded"/>
                <elementRef key="author" minOccurs="1" maxOccurs="unbounded"/>
              </sequence>              
            </content>
            <constraintSpec ident="jtei.sch-title" scheme="schematron" xml:lang="en">
              <constraint>
                <sch:rule context="tei:titleStmt">
                  <sch:assert test="tei:title[@type = 'main']" sqf:fix="type.add">
                    A title of type "main" is required in <sch:name/>.
                  </sch:assert>
                  <sqf:fix id="type.add">
                    <sqf:description>
                      <sqf:title>Add a @type='main' attribute to the first title.</sqf:title>
                    </sqf:description>
                    <sqf:add match="tei:title[not(@type='main')][1]" node-type="attribute" target="type">main</sqf:add>
                  </sqf:fix>                  
                </sch:rule>
              </constraint>
            </constraintSpec>
          </elementSpec>
          <elementSpec ident="respStmt" module="header" mode="change">
            <constraintSpec ident="jtei.sch-respSmt" scheme="schematron" xml:lang="en">
              <constraint>
                <sch:rule context="tei:respStmt">
                  <sch:assert test="ancestor::tei:sourceDesc">
                    <sch:name/> can only be used in the context of sourceDesc.
                  </sch:assert>
                </sch:rule>
              </constraint>
            </constraintSpec>
          </elementSpec>
          <elementSpec ident="textClass" module="header" mode="change">
            <content>
              <!-- [RvdB] sequence wrapper seems necessary to keep ODD2DTD happy -->
              <sequence>
                <alternate minOccurs="0" maxOccurs="unbounded">
                  <elementRef key="classCode"/>
                  <elementRef key="catRef"/>
                </alternate>
                <elementRef key="keywords"/>
              </sequence>
            </content>
          </elementSpec>
          <elementSpec ident="affiliation" mode="change">
            <attList>
              <attDef ident="notAfter" mode="delete"/>
              <attDef ident="role" mode="delete"/>
            </attList>
          </elementSpec>
          <elementSpec ident="application" mode="change">
            <attList>
              <attDef ident="type" mode="delete"/>
              <attDef ident="notAfter" mode="delete"/>
            </attList>
          </elementSpec>
          <elementSpec ident="att" module="tagdocs" mode="change">
            <constraintSpec ident="jtei.sch-att" scheme="schematron" xml:lang="en">
              <constraint>
                <sch:rule context="tei:att">
                  <sch:assert test="not(matches(., '^@'))">
                    Attribute delimiters are not allowed for <sch:name/>: they are completed at processing time via XSLT.
                  </sch:assert>
                </sch:rule>
              </constraint>
            </constraintSpec>
            <attList>
              <attDef ident="scheme" mode="delete"/>
            </attList>
          </elementSpec>
          <classSpec ident="att.breaking" module="tei" type="atts" mode="delete"/>
          <classSpec ident="att.calendarSystem" module="tei" type="atts" mode="delete"/>
          <classSpec ident="att.cReferencing" module="tei" type="atts" mode="delete"/>
          <classSpec ident="att.canonical" module="tei" type="atts" mode="delete"/>
          <classSpec ident="att.citing" module="tei" type="atts" mode="change">
            <attList>
              <attDef ident="from" mode="delete"/>
              <attDef ident="to" mode="delete"/>
            </attList>
          </classSpec>
          <classSpec ident="att.combinable" module="tagdocs" type="atts" mode="change">
            <attList>
              <attDef ident="mode" mode="delete"/>
            </attList>
          </classSpec>
          <classSpec ident="att.coordinated" module="transcr" type="atts" mode="delete"/>
          <classSpec ident="att.damaged" module="tei" type="atts" mode="change">
            <attList>
              <attDef ident="hand" mode="delete"/>
              <attDef ident="agent" mode="delete"/>
              <attDef ident="degree" mode="delete"/>
              <attDef ident="group" mode="delete"/>
            </attList>
          </classSpec>
          <classSpec ident="att.datable" module="tei" type="atts" mode="change">
            <attList>
              <attDef ident="period" mode="delete"/>
            </attList>
          </classSpec>
          <classSpec ident="att.datable.custom" module="namesdates" type="atts" mode="delete"/>
          <classSpec ident="att.datable.iso" module="namesdates" type="atts" mode="delete"/>
          <classSpec ident="att.datcat" module="tei" type="atts" mode="delete"/>
          <classSpec ident="att.declarable" module="tei" type="atts" mode="delete"/>
          <classSpec ident="att.declaring" module="tei" type="atts" mode="delete"/>
          <classSpec ident="att.deprecated" module="tagdocs" type="atts" mode="delete"/>
          <classSpec ident="att.dimensions" module="tei" type="atts" mode="change">
            <attList>
              <attDef ident="unit" mode="delete"/>
              <attDef ident="quantity" mode="delete"/>
              <attDef ident="extent" mode="delete"/>
              <attDef ident="precision" mode="delete"/>
              <attDef ident="scope" mode="delete"/>
            </attList>
          </classSpec>
          <classSpec ident="att.divLike" module="tei" type="atts" mode="change">
            <attList>
              <attDef ident="org" mode="delete"/>
              <attDef ident="sample" mode="delete"/>
            </attList>
          </classSpec>
          <classSpec ident="att.docStatus" module="tei" type="atts" mode="delete"/>
          <classSpec ident="att.duration.iso" module="tei" type="atts" mode="delete"/>
          <classSpec ident="att.duration.w3c" module="tei" type="atts" mode="delete"/>
          <classSpec ident="att.editLike" module="tei" type="atts" mode="change">
            <attList>
              <attDef ident="evidence" mode="delete"/>
              <attDef ident="instant" mode="delete"/>
            </attList>
          </classSpec>
          <classSpec ident="att.edition" module="tei" type="atts" mode="delete"/>
          <classSpec ident="att.fragmentable" module="tei" type="atts" mode="delete"/>
          <classSpec ident="att.global.rendition" module="tei" type="atts" mode="change">
            <attList>
              <attDef ident="style" mode="delete"/>
            </attList>
          </classSpec>
          <classSpec ident="att.global.change" module="transcr" type="atts" mode="delete"/>
          <classSpec ident="att.global.facs" type="atts" mode="delete"/>
          <classSpec ident="att.handFeatures" module="tei" type="atts" mode="delete"/>
          <classSpec ident="att.identified" module="tagdocs" type="atts" mode="change">
            <attList>
              <attDef ident="predeclare" mode="delete"/>
              <attDef ident="module" mode="delete"/>
              <attDef ident="status" mode="delete"/>
            </attList>
          </classSpec>
          <classSpec ident="att.internetMedia" module="tei" type="atts" mode="delete"/>
          <classSpec ident="att.interpLike" module="tei" type="atts" mode="change">
            <attList>
              <attDef ident="type" mode="delete"/>
              <attDef ident="inst" mode="delete"/>
            </attList>
          </classSpec>
          <classSpec ident="att.measurement" module="tei" type="atts" mode="delete"/>
          <classSpec ident="att.media" module="tei" type="atts" mode="change">
            <attList>
              <attDef ident="scale" mode="delete"/>
            </attList>
          </classSpec>
          <classSpec ident="att.milestoneUnit" module="core" type="atts" mode="delete"/>
          <classSpec ident="att.naming" module="tei" type="atts" mode="change">
            <attList>
              <attDef ident="nymRef" mode="delete"/>
            </attList>
          </classSpec>
          <classSpec ident="att.patternReplacement" module="header" type="atts" mode="delete"/>
          <classSpec ident="att.personal" module="tei" type="atts" mode="change">
            <attList>
              <attDef ident="full" mode="delete"/>
              <attDef ident="sort" mode="delete"/>
            </attList>
          </classSpec>
          <classSpec ident="att.pointing" module="tei" type="atts" mode="change">
            <attList>
              <attDef ident="targetLang" mode="delete"/>
              <attDef ident="evaluate" mode="delete"/>
            </attList>
          </classSpec>
          <classSpec ident="att.pointing.group" module="tei" type="atts" mode="change">
            <attList>
              <attDef ident="domains" mode="delete"/>
              <attDef ident="targFunc" mode="delete"/>
            </attList>
          </classSpec>
          <classSpec ident="att.ranging" module="tei" type="atts" mode="delete"/>
          <classSpec ident="att.readFrom" module="tei" type="atts" mode="delete"/>
          <classSpec ident="att.repeatable" module="tagdocs" type="atts" mode="delete"/>
          <classSpec ident="att.responsibility" module="tei" type="atts" mode="change">
            <attList>
              <attDef ident="cert" mode="delete"/>
              <attDef ident="resp" mode="delete"/>
            </attList>
          </classSpec>
          <classSpec ident="att.scoping" module="tei" type="atts" mode="delete"/>
          <classSpec ident="att.segLike" module="tei" type="atts" mode="change">
            <attList>
              <attDef ident="function" mode="delete"/>
            </attList>
          </classSpec>
          <classSpec ident="att.sortable" module="tei" type="atts" mode="delete"/>
          <classSpec ident="att.spanning" module="tei" type="atts" mode="delete"/>
          <classSpec ident="att.styleDef" module="tei" type="atts" mode="change">
            <attList>
              <attDef ident="schemeVersion" mode="delete"/>
            </attList>
          </classSpec>
          <classSpec ident="att.tableDecoration" module="tei" type="atts" mode="change">
            <attList>
              <attDef ident="role" mode="change">
                <valList mode="add" type="closed">
                  <valItem ident="data"/>
                  <valItem ident="label"/>
                </valList>
              </attDef>
            </attList>
          </classSpec>
          <classSpec ident="att.timed" module="tei" type="atts" mode="delete"/>
          <classSpec ident="att.transcriptional" module="tei" type="atts" mode="change">
            <attList>
              <attDef ident="hand" mode="delete"/>
              <attDef ident="status" mode="delete"/>
              <attDef ident="cause" mode="delete"/>
              <attDef ident="seq" mode="delete"/>
            </attList>
          </classSpec>
          <classSpec ident="att.translatable" module="tei" type="atts" mode="delete"/>
          <classSpec ident="att.typed" module="tei" type="atts" mode="change">
            <attList>
              <attDef ident="subtype" mode="delete"/>
            </attList>
          </classSpec>
          <elementSpec ident="author" mode="change" module="core">
            <constraintSpec ident="jtei.sch-author" scheme="schematron" xml:lang="en">
              <constraint>
                <sch:rule context="tei:titleStmt/tei:author">
                  <sch:assert test="tei:name and tei:affiliation and tei:email" see="https://tei-c.org/release/doc/tei-p5-exemplars/html/tei_jtei.doc.html#structure">
                    Author information in the &lt;titleStmt&gt; must include &lt;name&gt;, &lt;affiliation&gt; and &lt;email&gt;.
                  </sch:assert>
                </sch:rule>
              </constraint>
            </constraintSpec>
            <attList>
              <attDef ident="role" mode="delete"/>
            </attList>
          </elementSpec>
          <elementSpec ident="availability" mode="change">
            <attList>
              <attDef ident="status" mode="delete"/>
            </attList>
          </elementSpec>
          <elementSpec ident="bibl" mode="change" module="core">
            <constraintSpec ident="jtei.sch-bibl-id" scheme="schematron" xml:lang="en">
              <constraint>
                <sch:rule context="tei:back/tei:div[@type eq 'bibliography']//tei:bibl"
                  see="https://tei-c.org/release/doc/tei-p5-exemplars/html/tei_jtei.doc.html#back"
                  role="warning">
                  <sch:assert test="@xml:id">
                    A bibliographic entry should have a unique value for @xml:id.
                  </sch:assert>
                </sch:rule>
              </constraint>
            </constraintSpec>
            <constraintSpec ident="jtei.sch-bibl-orphan" scheme="schematron" xml:lang="en">
              <constraint>
                <sch:rule context="tei:back/tei:div[@type eq 'bibliography']//tei:bibl"
                  role="warning">
                  <sch:assert test="key('idrefs', @xml:id)/parent::tei:ref[@type='bibl']"
                    see="https://tei-c.org/release/doc/tei-p5-exemplars/html/tei_jtei.doc.html#back">
                    This bibliographic entry is an orphan: no ref[@type="bibl"] references to it occur in the text.
                  </sch:assert>
                </sch:rule>
              </constraint>
            </constraintSpec>
            <constraintSpec ident="jtei.sch-bibl-endpunctuation" scheme="schematron" xml:lang="en">
              <constraint>
                <sch:rule context="tei:back/tei:div[@type eq 'bibliography']//tei:bibl"
                  see="https://tei-c.org/release/doc/tei-p5-exemplars/html/tei_jtei.doc.html#back"
                  role="warning">
                  <sch:report test="descendant::node()[last()][
                    not(matches(normalize-space(), '(^|[^.?!:;,])\.$')) or
                    preceding-sibling::node()[1]/descendant-or-self::*[last()]
                      [matches(normalize-space(), '[.?!:;,]$')]
                    ]">
                    A bibliographic entry should end with a single period.
                  </sch:report>
                </sch:rule>
              </constraint>
            </constraintSpec>
            <constraintSpec ident="jtei.sch-title-journal-CMOS" scheme="schematron" xml:lang="en">
              <constraint>
                <sch:rule context="tei:bibl/tei:title[@level='j']"
                  role="warning">
                  <sch:report test="self::*[preceding-sibling::*[1]/self::tei:title[@level='a']]
                    [not(preceding-sibling::node()[normalize-space()][1][matches(normalize-space(), '[.,!?]$')])]
                    "
                    see="https://tei-c.org/release/doc/tei-p5-exemplars/html/tei_jtei.doc.html#back"
                    >
                    An analytic title and a journal title in a bibliographic entry should only be separated by a comma or a period (or the end punctuation of the analytic title). 
                  </sch:report>
                </sch:rule>
              </constraint>
            </constraintSpec>
            
            <attList>
              <attDef ident="type" mode="delete"/>
            </attList>
          </elementSpec>
          <elementSpec ident="biblScope" mode="change">
            <attList>
              <attDef ident="type" mode="delete"/>
              <attDef ident="unit" mode="change">
                <valList mode="add" type="closed">
                  <valItem ident="chapter"/>
                  <valItem ident="issue"/>
                  <valItem ident="page"/>
                  <valItem ident="part"/>
                  <valItem ident="volume"/>
                </valList>
              </attDef>
            </attList>
          </elementSpec>
          <elementSpec ident="cit" mode="change" module="core">
            <gloss versionDate="2014-03-01" xml:lang="en">cited block quotation</gloss>
            <desc versionDate="2014-03-01" xml:lang="en">contains a quotation from some other
              document, together with a bibliographic reference to its source. In jTEI, this is used
              only for block quotations, and it will be rendered as a block. For inline quotations,
              use the <gi>quote</gi> element and link it to a reference using
              <att>source</att>.</desc>
            <content>
              <alternate minOccurs="1" maxOccurs="unbounded">
                <elementRef key="quote"/>
                <classRef key="model.biblLike"/>
                <classRef key="model.ptrLike"/>
              </alternate>
            </content>
            <constraintSpec ident="jtei.sch-cit" scheme="schematron" xml:lang="en">
              <constraint>
                <sch:rule context="tei:cit" role="warning">
                  <sch:assert test="tei:ref"
                    see="https://tei-c.org/release/doc/tei-p5-exemplars/html/tei_jtei.doc.html#quotations">
                    <sch:name/> is normally expected to have a bibliographic reference (ref[@type="bibl"]). Please make sure you intended not to add one here.
                  </sch:assert>
                </sch:rule>
              </constraint>
            </constraintSpec>
            <attList>
              <attDef ident="type" mode="delete"/>
            </attList>
          </elementSpec>
          <elementSpec ident="date" mode="change">
            <attList>
              <attDef ident="type" mode="delete"/>
            </attList>
          </elementSpec>
          <elementSpec ident="desc" mode="change">
            <attList>
              <attDef ident="type" mode="delete"/>
            </attList>
          </elementSpec>
          <elementSpec ident="div" mode="change">
            <constraintSpec ident="jtei.sch-divtypes-front" scheme="schematron" xml:lang="en">
              <constraint>
                <sch:rule context="tei:div[@type = $div.types.front]">
                  <sch:assert test="parent::tei:front"
                    see="https://tei-c.org/release/doc/tei-p5-exemplars/html/tei_jtei.doc.html#front">
                    A text division of type <sch:value-of select="@type"/> may only occur inside &lt;front&gt;. </sch:assert>
                </sch:rule>
              </constraint>
            </constraintSpec>
            <constraintSpec ident="jtei.sch-divtypes-front2" scheme="schematron" xml:lang="en">
              <constraint>
                <sch:rule context="tei:front/tei:div">
                  <sch:assert test="@type = $div.types.front"
                    see="https://tei-c.org/release/doc/tei-p5-exemplars/html/tei_jtei.doc.html#front">
                    Only text divisions of type <sch:value-of select="string-join(for $i in $div.types.front return concat(if (index-of($div.types.front, $i) = count($div.types.front)) then 'or ' else (), '&quot;', $i, '&quot;'), ', ')"/> may appear in the &lt;front&gt;.
                  </sch:assert>
                </sch:rule>
              </constraint>
            </constraintSpec>
            <constraintSpec ident="jtei.sch-divtypes-back" scheme="schematron" xml:lang="en">
              <constraint>
                <sch:rule context="tei:div[@type = ('bibliography', 'appendix')]"
                  see="https://tei-c.org/release/doc/tei-p5-exemplars/html/tei_jtei.doc.html#back">
                  <sch:assert test="parent::tei:back">
                    Bibliography (<sch:name/>[@type="bibliography"]) and appendices (<sch:name/>[@type="appendix"]) may only occur inside &lt;back&gt;. </sch:assert>
                </sch:rule>
              </constraint>
            </constraintSpec>
            <constraintSpec ident="jtei.sch-divtypes-body" scheme="schematron" xml:lang="en">
              <constraint>
                <sch:rule context="tei:div[@type = ('editorialIntroduction')]">
                  <sch:assert test="parent::tei:body"
                    see="https://tei-c.org/release/doc/tei-p5-exemplars/html/tei_jtei.doc.html#body">
                    An editorial introduction (<sch:name/>[@type="editorialIntroduction"]) may only occur inside &lt;body&gt;.
                  </sch:assert>
                </sch:rule>
              </constraint>
            </constraintSpec>
            <constraintSpec ident="jtei.sch-div-head" scheme="schematron" xml:lang="en">
              <constraint>
                <sch:rule context="tei:body//tei:div[not(@type = ('editorialIntroduction'))]">
                  <sch:assert test="tei:head"
                    see="https://tei-c.org/release/doc/tei-p5-exemplars/html/tei_jtei.doc.html#divs">
                    A <sch:name/> must contain a &lt;head&gt;. </sch:assert>
                </sch:rule>
              </constraint>
            </constraintSpec>
            
            <attList>
              <attDef ident="type" mode="change">
                <valList mode="add" type="closed">
                  <valItem ident="abstract">
                    <gloss xml:lang="en" versionDate="2015-03-03">Abstract for the article, appearing inside &lt;front&gt;.</gloss>
                    <desc xml:lang="en" versionDate="2015-03-03">Every article must include an abstract, consisting of one or two
                      paragraphs. This appears in the &lt;front&gt; element and may not appear
                      anywhere else.</desc>
                  </valItem>
                  <valItem ident="acknowledgements">
                    <gloss xml:lang="en" versionDate="2015-03-03">Acknowledgements for the article, appearing inside &lt;front&gt;.</gloss>
                    <desc xml:lang="en" versionDate="2015-03-03">If an article includes a section for acknowledgements (for funders,
                      supporters, etc.), it should be as brief as possible, and must appear in the
                      &lt;front&gt; element and nowhere else.</desc>
                  </valItem>
                  <valItem ident="authorNotes">
                    <gloss xml:lang="en" versionDate="2017-08-31">Author's notes for the article, appearing inside &lt;front&gt;.</gloss>
                    <desc xml:lang="en" versionDate="2017-08-31">If an article includes a section for author notes, it should be as brief as possible, and must appear in the
                      &lt;front&gt; element and nowhere else.)</desc>
                  </valItem>
                  <valItem ident="dedication">
                    <gloss xml:lang="en" versionDate="2017-08-31">A dedication for the article, appearing inside &lt;front&gt;.</gloss>
                    <desc xml:lang="en" versionDate="2017-08-31">If an article includes a section for a dedication, it should be as brief as possible, and must appear in the
                      &lt;front&gt; element and nowhere else.)</desc>
                  </valItem>
                  <valItem ident="appendix">
                    <gloss xml:lang="en" versionDate="2015-03-03">Appendix to the article, appearing inside &lt;back&gt;.</gloss>
                    <desc xml:lang="en" versionDate="2015-03-03">Any appendices must appear in the &lt;back&gt; of the article, following
                      the bibliography.</desc>
                  </valItem>
                  <valItem ident="bibliography">
                    <gloss xml:lang="en" versionDate="2015-03-03">Bibliography, appearing inside &lt;back&gt;.</gloss>
                    <desc xml:lang="en" versionDate="2015-03-03">Every article must include a bibliography, which appears as the first
                      component of the &lt;back&gt; element, followed by any appendices.</desc>
                  </valItem>
                  <valItem ident="editorialIntroduction">
                    <gloss xml:lang="en" versionDate="2015-03-03">Editorial introduction, appearing inside &lt;body&gt;.</gloss>
                    <desc xml:lang="en" versionDate="2015-03-03">[Reserved <emph>for editors only</emph>: An editorial introduction to an issue must contain a &lt;div 
                      type="editorialIntroduction"&gt;, which must appear in the &lt;body&gt;
                      element and may not appear anywhere else.]</desc>
                  </valItem>
                  <valItem ident="editorNotes">
                    <gloss xml:lang="en" versionDate="2017-08-31">Editor notes for the article, appearing inside &lt;front&gt;.</gloss>
                    <desc xml:lang="en" versionDate="2017-08-31">[Reserved <emph>for editors only</emph>: if an article includes a section for editor notes, it should be as brief as possible, and must appear in the
                      &lt;front&gt; element and nowhere else.]</desc>
                  </valItem>
                  <valItem ident="corrections">
                    <gloss xml:lang="en" versionDate="2017-08-31">Statement of corrections to the article, appearing inside &lt;front&gt;.</gloss>
                    <desc xml:lang="en" versionDate="2017-08-31">[Reserved <emph>for editors only</emph>: if an article needs corrections, those must be stated in this section, which  must appear in the
                      &lt;front&gt; element and nowhere else.]</desc>
                  </valItem>
                </valList>
              </attDef>
            </attList>
          </elementSpec>
          <elementSpec ident="editor" mode="change">
            <attList>
              <attDef ident="role" mode="change">
                <valList mode="add" type="closed">
                  <valItem ident="translator"/>
                  <valItem ident="guest"/>
                  <valItem ident="chief"/>
                  <valItem ident="managing"/>
                  <valItem ident="technical"/>
                </valList>
              </attDef>
            </attList>
          </elementSpec>
          <elementSpec ident="emph" module="core" mode="change">
            <gloss xml:lang="en" versionDate="2015-03-03">Emphasis (italicization)</gloss>
            <desc xml:lang="en" versionDate="2015-03-03"> The <gi>emph</gi> element is used for emphasized text, and will be rendered in
              italics. </desc>
          </elementSpec>
          <elementSpec ident="figure" mode="change">
            <gloss xml:lang="en" versionDate="2015-03-03">figure</gloss>
            <desc xml:lang="en" versionDate="2015-03-03">groups elements representing or containing graphic information
              such as a graphic illustration, or a block of example code. Figure must contain
              either <gi>graphic</gi>, <gi>egXML</gi> (for example XML code) or <gi>eg</gi>
              (for non-XML code), and a mandatory <gi>head</gi> element containing the caption for the 
              figure. Inline code examples may be provided through <gi>egXML</gi> and <gi>eg</gi>
              without the <gi>figure</gi> wrapper.
            </desc>
            <content>
              <!-- [RvdB] sequence wrapper seems necessary to keep ODD2DTD happy -->
              <sequence>
                <alternate>
                  <elementRef key="graphic"/>
                  <elementRef key="egXML"/>
                  <elementRef key="eg"/>
                </alternate>
                <elementRef key="head" minOccurs="1" maxOccurs="unbounded"/>
              </sequence>
            </content>
            <attList>
              <attDef ident="place" mode="delete"/>
              <attDef ident="type" mode="delete"/>
            </attList>
            <exemplum xml:lang="en">
              <egXML xmlns="http://www.tei-c.org/ns/Examples">
                <figure>
                  <graphic url="http://www.example.org/fig1.png" width="100px" height="750px"/>
                  <head type="legend">The View from the Bridge</head>
                  <head type="license">Used with permission</head>
                </figure>
              </egXML>
            </exemplum>
            <exemplum xml:lang="en">
              <egXML xmlns="http://www.tei-c.org/ns/Examples">
                <figure>
                  <eg>if ((err = SSLHashSHA1.update(&amp;hashCtx, &amp;serverRandom)) != 0)
                    goto fail;
                    if ((err = SSLHashSHA1.update(&amp;hashCtx, &amp;signedParams)) != 0)
                    goto fail;
                    goto fail;
                    if ((err = SSLHashSHA1.final(&amp;hashCtx, &amp;hashOut)) != 0)
                    goto fail;
                  </eg>
                  <head type="legend">An embarrassing error for Apple</head>
                </figure>
              </egXML>
            </exemplum>
            <exemplum xml:lang="en">
              <egXML xmlns="http://www.tei-c.org/ns/Examples">
                <figure>
                  &lt;egXML xmlns="http://www.tei-c.org/ns/Examples"&gt;
                  &lt;list rend="bulleted"&gt;
                  &lt;item&gt;Life&lt;/item&gt;
                  &lt;item&gt;The Universe&lt;/item&gt;
                  &lt;item&gt;Everything&lt;/item&gt;
                  &lt;/list&gt;
                  &lt;/egXML&gt;
                  <head type="legend">A book title rendered as a list</head>
                </figure>
              </egXML>
            </exemplum>
          </elementSpec>
          <elementSpec ident="forename" mode="change">
            <attList>
              <attDef ident="role" mode="delete"/>
              <attDef ident="type" mode="delete"/>
            </attList>
          </elementSpec>
          <elementSpec ident="ident" mode="change">
            <attList>
              <attDef ident="type" mode="delete"/>
            </attList>
          </elementSpec>
          <elementSpec ident="label" mode="change">
            <attList>
              <attDef ident="type" mode="delete"/>
              <attDef ident="place" mode="delete"/>
            </attList>
          </elementSpec>
          <elementSpec ident="language" mode="change">
            <attList>
              <attDef ident="usage" mode="delete"/>
            </attList>
          </elementSpec>
          <elementSpec ident="lb" mode="change">
            <attList>
              <attDef ident="type" mode="delete"/>
            </attList>
          </elementSpec>
          <elementSpec ident="list" mode="change" module="core">
            <attList>
              <attDef ident="type" mode="change" usage="opt">
                <defaultVal></defaultVal>
                <valList mode="replace" type="closed">
                  <valItem ident="gloss"/>
                </valList>
              </attDef>
              <attDef ident="rend" mode="change" usage="opt">
                <desc versionDate="2014-03-20" xml:lang="en">describes the way the list
                  should be rendered. </desc>
                <datatype maxOccurs="unbounded">
                  <dataRef key="teidata.enumerated"/>
                </datatype>
                <valList mode="replace" type="closed">
                  <valItem ident="bulleted">
                    <gloss xml:lang="en" versionDate="2015-03-03">A bulleted list</gloss>
                    <desc xml:lang="en" versionDate="2015-03-03">Bulleted lists will appear with each item preceded by a leading
                      dot.</desc>
                  </valItem>
                  <valItem ident="inline">
                    <gloss xml:lang="en" versionDate="2015-03-03">An inline list</gloss>
                    <desc xml:lang="en" versionDate="2015-03-03">Inline lists appear within a paragraph of ordinary text; list items do not
                      start on a new line, but follow immediately from the preceding text or item.
                      The value "inline" may be combined with another value; for example, "ordered
                      inline" means that the list will be rendered inline, but each item will be
                      preceded by a number in parentheses: (1) first item (2) second item,
                      and so on.</desc>
                  </valItem>
                  <valItem ident="ordered">
                    <gloss xml:lang="en" versionDate="2015-03-03">A numbered list</gloss>
                    <desc xml:lang="en" versionDate="2015-03-03">Items in a numbered list will be preceded by a number. If the list is
                      inline, then the number will be enclosed in parentheses, but if it is a
                      block-level list (the default), the number will be followed by a period.
                    </desc>
                  </valItem>
                  <valItem ident="simple">
                    <gloss xml:lang="en" versionDate="2015-03-03">A simple list (no bullets or numbers)</gloss>
                    <desc xml:lang="en" versionDate="2015-03-03">Items in a simple list will be rendered with no bullet or preceding number
                      at all.</desc>
                  </valItem>
                </valList>
              </attDef>
            </attList>
            <exemplum versionDate="2014-03-20" xml:lang="fr">
              <egXML xmlns="http://www.tei-c.org/ns/Examples">
                <list rend="bulleted">
                  <item>Bacon</item>
                  <item>Eggs</item>
                  <item>Mushrooms</item>
                  <item>Spam</item>
                  <item>Spam</item>
                  <item>Spam</item>
                  <item>Spam</item>
                </list>
              </egXML>
            </exemplum>
            
            <exemplum versionDate="2014-03-20" xml:lang="fr">
              <egXML xmlns="http://www.tei-c.org/ns/Examples">
               <p>
                 There are three kinds of list: <list rend="inline ordered">
                   <item>simple, </item><item>bulleted</item> and 
                   <item>ordered</item></list>.                 
               </p>
              </egXML>
            </exemplum>            
          </elementSpec>
          
          <elementSpec ident="listBibl" mode="change">
            <attList>
              <attDef ident="type" mode="delete"/>
            </attList>
          </elementSpec>
          <elementSpec ident="name" mode="change">
            <attList>
              <attDef ident="role" mode="delete"/>
              <attDef ident="notAfter" mode="delete"/>
              <attDef ident="type" mode="delete"/>
            </attList>
          </elementSpec>
          <elementSpec ident="note" mode="change">
            <constraintSpec ident="jtei.sch-note-punctuation" scheme="schematron" xml:lang="en">
              <constraint>
                <sch:rule context="tei:note">
                  <sch:assert
                    test="not(following::text()[not(ancestor::tei:note)][1][matches(., '^[,\.:;!?\]]')])"
                    see="https://tei-c.org/release/doc/tei-p5-exemplars/html/tei_jtei.doc.html#footnotes"
                    >
                    Footnotes should follow punctuation marks, not precede them. Place 
                    your &lt;<sch:name/>&gt; element after the punctuation mark.
                  </sch:assert>
                </sch:rule>
                <sch:rule context="tei:note">
                  <sch:report 
                    test="preceding::text()[not(ancestor::tei:note)][1][matches(., '—$')]"
                    see="https://tei-c.org/release/doc/tei-p5-exemplars/html/tei_jtei.doc.html#footnotes"
                    >
                    Footnotes should precede the dash, not follow it. Place 
                    your &lt;<sch:name/>&gt; element before the dash.
                  </sch:report>
                </sch:rule>
                <sch:rule context="tei:note" role="warning">
                  <sch:report
                    test="following::text()[not(ancestor::tei:note)][1][matches(normalize-space(), '^\)')]"
                    see="https://tei-c.org/release/doc/tei-p5-exemplars/html/tei_jtei.doc.html#footnotes"
                    >
                    Footnotes may be placed before closing parentheses, though this is
                    exceptional. Please check if this note's placement is correct.
                    Otherwise, move it after the closing parenthesis.
                  </sch:report>
                </sch:rule>                
              <sch:rule context="tei:note" role="warning">
                <sch:report
                    test="descendant::node()[last()][
                  not(matches(normalize-space(), '(^|[^.?!:;,])[.?!]$')) or
                  preceding-sibling::node()[1]/descendant-or-self::*[last()]
                      [matches(normalize-space(), '[.?!:;,]$')]
                      ]"
                      see="https://tei-c.org/release/doc/tei-p5-exemplars/html/tei_jtei.doc.html#footnotes"
                    >
                  A footnote should end a with a single closing punctuation character.
                  </sch:report>
                </sch:rule>
              </constraint>
            </constraintSpec>
            <constraintSpec ident="jtei.sch-note-blocks" scheme="schematron" xml:lang="en">
              <constraint>
                <sch:rule context="tei:note">
                  <sch:report
                    test=".//(tei:cit|tei:table|tei:list[not(tokenize(@rend, '\s+')[. eq 'inline'])]|tei:figure|eg:egXML|tei:eg)"
                    see="https://tei-c.org/release/doc/tei-p5-exemplars/html/tei_jtei.doc.html#footnotes"
                    > No block-level elements (&lt;cit&gt;, &lt;table&gt;, &lt;figure&gt;, &lt;egXML&gt;, &lt;eg&gt;, &lt;list&gt; which do not have the value inline for @rend) are allowed inside <sch:name/>. </sch:report>
                </sch:rule>
              </constraint>
            </constraintSpec>
            <attList>
              <attDef ident="anchored" mode="delete"/>
              <attDef ident="targetEnd" mode="delete"/>
              <attDef ident="place" mode="delete"/>
              <attDef ident="target" mode="delete"/>
              <attDef ident="type" mode="delete"/>
            </attList>
          </elementSpec>
          
          <elementSpec ident="head" module="core" mode="change">
            <constraintSpec ident="jtei.sch-head-number" scheme="schematron" xml:lang="en">
              <constraint>
                <sch:rule context="tei:head">
                  <sch:report
                    test="matches(., '^\s*(((figure|fig\.|table|example|ex\.|section) )\d|\d+\.\d?)', 'i')"
                    see="https://tei-c.org/release/doc/tei-p5-exemplars/html/tei_jtei.doc.html#body"
                    >
                    Headings are numbered and labeled automatically, please remove the hard-coded label from the text.
                  </sch:report>
                </sch:rule>
              </constraint>
            </constraintSpec>
            <constraintSpec ident="jtei.sch-figure-head" scheme="schematron" xml:lang="en">
              <constraint>
                <sch:rule context="tei:figure/tei:head">
                  <sch:assert test="@type = ('legend', 'license')"
                    see="https://tei-c.org/release/doc/tei-p5-exemplars/html/tei_jtei.doc.html#figures"> Figure titles (&lt;head>) must have a type
                    'legend' or 'license'. </sch:assert>
                </sch:rule>
              </constraint>
            </constraintSpec>
            <attList>
              <attDef ident="type" usage="opt" mode="change">
                <desc versionDate="2014-03-18" xml:lang="en">indicates the type of heading.
                In jTEI, we only use this attribute in the context of a <gi>head</gi> 
                element in <gi>figure</gi>, where it must have one of two values.</desc>
                <datatype>
                  <dataRef key="teidata.enumerated"/>
                </datatype>
                <valList type="closed">
                  <valItem ident="legend">
                    <desc versionDate="2014-03-18" xml:lang="en" >the caption for a figure.</desc>
                  </valItem>
                  <valItem ident="license">
                    <desc versionDate="2014-03-18" xml:lang="en" >licensing information that must be
                    shown alongside the figure.</desc>
                  </valItem>
                  
                </valList>
              </attDef>
            </attList>
          </elementSpec>

          <elementSpec ident="num" mode="change" module="core">
            <attList>
              <attDef ident="type" usage="opt" mode="change">
                <desc versionDate="2014-06-12" xml:lang="en">indicates the type of numeric value. In
                  jTEI, we particularly use num[@type='ordinal'] for e.g. <q>21st</q> or <q>2nd</q>; in
                  rendering, this results in the non-numeric suffix to the number being output as
                  superscript. Note, however, that ordinals for centuries should be spelled out, 
                not written using digits (<q>nineteenth century</q>, not <q>19th century</q>).</desc>
                <datatype>
                  <dataRef key="teidata.enumerated"/>
                </datatype>
                <valList type="closed">
                  <valItem ident="cardinal">
                    <desc versionDate="2007-06-27" xml:lang="en">absolute number, e.g. 21,
                      21.5</desc>
                  </valItem>
                  <valItem ident="ordinal">
                    <desc versionDate="2007-06-27" xml:lang="en">ordinal number, e.g. 21st. This
                      will be rendered with the non-numeric component superscripted.</desc>
                  </valItem>
                  <valItem ident="fraction">
                    <desc versionDate="2007-06-27" xml:lang="en">fraction, e.g. one half or
                      three-quarters</desc>
                  </valItem>
                  <valItem ident="percentage">
                    <desc versionDate="2007-06-27" xml:lang="en">a percentage</desc>
                  </valItem>
                </valList>
              </attDef>
            </attList>
          </elementSpec>

          <elementSpec ident="orgName" mode="change">
            <attList>
              <attDef ident="notAfter" mode="delete"/>
              <attDef ident="role" mode="delete"/>
              <attDef ident="type" mode="delete"/>
            </attList>
          </elementSpec>
          <elementSpec ident="pubPlace" mode="change">
            <attList>
              <attDef ident="role" mode="delete"/>
            </attList>
          </elementSpec>
          <elementSpec ident="ptr" mode="change">
            <constraintSpec ident="jtei.sch-ptr-multipleTargets" scheme="schematron" xml:lang="en">
              <constraint>
                <sch:rule context="tei:ptr[not(@type='crossref')]">
                  <sch:report test="count(tokenize(normalize-space(@target), '\s+')) > 1"
                    see="https://tei-c.org/release/doc/tei-p5-exemplars/html/tei_jtei.doc.html#internal_linking"> Multiple
                    values in @target are only allowed for <sch:name/>[@type='crossref'].
                  </sch:report>
                </sch:rule>
              </constraint>
            </constraintSpec>
            <attList>
              <attDef ident="target" mode="change" usage="req"/>
              <attDef ident="type" mode="change">
                <valList mode="add" type="closed">
                  <valItem ident="crossref">
                    <gloss xml:lang="en" versionDate="2015-03-03">A cross-reference (reference to another part of the article).</gloss>
                    <desc xml:lang="en" versionDate="2015-03-03">To link to another part of your article, use <tag>ptr
                        type="crossref"</tag>, and point to the <att>xml:id</att> value of the
                      target location: <tag>ptr type="crossref" target="#intro"</tag>. The
                        <gi>ptr</gi> element will be expanded to create an appropriate link to the
                      target location. </desc>
                  </valItem>
                </valList>
              </attDef>
            </attList>
          </elementSpec>
          <elementSpec ident="q" mode="change">
            <attList>
              <attDef ident="type" mode="delete"/>
            </attList>
          </elementSpec>
          <elementSpec ident="quote" mode="change" module="core">
            <constraintSpec ident="jtei.sch-core" scheme="schematron" xml:lang="en">
              <constraint>
                <sch:rule context="tei:quote">
                  <sch:assert
                    see="https://tei-c.org/release/doc/tei-p5-exemplars/html/tei_jtei.doc.html#quotations"
                    test="id(substring-after(@source, '#'))/(self::tei:ref[@type eq 'bibl']|self::tei:bibl[ancestor::tei:body])">
                    <sch:name/> must have a @source that points to the @xml:id of either a
                    ref[type='bibl'], or a &lt;bibl&gt; in the &lt;body&gt;. </sch:assert>
                </sch:rule>
              </constraint>
            </constraintSpec>
            <attList>
              <attDef ident="type" mode="delete"/>
            </attList>
          </elementSpec>
          <elementSpec ident="ref" mode="change" module="core">
            <constraintSpec ident="jtei.sch-ref-multipleTargets" scheme="schematron" xml:lang="en">
              <constraint>
                <sch:rule context="tei:ref">
                  <sch:report test="count(tokenize(normalize-space(@target), '\s+')) > 1"
                    see="https://tei-c.org/release/doc/tei-p5-exemplars/html/tei_jtei.doc.html#external_linking">
                    <sch:name/> with multiple values for @target is not supported. </sch:report>
                </sch:rule>
              </constraint>
            </constraintSpec>
            <constraintSpec ident="jtei.sch-biblref-parentheses" scheme="schematron" xml:lang="en">
              <constraint>
                <sch:rule context="tei:ref[@type eq 'bibl']">
                  <sch:assert test="not(matches(., '^\(.*\)$'))"
                    see="https://tei-c.org/release/doc/tei-p5-exemplars/html/tei_jtei.doc.html#internal_linking">
                    Parentheses are not part of bibliographic references. Please move them out of <sch:name/>.
                  </sch:assert>
                </sch:rule>
              </constraint>
            </constraintSpec>
            <constraintSpec ident="jtei.sch-biblref-target" scheme="schematron" xml:lang="en">
              <constraint>
                <sch:rule context="tei:ref[@type eq 'bibl']">
                  <sch:assert
                    test="id(substring-after(@target, '#'))/(self::tei:bibl|self::tei:person[ancestor::tei:particDesc/parent::tei:profileDesc])"
                    see="https://tei-c.org/release/doc/tei-p5-exemplars/html/tei_jtei.doc.html#internal_linking"
                    > A bibliographic reference must point with a @target to the @xml:id of an entry in the div[@type="bibliography"].
                  </sch:assert>
                </sch:rule>
              </constraint>
            </constraintSpec>
            <constraintSpec ident="jtei.sch-biblref-type" scheme="schematron" xml:lang="en">
              <constraint>
                <sch:rule context="tei:ref[id(substring-after(@target, '#'))/self::tei:bibl]">
                  <sch:assert test="@type eq 'bibl'"
                    see="https://tei-c.org/release/doc/tei-p5-exemplars/html/tei_jtei.doc.html#internal_linking"
                    sqf:fix="bibltype.add">
                    A bibliographic reference must be typed as @type="bibl".
                  </sch:assert>
                  <sqf:fix id="bibltype.add">
                    <sqf:description>
                      <sqf:title>Add @type='bibl'.</sqf:title>
                    </sqf:description>
                    <sqf:add match="." node-type="attribute" target="type" select="'bibl'"/>
                  </sqf:fix>
                </sch:rule>
              </constraint>
            </constraintSpec>
            <attList>
              <attDef ident="target" mode="change" usage="req"/>
              <attDef ident="type" mode="change">
                <valList mode="add" type="closed">
                  <valItem ident="crossref">
                    <gloss xml:lang="en" versionDate="2015-03-03">A cross-reference (reference to another part of the article).</gloss>
                    <desc xml:lang="en" versionDate="2015-03-03">To link to another part of your article, use <tag>ref
                        type="crossref"</tag>, and point to the <att>xml:id</att> value of the
                      target location: <tag>ref type="crossref" target="#intro"</tag>.</desc>
                  </valItem>
                  <valItem ident="bibl">
                    <gloss xml:lang="en" versionDate="2015-03-03">A bibliographic reference (reference to an entry in the bibliography).</gloss>
                    <desc xml:lang="en" versionDate="2015-03-03">To link to a bibliographic description in the bibliography, use <tag>ref
                      type="bibl"</tag>, and point to the <att>xml:id</att> value of the
                      target location: <tag>ref type="bibl" target="#ide88"</tag>.</desc>
                  </valItem>
                </valList>
              </attDef>
            </attList>
          </elementSpec>
          <elementSpec ident="rendition" mode="change" module="header">
            <constraintSpec ident="jtei.sch-rendition" scheme="schematron" xml:lang="en">
              <constraint>
                <sch:rule context="tei:rendition">
                  <sch:assert test="key('idrefs', @xml:id)[. instance of attribute(rendition)]">
                    Please remove all <sch:name/> definitions that aren't actually being used in the article.
                  </sch:assert>
                </sch:rule>
              </constraint>
            </constraintSpec>
            <attList>
              <attDef ident="scope" mode="delete"/>
              <attDef ident="scheme" mode="change">
                <valList mode="add" type="closed">
                  <valItem ident="css"/>
                </valList>
              </attDef>
            </attList>
          </elementSpec>
          <elementSpec ident="roleName" mode="change">
            <attList>
              <attDef ident="role" mode="delete"/>
              <attDef ident="type" mode="delete"/>
            </attList>
          </elementSpec>
          <elementSpec ident="surname" mode="change">
            <attList>
              <attDef ident="role" mode="delete"/>
              <attDef ident="type" mode="delete"/>
            </attList>
          </elementSpec>
          <elementSpec ident="teiHeader" mode="change">
            <attList>
              <attDef ident="type" mode="delete"/>
            </attList>
          </elementSpec>
          <elementSpec ident="term" mode="change">
            <attList>
              <attDef ident="target" mode="delete"/>
              <attDef ident="type" mode="delete"/>
            </attList>
          </elementSpec>
          <elementSpec ident="text" module="textstructure" mode="change">
            <gloss xml:lang="en" versionDate="2015-03-03">text</gloss>
            <desc xml:lang="en" versionDate="2015-03-03">contains the complete text of the article. Must include a 
            <gi>front</gi> containing an abstract, a <gi>body</gi> containing the main 
            text, and a <gi>back</gi> containing the bibliography and any appendices.</desc>
            <constraintSpec ident="jtei.sch-article-keywords" scheme="schematron" xml:lang="en">
              <constraint>
                <sch:rule context="tei:text[not(tei:body/tei:div[@type = ('editorialIntroduction')])]">
                  <sch:assert
                    test="parent::tei:TEI/tei:teiHeader/tei:profileDesc/tei:textClass/tei:keywords"
                    see="https://tei-c.org/release/doc/tei-p5-exemplars/html/tei_jtei.doc.html#header"
                    >
                    An article must have a keyword list in the header. This should be a list of &lt;term&gt; elements in TEI/teiHeader/profileDesc/textClass/keywords </sch:assert>
                </sch:rule>
              </constraint>
            </constraintSpec>
            <constraintSpec ident="jtei.sch-article-abstract" scheme="schematron" xml:lang="en">
              <constraint>
                <sch:rule context="tei:text[not(tei:body/tei:div[@type = ('editorialIntroduction')])]">
                  <sch:assert test="tei:front/tei:div[@type='abstract']"
                    see="https://tei-c.org/release/doc/tei-p5-exemplars/html/tei_jtei.doc.html#front"> An article must have a
                    front section with an abstract (div[@type='abstract']). </sch:assert>
                </sch:rule>
              </constraint>
            </constraintSpec>
            <constraintSpec ident="jtei.sch-article-back" scheme="schematron" xml:lang="en">
              <constraint>
                <sch:rule context="tei:text[not(tei:body/tei:div[@type = ('editorialIntroduction')])]">
                  <sch:assert test="tei:back/tei:div[@type='bibliography']/tei:listBibl"
                    see="https://tei-c.org/release/doc/tei-p5-exemplars/html/tei_jtei.doc.html#back"> An article
                    must have a back section with a bibliography (div[@type='bibliography']). </sch:assert>
                </sch:rule>
              </constraint>
            </constraintSpec>
            <attList>
              <attDef ident="type" mode="delete"/>
            </attList>
            <exemplum xml:lang="en">
              <egXML xmlns="http://www.tei-c.org/ns/Examples">
                <text>
                  <front>
                    <div type="abstract" xml:id="abstract">
                      <p>This article is about...</p>
                    </div>
                  </front>
                  <body>
                    <div xml:id="intro">
                      <head>Introduction</head>
                      <p>A great deal of previous research...</p>
                    </div>
                    <div xml:id="method">
                      <head>Method</head>
                      <p>This project was undertaken...</p>
                    </div>
                  </body>
                  <back>
                    <div type="bibliography">
                      <listBibl>
                        <bibl>[...]</bibl>
                      </listBibl>
                    </div>
                  </back>
                </text>
              </egXML>
            </exemplum>
          </elementSpec>
          <elementSpec ident="title" mode="change">
            <attList>
              <attDef ident="type" mode="change">
                <valList mode="add" type="closed">
                  <valItem ident="main">
                    <gloss xml:lang="en" versionDate="2015-03-03">The main title of your article.</gloss>
                    <desc xml:lang="en" versionDate="2015-03-03">Academic articles often have a main title followed by a subtitle
                      (sometimes with a colon separating them). If you have two such components in
                      your article title, then in the <gi>titleStmt</gi>, use <tag>title
                        type="main"</tag> and <tag>title type="sub"</tag> to encode the two
                      components of your title.</desc>
                  </valItem>
                  <valItem ident="sub">
                    <gloss xml:lang="en" versionDate="2015-03-03">The subtitle of your article.</gloss>
                    <desc xml:lang="en" versionDate="2015-03-03">Academic articles often have a main title followed by a subtitle
                      (sometimes with a colon separating them). If you have two such components in
                      your article title, then in the <gi>titleStmt</gi>, use <tag>title
                        type="main"</tag> and <tag>title type="sub"</tag> to encode the two
                      components of your title.</desc>
                  </valItem>
                </valList>
              </attDef>
            </attList>
          </elementSpec>
          <elementSpec ident="body" module="textstructure" mode="change">
            <content>
<!--           MDH 2015-03-04: LB wants a more sophisticated content model allowing no 
              divs at all instead of a single div. This has proved problematic, 
              so we're abandoning it at this stage to enable integration into 
              P5; we'll revisit this later. -->
<!--              <alternate>-->
                <sequence>                  
                  <alternate minOccurs="0" maxOccurs="unbounded">
                    <classRef key="model.divTop"/>
                    <classRef key="model.global"/>
                  </alternate>
                  <sequence minOccurs="0">
                    <alternate>
                      <sequence minOccurs="1" maxOccurs="unbounded">
                        <alternate>
                          <classRef key="model.divLike"/>
                          <classRef key="model.divGenLike"/>
                        </alternate>
                        <classRef key="model.global" minOccurs="0" maxOccurs="unbounded"/>
                      </sequence>
                      <sequence>
                        <sequence minOccurs="1" maxOccurs="unbounded">
                          <classRef key="model.common"/>
                          <classRef key="model.global" minOccurs="0" maxOccurs="unbounded"/>
                        </sequence>
                        <sequence minOccurs="0" maxOccurs="unbounded">
                          <alternate>
                            <classRef key="model.divLike"/>
                            <classRef key="model.divGenLike"/>
                          </alternate>
                          <classRef key="model.global" minOccurs="0" maxOccurs="unbounded"/>
                        </sequence>
                      </sequence>
                    </alternate>
                    <sequence minOccurs="0" maxOccurs="unbounded">
                      <classRef key="model.divBottom"/>
                      <classRef key="model.global" minOccurs="0" maxOccurs="unbounded"/>
                    </sequence>
                  </sequence>
                </sequence>
              <!--                 
                <classRef key="model.divLike" minOccurs="1" maxOccurs="unbounded"/>
-->              
              <!--</alternate>-->
            </content>
            <constraintSpec ident="jtei.sch-body" scheme="schematron" xml:lang="en">
              <constraint>
                <sch:rule context="tei:body[child::tei:div[not(@type=('editorialIntroduction'))]]">
                  <sch:assert test="count(child::tei:div) gt 1"
                    see="https://tei-c.org/release/doc/tei-p5-exemplars/html/tei_jtei.doc.html#body">
                    If <sch:name/> contains a div, and that div is not an editorial introduction, then there should be 
                    more than one div. Rather than using only a single div, you may place the content directly
                    in the <sch:name/> element.
                  </sch:assert>
                </sch:rule>
              </constraint>
            </constraintSpec>
          </elementSpec>
          <elementSpec ident="back" module="textstructure" mode="change">
            <constraintSpec ident="jtei.sch-back" scheme="schematron" xml:lang="en">
              <constraint>
                <sch:rule context="tei:back">
                  <sch:assert test="tei:div[@type='bibliography']/tei:listBibl"
                    see="https://tei-c.org/release/doc/tei-p5-exemplars/html/tei_jtei.doc.html#back">
                    <sch:name/> must have a bibliography (div[@type="bibliography"]), which must be
                    organized inside a &lt;listBibl&gt; element. </sch:assert>
                </sch:rule>
              </constraint>
            </constraintSpec>
          </elementSpec>

          <elementSpec ident="tag" module="tagdocs" mode="change">
            <constraintSpec ident="jtei.sch-tag" scheme="schematron" xml:lang="en">
              <constraint>
                <sch:rule context="tei:tag">
                  <sch:assert test="not(matches(., '^[&lt;!?-]|[&gt;/?\-]$'))"
                    see="https://tei-c.org/release/doc/tei-p5-exemplars/html/tei_jtei.doc.html#inline_technical">
                    Tag delimiters such as angle brackets and tag-closing slashes are not allowed for <sch:name/>: they are completed at processing time via XSLT.
                  </sch:assert>
                </sch:rule>
              </constraint>
            </constraintSpec>
          </elementSpec>
          
          <elementSpec ident="val" module="tagdocs" mode="change">
            <constraintSpec ident="jtei.sch-val" scheme="schematron" xml:lang="en">
              <constraint>
                <sch:rule context="tei:val">
                  <sch:assert test="not(matches(., concat('^', $quotes, '|', $quotes, '$')))"
                    see="https://tei-c.org/release/doc/tei-p5-exemplars/html/tei_jtei.doc.html#inline_technical">
                    Attribute value delimiters are not allowed for <sch:name/>: they are completed at processing time via XSLT.
                  </sch:assert>
                </sch:rule>
              </constraint>
            </constraintSpec>
          </elementSpec>
          <elementSpec ident="supplied" module="transcr" mode="change">
            <constraintSpec ident="jtei.sch-supplied" scheme="schematron" xml:lang="en">
              <constraint>
                <sch:rule context="tei:supplied">
                  <sch:assert test="not(matches(., '^\[|\]$'))"
                    see="https://tei-c.org/release/doc/tei-p5-exemplars/html/tei_jtei.doc.html#inline_rhetorical">
                    Please remove square brackets from <sch:name/>: they are completed at processing time via XSLT.
                  </sch:assert>
                </sch:rule>
              </constraint>
            </constraintSpec>
          </elementSpec>
          
          <elementSpec ident="idno" module="header" mode="change">
            <constraintSpec ident="jtei.sch-doi-order" scheme="schematron" xml:lang="en">
              <constraint>
                <sch:rule context="tei:back/tei:div[@type eq 'bibliography']//tei:idno[@type eq 'doi']">
                  <sch:report test="following-sibling::tei:ref"
                    see="https://tei-c.org/release/doc/tei-p5-exemplars/html/tei_jtei.doc.html#back">
                    If a bibliographic entry has a formal DOI code, it should be placed at the very end of the bibliographic description.
                  </sch:report>
                </sch:rule>
              </constraint>
            </constraintSpec>
          </elementSpec>
          <elementSpec ident="graphic" module="core" mode="change">
            <constraintSpec ident="jtei.sch-graphic-dimensions" scheme="schematron" xml:lang="en">
              <constraint>
                <sch:rule context="tei:graphic">
                  <sch:assert test="matches(@width, '\d+px') and matches(@height, '\d+px')"
                    see="https://tei-c.org/release/doc/tei-p5-exemplars/html/tei_jtei.doc.html#figures">
                    Width and height in pixels must be specified for any <sch:name/>.
                  </sch:assert>
                </sch:rule>
              </constraint>
            </constraintSpec>
            <constraintSpec ident="jtei.sch-graphic-context" scheme="schematron" xml:lang="en">
              <constraint>
                <sch:rule context="tei:graphic">
                  <sch:assert test="parent::tei:figure" see="https://tei-c.org/release/doc/tei-p5-exemplars/html/tei_jtei.doc.html#figures">
                    <sch:name/> may only occur inside &lt;figure&gt;. </sch:assert>
                </sch:rule>
              </constraint>
            </constraintSpec>
          </elementSpec>
          <elementSpec ident="front" module="textstructure" mode="change">
            <constraintSpec ident="jtei.sch-front-abstract" scheme="schematron" xml:lang="en">
              <constraint>
                <sch:rule context="tei:front">
                  <sch:assert test="tei:div[@type='abstract']"
                    see="https://tei-c.org/release/doc/tei-p5-exemplars/html/tei_jtei.doc.html#front">
                    <sch:name/> must have an abstract (div[@type='abstract']).
                  </sch:assert>
                </sch:rule>
              </constraint>
            </constraintSpec>            
          </elementSpec>
          <elementSpec ident="table" module="figures" mode="change">
            <constraintSpec ident="jtei.sch-table" scheme="schematron" xml:lang="en">
              <constraint>
                <sch:rule context="tei:table">
                  <sch:assert test="not(ancestor::tei:list)"
                    see="https://tei-c.org/release/doc/tei-p5-exemplars/html/tei_jtei.doc.html#lists"> No tables are allowed inside
                    lists. </sch:assert>
                </sch:rule>
              </constraint>
            </constraintSpec>
          </elementSpec>
          <elementSpec ident="gap" module="core" mode="change">
            <constraintSpec ident="jtei.sch-gap" scheme="schematron" xml:lang="en">
              <constraint>
                <sch:rule context="tei:gap">
                  <sch:report
                    test="following-sibling::node()[1][self::text()] and starts-with(following-sibling::node()[1], '.')"
                    see="https://tei-c.org/release/doc/tei-p5-exemplars/html/tei_jtei.doc.html#inline_rhetorical"
                    >
                    A <sch:name/> element should follow a period rather than precede it when an ellipsis follows the end of a sentence.
                  </sch:report>
                </sch:rule>
              </constraint>
            </constraintSpec>
            <constraintSpec ident="jtei.sch-gap-ws" scheme="schematron" xml:lang="en">
              <constraint>
                <sch:rule context="tei:gap">
                  <sch:report
                    test="preceding-sibling::node()[1][self::text()][matches(., '\.\s+$')]"
                    see="https://tei-c.org/release/doc/tei-p5-exemplars/html/tei_jtei.doc.html#inline_rhetorical">
                    A <sch:name/> should follow a period directly, without preceding whitespace.
                  </sch:report>
                </sch:rule>
              </constraint>
            </constraintSpec>
          </elementSpec>
          
          <constraintSpec ident="jtei.sch-straightApos" scheme="schematron" xml:lang="en">
            <constraint>
              <sch:rule context="text()[not(ancestor::tei:eg|ancestor::eg:egXML|ancestor::tei:code|ancestor::tei:tag|ancestor::tei:mentioned)]">
                <sch:report test="matches(., $apos.straight)" 
                            sqf:fix="apostrophe.replace"
                            see="https://tei-c.org/release/doc/tei-p5-exemplars/html/tei_jtei.doc.html#faq"
                            >
                  "Straight apostrophe" characters are not permitted. Please use the
                  Right Single Quotation Mark (U+2019 or ’) character instead. On the other hand, if the straight 
                  apostrophe characters function as quotation marks, please replace them with appropriate mark-up 
                  that will ensure the appropriate quotation marks will be generated consistently.
                </sch:report>
                <sqf:fix id="apostrophe.replace">
                  <sqf:description>
                    <sqf:title>Replace straight apostrophe with ’.</sqf:title>
                  </sqf:description>
                  <sqf:stringReplace regex="{$apos.straight}">’</sqf:stringReplace>
                </sqf:fix>
              </sch:rule>
            </constraint>
          </constraintSpec>
          <constraintSpec ident="jtei.sch-LRquotes" scheme="schematron" xml:lang="en">
            <constraint>
              <sch:rule context="text()[not(ancestor::tei:eg|ancestor::eg:egXML|ancestor::tei:code|ancestor::tei:tag)][matches(., $apos.typographic)]" role="warning">
                <sch:report test="matches(., '\W[’]\D') or matches(., '[‘](\W|$)') or matches(., '\w[‘]\w')"
                            
                  see="https://tei-c.org/release/doc/tei-p5-exemplars/html/tei_jtei.doc.html#faq">
                  Left and Right Single Quotation Marks should be used in the right place. Please check their placement in this text node.

                </sch:report>
              </sch:rule>
            </constraint>
          </constraintSpec>
          <constraintSpec ident="jtei.sch-quotationMarks" scheme="schematron" xml:lang="en">
            <constraint>
              <sch:rule context="text()[not(ancestor::tei:eg|ancestor::eg:egXML|ancestor::tei:code|ancestor::tei:tag)]">
                <sch:report
                  test="matches(., $double.quotes) or matches(., '(^|\W)[‘][^‘’]+[’](\W|$)')"
                  see="https://tei-c.org/release/doc/tei-p5-exemplars/html/tei_jtei.doc.html#faq">
                  Quotation marks are not permitted in plain text. Please use appropriate mark-up that will ensure the appropriate quotation marks will be generated consistently.
                </sch:report>
              </sch:rule>
            </constraint>
          </constraintSpec>
          <constraintSpec ident="jtei.sch-doubleHyphens" scheme="schematron" xml:lang="en">
            <constraint>
              <sch:rule context="text()[not(ancestor::tei:eg|ancestor::eg:egXML|ancestor::tei:code|ancestor::tei:tag|ancestor::tei:ref)]">
                <sch:assert test="not(contains(., '--'))" sqf:fix="dash.replace">
                  Double hyphens should not be used for dashes. Please use 
                  the EM Dash (U+2014 or —) instead.
                </sch:assert>
                <sqf:fix id="dash.replace">
                  <sqf:description>
                    <sqf:title>Replace double hyphens with —.</sqf:title>
                  </sqf:description>
                  <sqf:stringReplace regex="--">—</sqf:stringReplace>
                </sqf:fix>
              </sch:rule>
            </constraint>
          </constraintSpec>
          <constraintSpec ident="jtei.sch-rangeHyphen" scheme="schematron" xml:lang="en">
            <constraint>
              <sch:rule context="text()[not(ancestor::tei:eg|ancestor::eg:egXML|ancestor::tei:code|ancestor::tei:tag|ancestor::tei:idno|ancestor::tei:date)]">
                <sch:assert test="not(matches(., '(^|[\W-[-]])\d+-\d+([\W-[-]]|$)'))" sqf:fix="hyphen.replace">
                  Numeric ranges should not be indicated with a hyphen. Please use 
                  the EN Dash (U+2013 or –) character instead.
                </sch:assert>
                <sqf:fix id="hyphen.replace">
                  <sqf:description>
                    <sqf:title>Replace hyphen with –.</sqf:title>
                  </sqf:description>
                  <sqf:stringReplace regex="((^|[\W-[-]])\d+)-(\d+([\W-[-]]|$))">$1–$3</sqf:stringReplace>
                </sqf:fix>
              </sch:rule>
            </constraint>
          </constraintSpec>
          <constraintSpec ident="jtei.sch-ieEg" scheme="schematron" xml:lang="en">
            <constraint>
              <sch:rule context="text()[not(ancestor::tei:eg|ancestor::eg:egXML|ancestor::tei:code|ancestor::tei:tag)]">
                <sch:report test="matches(., '(i\.e\.|e\.g\.)[^,]', 'i')" sqf:fix="comma.add">
                  You should put a comma after "i.e." and "e.g.". 
                </sch:report>
                <sqf:fix id="comma.add">
                  <sqf:description>
                    <sqf:title>Add a comma.</sqf:title>
                  </sqf:description>
                  <sqf:stringReplace regex="([iI]\.[eE]\.|[eE]\.[gG]\.)([^,])">$1,$2</sqf:stringReplace>
                </sqf:fix>
              </sch:rule>
            </constraint>
          </constraintSpec>
          <constraintSpec ident="jtei.sch-nonbreakingspace" scheme="schematron" xml:lang="en">
            <constraint>
              <sch:rule role="warning" context="text()[not(ancestor::tei:eg|ancestor::eg:egXML|ancestor::tei:code|ancestor::tei:tag)]">
                <sch:report test="matches(., '&#160;')" sqf:fix="nonbreakingspace.remove">
                  This text contains a non-breaking space character. Please consider changing this to a normal space character.
                </sch:report>
                <sqf:fix id="nonbreakingspace.remove">
                  <sqf:description>
                    <sqf:title>Normalize non-breaking space to normal space character.</sqf:title>
                  </sqf:description>
                  <!-- using XPath replace(), as sqf:stringReplace has problems matching literal character entities -->
                  <sqf:replace match="." select="replace(., '&#160;', '&#32;')"/>
                </sqf:fix>
              </sch:rule>
            </constraint>
          </constraintSpec>
          <constraintSpec ident="jtei.sch-localLinkTarget" scheme="schematron" xml:lang="en">
            <constraint>
              <sch:rule context="@*[self::attribute(corresp)|self::attribute(target)|self::attribute(from)|self::attribute(to)|self::attribute(ref)|self::attribute(rendition)|self::attribute(resp)|self::attribute(source)][not(ancestor::eg:egXML)][some $i in tokenize(., '\s+') satisfies starts-with($i, '#')]">
                <sch:let name="orphan.pointers"
                  value="for $p in tokenize(., '\s+')[starts-with(., '#')] return if (not(id(substring-after($p, '#')))) then $p else ()"/>
                <sch:report test="exists($orphan.pointers)">
                  There's no local target for <sch:value-of select="if (count($orphan.pointers) > 1) then 'these pointers' else 'this pointer'"/>: <sch:value-of select="string-join($orphan.pointers, ', ')"/>. Please make sure you're referring to an existing @xml:id value.
                </sch:report>
              </sch:rule>
            </constraint>
          </constraintSpec>
          <constraintSpec ident="jtei.sch-renditionTarget" scheme="schematron" xml:lang="en">
            <constraint>
              <sch:rule context="@rendition">
                <sch:let name="orphan.pointers"
                  value="for $p in tokenize(., '\s+')[starts-with(., '#')] return for $id in id(substring-after($p, '#'))[not(self::tei:rendition)] return $p"/>
                <sch:report test="exists($orphan.pointers)">
                  <sch:value-of select="if (count($orphan.pointers) > 1) then 'These pointers don''t' else 'This pointer doesn''t'"/> point to a &lt;rendition&gt; target: <sch:value-of select="string-join($orphan.pointers, ', ')"/>.
                </sch:report>
              </sch:rule>
            </constraint>
          </constraintSpec>
          <constraintSpec ident="jtei.sch-quoteDelim" scheme="schematron" xml:lang="en">
            <constraint>
              <sch:rule context="tei:title[@level eq 'a']|tei:mentioned|tei:soCalled|tei:quote|tei:q">
                <sch:assert test="not(matches(., concat('^', $double.quotes, '|', $double.quotes, '$')))" sqf:fix="quotation.remove">
                  Quotation mark delimiters are not allowed for <sch:name/>: they are completed at processing time via XSLT.
                </sch:assert>
                <sqf:fix id="quotation.remove">
                  <sqf:description>
                    <sqf:title>Remove quotation marks.</sqf:title>
                  </sqf:description>
                  <sqf:replace match="text()" select="replace(., concat('^', $double.quotes, '|', $double.quotes, '$'), '')"/>
                </sqf:fix>
              </sch:rule>
            </constraint>
          </constraintSpec>
          <constraintSpec ident="jtei.sch-crossref-id" scheme="schematron" xml:lang="en">
            <constraint>
              <sch:rule context="tei:body//tei:div[not(@type='editorialIntroduction')]|tei:figure|tei:table"
                role="warning">
                <sch:assert test="@xml:id">
                  You're strongly advised to add an @xml:id attribute to <sch:name/> to ease formal cross-referencing 
                  with (ptr|ref)[@type='crossref']
                </sch:assert>
              </sch:rule>
            </constraint>
          </constraintSpec>
          <constraintSpec ident="jtei.sch-formalCrossref" scheme="schematron" xml:lang="en">
            <constraint>
              <sch:rule context="text()[not(ancestor::tei:eg|ancestor::eg:egXML|ancestor::tei:code|ancestor::tei:tag|ancestor::tei:ref[not(@type='crossref')])]"
                role="warning">
                <sch:assert test="not(matches(., '(table|figure|example|section) \d+([.,]\d+)* ((above)|(below))', 'i'))">
                  Please replace literal references to tables, figures, examples, and sections with a formal crosslink:
                  (ptr|ref)[@type="crossref"]
                </sch:assert>
              </sch:rule>
            </constraint>
          </constraintSpec>
          <constraintSpec ident="jtei.sch-crossrefTargetType" scheme="schematron" xml:lang="en">
            <constraint>
              <sch:rule context="tei:ptr[@type='crossref']|tei:ref[@type='crossref']">
                <sch:let name="orphan.pointers"
                  value="for $p in tokenize(@target, '\s+')[starts-with(., '#')] return for $id in id(substring-after($p, '#'))[not(self::tei:div or self::tei:figure or self::tei:table or self::tei:note)] return $p"/>
                <sch:report test="exists($orphan.pointers)">
                  Cross-links (<sch:name/>[@type="crossref"]) should be targeted at &lt;div&gt;, &lt;figure&gt;, &lt;table&gt;, or &lt;note&gt;
                  elements. The target of <sch:value-of select="if (count($orphan.pointers) > 1) then 'these pointers' else 'this pointer'"/> doesn't satisfy this condition: <sch:value-of select="string-join($orphan.pointers, ', ')"/>.
                </sch:report>
              </sch:rule>
            </constraint>
          </constraintSpec>
          <constraintSpec ident="jtei.sch-crossrefType" scheme="schematron" xml:lang="en">
            <constraint>
              <sch:rule context="tei:ptr[not(@type='crossref')]|tei:ref[not(@type='crossref')]">
                <sch:report test="id(substring-after(@target, '#'))/(self::tei:div|self::tei:figure|self::tei:table)" sqf:fix="crossreftype.add">
                  Please type internal cross-references as 'crossref' (<sch:name/>[@type="crossref"]).
                </sch:report>
                <sqf:fix id="crossreftype.add">
                  <sqf:description>
                    <sqf:title>Add @type='crossref'.</sqf:title>
                  </sqf:description>
                  <sqf:add match="." node-type="attribute" target="type" select="'crossref'"/>
                </sqf:fix>
              </sch:rule>
            </constraint>
          </constraintSpec>
          <constraintSpec ident="jtei.sch-centuries" scheme="schematron" xml:lang="en">
            <constraint>
              <sch:rule context="text()[not(ancestor::tei:quote or ancestor::tei:title)]">
                <sch:assert test="not(matches(., '\d\d?((th)|(st)|(rd)|(nd))[- ]centur((y)|(ies))', 'i'))">
                  Centuries such as "the nineteenth century" should be spelled out, not written with digits.
                </sch:assert>
              </sch:rule>
            </constraint>
          </constraintSpec>
          <constraintSpec ident="jtei.sch-teiVersion" scheme="schematron" xml:lang="en">
            <constraint>
              <sch:rule context="@target[matches(., '^https?://(www\.)?tei-c\.org/release/doc/tei-p5-doc')]">
                <sch:assert test="false()" sqf:fix="teiURL.fix">
                  Please refer to the exact version of the TEI Guidelines<sch:value-of select="if (normalize-space($tei.version)) then concat(' (currently at version ', $tei.version, ')') else ()"/>, and link to the version that can be found in the Vault section. For an overview of all archived versions, see https://www.tei-c.org/Vault/P5/.
                  
                  If you're referring to the English version, the correct URL will likely take the form of https://www.tei-c.org/Vault/P5/{$version-number}/doc/tei-p5-doc/en/html/.
                </sch:assert>
                <sqf:fix id="teiURL.fix" use-when="normalize-space($tei.version)">
                  <sqf:description>
                    <sqf:title>Change TEI URL to a versioned URL in the Vault (currently at version <sch:value-of select="$tei.version"/>).</sqf:title>
                  </sqf:description>
                  <sqf:replace node-type="attribute"
                    target="target"
                    select="replace(., '^https?://(www\.)?tei-c\.org/release/', concat('https://www.tei-c.org/Vault/P5/', $tei.version, '/'))"/>
                </sqf:fix>
              </sch:rule>
            </constraint>
          </constraintSpec>
          <constraintSpec ident="jtei.jtei-url" scheme="schematron" xml:lang="en">
            <constraint>
              <sch:rule context="@target[matches(., '^https?://(www\.)?jtei\.revues\.org/?')]" role="warning">
                <sch:let name="URL.fixed" value="replace(., '^https?://(www\.)?jtei\.revues\.org/?', 'https://journals.openedition.org/jtei/')"/>
                <sch:assert test="false()" sqf:fix="jteiURL.fix">
                  Please refer to the correct jTEI URL: <sch:value-of select="$URL.fixed"/>.
                </sch:assert>
                <sqf:fix id="jteiURL.fix">
                  <sqf:description>
                    <sqf:title>Change jTEI URL to <sch:value-of select="$URL.fixed"/>.</sqf:title>
                  </sqf:description>
                  <sqf:replace node-type="attribute" target="target" select="$URL.fixed"/>
                </sqf:fix>
              </sch:rule>
            </constraint>
          </constraintSpec>
        </schemaSpec>
      </div>
    </back>


  </text>
</TEI>

