https://github.com/TEIC/TEI
Raw File
Tip revision: 347c64fac3fa1a64ade0d8d1842813d4b8f7acec authored by Hugh Cayless on 12 May 2017, 16:57:59 UTC
Updates.
Tip revision: 347c64f
ref-schemaSpec.html

<!DOCTYPE html
  SYSTEM "about:legacy-compat">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><!--THIS FILE IS GENERATED FROM AN XML MASTER. DO NOT EDIT (7)--><title>TEI element schemaSpec (schema specification) </title><meta property="Language" content="en" /><meta property="DC.Title" content="TEI element schemaSpec (schema specification) " /><meta property="DC.Language" content="SCHEME=iso639 en" /><meta property="DC.Creator.Address" content="tei@oucs.ox.ac.uk" /><meta charset="utf-8" /><link href="guidelines.css" rel="stylesheet" type="text/css" /><link href="odd.css" rel="stylesheet" type="text/css" /><link rel="stylesheet" media="print" type="text/css" href="guidelines-print.css" /><script type="text/javascript" src="jquery-1.2.6.min.js"></script><script type="text/javascript" src="columnlist.js"></script><script type="text/javascript" src="popupFootnotes.js"></script><script type="text/javascript">
        $(function() {
         $('ul.attrefs-class').columnizeList({cols:3,width:30,unit:'%'});
         $('ul.attrefs-element').columnizeList({cols:3,width:30,unit:'%'});
         $(".displayRelaxButton").click(function() {
           $(this).parent().find('.RNG_XML').toggle();
           $(this).parent().find('.RNG_Compact').toggle();
         });
         $(".tocTree .showhide").click(function() {
          $(this).find(".tocShow,.tocHide").toggle();
          $(this).parent().find("ul.continuedtoc").toggle();
	  });
        })
    </script><script type="text/javascript"><!--
var displayXML=0;
states=new Array()
states[0]="element-a"
states[1]="element-b"
states[2]="element-c"
states[3]="element-d"
states[4]="element-e"
states[5]="element-f"
states[6]="element-g"
states[7]="element-h"
states[8]="element-i"
states[9]="element-j"
states[10]="element-k"
states[11]="element-l"
states[12]="element-m"
states[13]="element-n"
states[14]="element-o"
states[15]="element-p"
states[16]="element-q"
states[17]="element-r"
states[18]="element-s"
states[19]="element-t"
states[20]="element-u"
states[21]="element-v"
states[22]="element-w"
states[23]="element-x"
states[24]="element-y"
states[25]="element-z"

function startUp() {

}

function hideallExcept(elm) {
for (var i = 0; i < states.length; i++) {
 var layer;
 if (layer = document.getElementById(states[i]) ) {
  if (states[i] != elm) {
    layer.style.display = "none";
  }
  else {
   layer.style.display = "block";
      }
  }
 }
 var mod;
 if ( mod = document.getElementById('byMod') ) {
     mod.style.display = "none";
 }
}

function showall() {
 for (var i = 0; i < states.length; i++) {
   var layer;
   if (layer = document.getElementById(states[i]) ) {
      layer.style.display = "block";
      }
  }
}

function showByMod() {
  hideallExcept('');
  var mod;
  if (mod = document.getElementById('byMod') ) {
     mod.style.display = "block";
     }
}

	--></script></head><body id="TOP"><div id="container"><div id="banner"><img src="Images/banner.jpg" alt="Text Encoding Initiative logo and banner" /></div></div><div class="mainhead"><h1>P5: 
    Guidelines for Electronic Text Encoding and Interchange</h1><p>Version 3.1.1a. Last updated on
	10th May 2017, revision bd8dda3</p></div><div class="main-content"><div class="miniTOC miniTOC_right"><ul class="subtoc"><li class="subtoc"></li><li class="subtoc"></li><li class="subtoc"><a class="navigation" href="index.html">Home</a></li><li class="subtoc"><a class="navigation" href="REF-ELEMENTS.html">C Elements</a></li></ul></div><div><h3 class="oddSpec" id="schemaSpec">&lt;schemaSpec&gt;</h3><table class="wovenodd"><tr><td colspan="2" class="wovenodd-col2"><span class="label">&lt;schemaSpec&gt; </span>(schema specification) generates a TEI-conformant schema and documentation for it. [<a class="link_ptr" href="HD.html#HD5" title="The Encoding Description"><span class="headingNumber">2.3 </span>The Encoding Description</a> <a class="link_ptr" href="TD.html#TDmodules" title="Modules and Schemas"><span class="headingNumber">22.2 </span>Modules and Schemas</a> <a class="link_ptr" href="USE.html#IM-unified" title="Making a Unified ODD"><span class="headingNumber">23.5.1 </span>Making a Unified ODD</a>]</td></tr><tr><td class="wovenodd-col1"><span class="label" lang="en">Module</span></td><td class="wovenodd-col2">tagdocs — Documentation Elements</td></tr><tr><td class="wovenodd-col1"><span class="label" lang="en">Attributes</span></td><td class="wovenodd-col2"><a class="link_odd" title="provides attributes common to all elements in the TEI encoding scheme." href="ref-att.global.html">att.global</a> (<span class="attribute">@xml:id</span>, <span class="attribute">@n</span>, <span class="attribute">@xml:lang</span>, <span class="attribute">@xml:base</span>, <span class="attribute">@xml:space</span>)  (<a class="link_odd" title="provides rendering attributes common to all elements in the TEI encoding scheme." href="ref-att.global.rendition.html">att.global.rendition</a> (<span class="attribute">@rend</span>, <span class="attribute">@style</span>, <span class="attribute">@rendition</span>))  (<a class="link_odd" title="provides a set of attributes for hypertextual linking." href="ref-att.global.linking.html">att.global.linking</a> (<span class="attribute">@corresp</span>, <span class="attribute">@synch</span>, <span class="attribute">@sameAs</span>, <span class="attribute">@copyOf</span>, <span class="attribute">@next</span>, <span class="attribute">@prev</span>, <span class="attribute">@exclude</span>, <span class="attribute">@select</span>))  (<a class="link_odd" title="provides additional global attributes for associating specific analyses or interpretations with appropriate portions of a text." href="ref-att.global.analytic.html">att.global.analytic</a> (<span class="attribute">@ana</span>))  (<a class="link_odd" title="provides an attribute used to express correspondence between an element containing transcribed text and all or part of an image representing that text." href="ref-att.global.facs.html">att.global.facs</a> (<span class="attribute">@facs</span>))  (<a class="link_odd" title="supplies the @change attribute, allowing its member elements to specify one or more states or revision campaigns with which they are associated." href="ref-att.global.change.html">att.global.change</a> (<span class="attribute">@change</span>))  (<a class="link_odd" title="provides attributes indicating the agent responsible for some aspect of the text, the markup or something asserted by the markup, and the degree of certainty associated with it." href="ref-att.global.responsibility.html">att.global.responsibility</a> (<span class="attribute">@cert</span>, <span class="attribute">@resp</span>))  (<a class="link_odd" title="provides an attribute used by elements to point to an external source." href="ref-att.global.source.html">att.global.source</a> (<span class="attribute">@source</span>)) <a class="link_odd" title="provides the identifying attribute for elements which can be subsequently referenced by means of a @key attribute." href="ref-att.identified.html">att.identified</a> (<span class="attribute">@ident</span>, <span class="attribute">@predeclare</span>, <span class="attribute">@module</span>)  (<a class="link_odd" title="provides attributes indicating how multiple references to the same object in a schema should be combined" href="ref-att.combinable.html">att.combinable</a> (<span class="attribute">@mode</span>) (<a class="link_odd" title="provides attributes indicating how a deprecated feature will be treated in future releases." href="ref-att.deprecated.html">att.deprecated</a> (<span class="attribute">@validUntil</span>)) ) <a class="link_odd" title="provides an attribute indicating the target namespace for an object being created" href="ref-att.namespaceable.html">att.namespaceable</a> (<span class="attribute">@ns</span>) <a class="link_odd" title="provides attributes for use on metadata elements describing the status of a document." href="ref-att.docStatus.html">att.docStatus</a> (<span class="attribute">@status</span>) <table class="attList"><tr><td class="odd_label">start<span class="bookmarklink"><a class="bookmarklink" id="tei_att.start" href="#tei_att.start" title="link to this attribute "><span class="invisible"> start</span><span class="pilcrow">¶</span></a></span></td><td class="odd_value">specifies entry points to the schema, i.e. which patterns may be used as the root of documents conforming to it.<table class="attDef"><tr><td class="odd_label"><span class="label" lang="en">Status</span> </td><td class="odd_value"><span lang="en">Optional</span></td></tr><tr><td class="odd_label"><span lang="en" class="label">Datatype</span> </td><td class="odd_value"> 1–∞ <span lang="en">occurrences of</span> <a class="link_element" href="ref-teidata.name.html">teidata.name</a> <span lang="en">separated by whitespace</span></td></tr><tr><td class="odd_label"><span lang="en" class="label">Default</span> </td><td class="odd_value">TEI</td></tr></table></td></tr><tr><td class="odd_label">prefix<span class="bookmarklink"><a class="bookmarklink" id="tei_att.prefix" href="#tei_att.prefix" title="link to this attribute "><span class="invisible"> prefix</span><span class="pilcrow">¶</span></a></span></td><td class="odd_value">specifies a default prefix which will be prepended to all patterns relating to TEI elements, unless otherwise stated.<table class="attDef"><tr><td class="odd_label"><span class="label" lang="en">Status</span> </td><td class="odd_value"><span lang="en">Optional</span></td></tr><tr><td class="odd_label"><span lang="en" class="label">Datatype</span> </td><td class="odd_value"> 0–1 <span lang="en">occurrences of</span> <a class="link_element" href="ref-teidata.xmlName.html">teidata.xmlName</a> <span lang="en">separated by whitespace</span></td></tr><tr><td class="wovenodd-col1"><span class="label" lang="en">Note</span></td><td class="wovenodd-col2"><!-- --><p>Use of this attribute allows an external schema which has an element with the same local name as a TEI element to be mixed in.</p></td></tr></table></td></tr><tr><td class="odd_label">targetLang<span class="bookmarklink"><a class="bookmarklink" id="tei_att.targetLang" href="#tei_att.targetLang" title="link to this attribute "><span class="invisible"> targetLang</span><span class="pilcrow">¶</span></a></span></td><td class="odd_value">(target language) specifies which language to use when creating the objects in a schema if names for elements or attributes are available in more than one language<table class="attDef"><tr><td class="odd_label"><span class="label" lang="en">Status</span> </td><td class="odd_value"><span lang="en">Optional</span></td></tr><tr><td class="odd_label"><span lang="en" class="label">Datatype</span> </td><td class="odd_value"><a class="link_element" href="ref-teidata.language.html">teidata.language</a></td></tr></table></td></tr><tr><td class="odd_label">docLang<span class="bookmarklink"><a class="bookmarklink" id="tei_att.docLang" href="#tei_att.docLang" title="link to this attribute "><span class="invisible"> docLang</span><span class="pilcrow">¶</span></a></span></td><td class="odd_value">(documentation language) specifies which languages to use when creating documentation if the description for an element, attribute, class or macro is available in more than one language<table class="attDef"><tr><td class="odd_label"><span class="label" lang="en">Status</span> </td><td class="odd_value"><span lang="en">Optional</span></td></tr><tr><td class="odd_label"><span lang="en" class="label">Datatype</span> </td><td class="odd_value"> 1–∞ <span lang="en">occurrences of</span> <a class="link_element" href="ref-teidata.language.html">teidata.language</a> <span lang="en">separated by whitespace</span></td></tr></table></td></tr><tr><td class="odd_label">defaultExceptions<span class="bookmarklink"><a class="bookmarklink" id="tei_att.defaultExceptions" href="#tei_att.defaultExceptions" title="link to this attribute "><span class="invisible"> defaultExceptions</span><span class="pilcrow">¶</span></a></span></td><td class="odd_value">(default namespace exclusions) provides a list of namespaces and/or prefixed element names to be excluded by default from anyName in RelaxNG schemas<table class="attDef"><tr><td class="odd_label"><span class="label" lang="en">Status</span> </td><td class="odd_value"><span lang="en">Recommended</span></td></tr><tr><td class="odd_label"><span lang="en" class="label">Datatype</span> </td><td class="odd_value"> 1–∞ <span lang="en">occurrences of</span> <a class="link_element" href="ref-teidata.namespaceOrName.html">teidata.namespaceOrName</a> <span lang="en">separated by whitespace</span></td></tr><tr><td class="odd_label"><span lang="en" class="label">Default</span> </td><td class="odd_value">http://www.tei-c.org/ns/1.0 teix:egXML</td></tr><tr><td class="wovenodd-col1"><span class="label" lang="en">Note</span></td><td class="wovenodd-col2"><!-- --><p>Specifies defaults for the <span class="att">except</span> attribute of <a class="gi" title="indicates the presence of any elements in a content model" href="ref-anyElement.html">anyElement</a>. RelaxNG validation (unless DTD Compatibility Mode is turned off) requires that any elements which may take an <span class="att">xml:id</span> be excluded from the content of <code>anyName</code> name classes. For normal TEI purposes, this includes anything in the TEI namespace and the <a class="gi" title="(example of XML) a single XML fragment demonstrating the use of some XML, such as elements, attributes, or processing instructions, etc., in which the &lt;egXML&gt; element functions as the root element." href="ref-egXML.html">egXML</a> element. The <span class="att">defaultExceptions</span> attribute sets the global defaults for these exclusions. Element prefixes must be declared using a namespace declaration on the parent or an ancestor element.</p></td></tr></table></td></tr></table></td></tr><tr><td class="wovenodd-col1"><span class="label" lang="en">Member of</span></td><td class="wovenodd-col2"><div class="parent"><a class="link_odd_classSpec" title="groups paragraph-level elements appearing directly within divisions." href="ref-model.divPart.html">model.divPart</a> <a class="link_odd_classSpec" title="groups elements which may be used inside &lt;encodingDesc&gt; and appear multiple times." href="ref-model.encodingDescPart.html">model.encodingDescPart</a></div></td></tr><tr><td class="wovenodd-col1"><span class="label" lang="en">Contained by</span></td><td class="wovenodd-col2"><div class="parent"><div class="specChildren"><div class="specChild"><span class="specChildModule">core: </span><span class="specChildElements"><a class="link_odd_elementSpec" title="contains one component of a list." href="ref-item.html">item</a> <a class="link_odd_elementSpec" title="contains a note or annotation." href="ref-note.html">note</a> <a class="link_odd_elementSpec" title="(quoted) contains material which is distinguished from the surrounding text using quotation marks or a similar method, for any one of a variety of reasons including, but not limited to: direct speech or thought, technical terms or jargon, authorial distance, quotations from elsewhere, and passages that are mentioned but not used." href="ref-q.html">q</a> <a class="link_odd_elementSpec" title="(quotation) contains a phrase or passage attributed by the narrator or author to some agency external to the text." href="ref-quote.html">quote</a> <a class="link_odd_elementSpec" title="(speech or thought) indicates passages thought or spoken aloud, whether explicitly indicated in the source or not, whether directly or indirectly reported, whether by real people or fictional characters." href="ref-said.html">said</a> <a class="link_odd_elementSpec" title="(stage direction) contains any kind of stage direction within a dramatic text or fragment." href="ref-stage.html">stage</a></span></div><div class="specChild"><span class="specChildModule">drama: </span><span class="specChildElements"><a class="link_odd_elementSpec" title="(cast list) contains a single cast list or dramatis personae." href="ref-castList.html">castList</a> <a class="link_odd_elementSpec" title="contains the epilogue to a drama, typically spoken by an actor out of character, possibly in association with a particular performance or venue." href="ref-epilogue.html">epilogue</a> <a class="link_odd_elementSpec" title="contains a section of front or back matter describing how a dramatic piece is to be performed in general or how it was performed on some specific occasion." href="ref-performance.html">performance</a> <a class="link_odd_elementSpec" title="contains the prologue to a drama, typically spoken by an actor out of character, possibly in association with a particular performance or venue." href="ref-prologue.html">prologue</a> <a class="link_odd_elementSpec" title="(setting) contains a description of the setting, time, locale, appearance, etc., of the action of a play, typically found in the front matter of a printed performance text (not a stage direction)." href="ref-set.html">set</a> <a class="link_odd_elementSpec" title="describes the visual context of some part of a screen play in terms of what the spectator sees, generally independent of any dialogue." href="ref-view.html">view</a></span></div><div class="specChild"><span class="specChildModule">figures: </span><span class="specChildElements"><a class="link_odd_elementSpec" title="contains one cell of a table." href="ref-cell.html">cell</a> <a class="link_odd_elementSpec" title="groups elements representing or containing graphic information such as an illustration, formula, or figure." href="ref-figure.html">figure</a></span></div><div class="specChild"><span class="specChildModule">header: </span><span class="specChildElements"><a class="link_odd_elementSpec" title="documents a change or set of changes made during the production of a source document, or during the revision of an electronic file." href="ref-change.html">change</a> <a class="link_odd_elementSpec" title="(encoding description) documents the relationship between an electronic text and the source or sources from which it was derived." href="ref-encodingDesc.html">encodingDesc</a> <a class="link_odd_elementSpec" title="(note on hand) describes a particular style or hand distinguished within a manuscript." href="ref-handNote.html">handNote</a> <a class="link_odd_elementSpec" title="contains information about a licence or other legal agreement applicable to the text." href="ref-licence.html">licence</a> <a class="link_odd_elementSpec" title="describes a particular script distinguished within the description of a manuscript or similar resource." href="ref-scriptNote.html">scriptNote</a></span></div><div class="specChild"><span class="specChildModule">msdescription: </span><span class="specChildElements"><a class="link_odd_elementSpec" title="(accompanying material) contains details of any significant additional material which may be closely associated with the manuscript being described, such as non-contemporaneous documents or fragments bound in with the manuscript at some earlier historical period." href="ref-accMat.html">accMat</a> <a class="link_odd_elementSpec" title="contains any descriptive or other information concerning the process by which a manuscript or manuscript part entered the holding institution." href="ref-acquisition.html">acquisition</a> <a class="link_odd_elementSpec" title="contains a description of any significant additions found within a manuscript, such as marginalia or other annotations." href="ref-additions.html">additions</a> <a class="link_odd_elementSpec" title="contains a description of how the leaves or bifolia are physically arranged." href="ref-collation.html">collation</a> <a class="link_odd_elementSpec" title="contains a description of the physical condition of the manuscript." href="ref-condition.html">condition</a> <a class="link_odd_elementSpec" title="(custodial event) describes a single event during the custodial history of a manuscript." href="ref-custEvent.html">custEvent</a> <a class="link_odd_elementSpec" title="(note on decoration) contains a note describing either a decorative component of a manuscript, or a fairly homogenous class of such components." href="ref-decoNote.html">decoNote</a> <a class="link_odd_elementSpec" title="contains information concerning the manuscript's filiation, i.e. its relationship to other surviving manuscripts of the same text, its protographs, antigraphs and apographs." href="ref-filiation.html">filiation</a> <a class="link_odd_elementSpec" title="describes the numbering system or systems used to count the leaves or pages in a codex." href="ref-foliation.html">foliation</a> <a class="link_odd_elementSpec" title="describes how text is laid out on the page, including information about any ruling, pricking, or other evidence of page-preparation techniques." href="ref-layout.html">layout</a> <a class="link_odd_elementSpec" title="contains description of type of musical notation." href="ref-musicNotation.html">musicNotation</a> <a class="link_odd_elementSpec" title="contains any descriptive or other information concerning the origin of a manuscript or manuscript part." href="ref-origin.html">origin</a> <a class="link_odd_elementSpec" title="contains any descriptive or other information concerning a single identifiable episode during the history of a manuscript or manuscript part, after its creation but before its acquisition." href="ref-provenance.html">provenance</a> <a class="link_odd_elementSpec" title="contains discussion of the leaf or quire signatures found within a codex." href="ref-signatures.html">signatures</a> <a class="link_odd_elementSpec" title="describes the original source for the information contained with a manuscript description." href="ref-source.html">source</a> <a class="link_odd_elementSpec" title="contains an overview of the available information concerning some aspect of an item (for example, its intellectual content, history, layout, typography etc.) as a complement or alternative to the more detailed information carried by more specific elements." href="ref-summary.html">summary</a> <a class="link_odd_elementSpec" title="contains a description of the materials etc. which make up the physical support for the written part of a manuscript." href="ref-support.html">support</a> <a class="link_odd_elementSpec" title="contains information about any representations of the manuscript being described which may exist in the holding institution or elsewhere." href="ref-surrogates.html">surrogates</a> <a class="link_odd_elementSpec" title="describes a particular font or other significant typographic feature distinguished within the description of a printed resource." href="ref-typeNote.html">typeNote</a></span></div><div class="specChild"><span class="specChildModule">namesdates: </span><span class="specChildElements"><a class="link_odd_elementSpec" title="contains an informal description of a person's trade, profession or occupation." href="ref-occupation.html">occupation</a></span></div><div class="specChild"><span class="specChildModule">tagdocs: </span><span class="specChildElements"><a class="link_odd_elementSpec" title="(specification group) contains any convenient grouping of specifications for use within the current module." href="ref-specGrp.html">specGrp</a></span></div><div class="specChild"><span class="specChildModule">textcrit: </span><span class="specChildElements"><a class="link_odd_elementSpec" title="(lemma) contains the lemma, or base text, of a textual variation." href="ref-lem.html">lem</a> <a class="link_odd_elementSpec" title="(reading) contains a single reading within a textual variation." href="ref-rdg.html">rdg</a></span></div><div class="specChild"><span class="specChildModule">textstructure: </span><span class="specChildElements"><a class="link_odd_elementSpec" title="contains a formal list or prose description of the topics addressed by a subdivision of a text." href="ref-argument.html">argument</a> <a class="link_odd_elementSpec" title="(text body) contains the whole body of a single unitary text, excluding any front or back matter." href="ref-body.html">body</a> <a class="link_odd_elementSpec" title="(text division) contains a subdivision of the front, body, or back of a text." href="ref-div.html">div</a> <a class="link_odd_elementSpec" title="(level-1 text division) contains a first-level subdivision of the front, body, or back of a text." href="ref-div1.html">div1</a> <a class="link_odd_elementSpec" title="(level-2 text division) contains a second-level subdivision of the front, body, or back of a text." href="ref-div2.html">div2</a> <a class="link_odd_elementSpec" title="(level-3 text division) contains a third-level subdivision of the front, body, or back of a text." href="ref-div3.html">div3</a> <a class="link_odd_elementSpec" title="(level-4 text division) contains a fourth-level subdivision of the front, body, or back of a text." href="ref-div4.html">div4</a> <a class="link_odd_elementSpec" title="(level-5 text division) contains a fifth-level subdivision of the front, body, or back of a text." href="ref-div5.html">div5</a> <a class="link_odd_elementSpec" title="(level-6 text division) contains a sixth-level subdivision of the front, body, or back of a text." href="ref-div6.html">div6</a> <a class="link_odd_elementSpec" title="(level-7 text division) contains the smallest possible subdivision of the front, body or back of a text, larger than a paragraph." href="ref-div7.html">div7</a> <a class="link_odd_elementSpec" title="contains a quotation, anonymous or attributed, appearing at the start or end of a section or on a title page." href="ref-epigraph.html">epigraph</a> <a class="link_odd_elementSpec" title="contains a postscript, e.g. to a letter." href="ref-postscript.html">postscript</a></span></div><div class="specChild"><span class="specChildModule">transcr: </span><span class="specChildElements"><a class="link_odd_elementSpec" title="contains or describes any kind of graphic or written signal within a document the function of which is to determine how it should be read rather than forming part of the actual content of the document." href="ref-metamark.html">metamark</a></span></div></div></div></td></tr><tr><td class="wovenodd-col1"><span class="label" lang="en">May contain</span></td><td class="wovenodd-col2"><div class="specChildren"><div class="specChild"><span class="specChildModule">core: </span><span class="specChildElements"><a class="link_odd_elementSpec" title="(description) contains a brief description of the object documented by its parent element, typically a documentation element or an entity." href="ref-desc.html">desc</a> <a class="link_odd_elementSpec" title="identifies a phrase or word used to provide a gloss or definition for some other word or phrase." href="ref-gloss.html">gloss</a></span></div><div class="specChild"><span class="specChildModule">tagdocs: </span><span class="specChildElements"><a class="link_odd_elementSpec" title="(alternate identifier) supplies the recommended XML name for an element, class, attribute, etc. in some language." href="ref-altIdent.html">altIdent</a> <a class="link_odd_elementSpec" title="points to the specification for an attribute or model class which is to be included in a schema" href="ref-classRef.html">classRef</a> <a class="link_odd_elementSpec" title="(class specification) contains reference information for a TEI element class; that is a group of elements which appear together in content models, or which share some common attribute, or both." href="ref-classSpec.html">classSpec</a> <a class="link_odd_elementSpec" title="(constraint on schema) contains a constraint, expressed in some formal syntax, which cannot be expressed in the structural content model" href="ref-constraintSpec.html">constraintSpec</a> <a class="link_odd_elementSpec" title="identifies the datatype of an attribute value, either by referencing an item in an externally defined datatype library, or by pointing to a TEI-defined data specification" href="ref-dataRef.html">dataRef</a> <a class="link_odd_elementSpec" title="(datatype specification) documents a datatype." href="ref-dataSpec.html">dataSpec</a> <a class="link_odd_elementSpec" title="points to the specification for some element which is to be included in a schema" href="ref-elementRef.html">elementRef</a> <a class="link_odd_elementSpec" title="(element specification) documents the structure, content, and purpose of a single element type." href="ref-elementSpec.html">elementSpec</a> <a class="link_odd_elementSpec" title="(equivalent) specifies a component which is considered equivalent to the parent element, either by co-reference, or by external link." href="ref-equiv.html">equiv</a> <a class="link_odd_elementSpec" title="(list of references) supplies a list of significant references to places where this element is discussed, in the current document or elsewhere." href="ref-listRef.html">listRef</a> <a class="link_odd_elementSpec" title="points to the specification for some pattern which is to be included in a schema" href="ref-macroRef.html">macroRef</a> <a class="link_odd_elementSpec" title="(macro specification) documents the function and implementation of a pattern." href="ref-macroSpec.html">macroSpec</a> <a class="link_odd_elementSpec" title="(module reference) references a module which is to be incorporated into a schema." href="ref-moduleRef.html">moduleRef</a> <a class="link_odd_elementSpec" title="(module specification) documents the structure, content, and purpose of a single module, i.e. a named and externally visible group of declarations." href="ref-moduleSpec.html">moduleSpec</a> <a class="link_odd_elementSpec" title="describes the rendering or appearance intended for all occurrences of an element in a specified context for a specified type of output." href="ref-outputRendition.html">outputRendition</a> <a class="link_odd_elementSpec" title="(specification group) contains any convenient grouping of specifications for use within the current module." href="ref-specGrp.html">specGrp</a> <a class="link_odd_elementSpec" title="(reference to a specification group) indicates that the declarations contained by the &lt;specGrp&gt; referenced should be inserted at this point." href="ref-specGrpRef.html">specGrpRef</a></span></div></div></td></tr><tr><td class="wovenodd-col1"><span class="label" lang="en">Note</span></td><td class="wovenodd-col2"><!-- --><p>A <a class="gi" title="(schema specification) generates a TEI-conformant schema and documentation for it." href="ref-schemaSpec.html">schemaSpec</a> combines references to modules, individual element or macro declarations, and specification groups together to form a unified schema. The processing of the <a class="gi" title="(schema specification) generates a TEI-conformant schema and documentation for it." href="ref-schemaSpec.html">schemaSpec</a> element must resolve any conflicts amongst the declarations it contains or references. Different ODD processors may generate schemas and documentation using different concrete syntaxes.</p><p>The source may be specified in the form of a private URI, for which the form recommended is <code>tei:x.y.z</code>, where <code>x.y.z</code> indicates the version number, e.g. <code>tei:1.5.1</code> for 1.5.1 release of TEI P5 or (as a special case) <code>tei:current</code> for whatever is the latest release. The context indicated must provide a set of TEI-conformant specifications in a form directly usable by an ODD processor. By default, this will be the location of the current release of the TEI Guidelines.</p></td></tr><tr><td class="wovenodd-col1"><span class="label" lang="en">Example</span></td><td class="wovenodd-col2"><div id="index-egXML-d52e142556" class="pre egXML_valid"><span class="element">&lt;schemaSpec <span class="attribute">prefix</span>="<span class="attributevalue">TEI_</span>" <span class="attribute">ident</span>="<span class="attributevalue">testsvg</span>"<br /> <span class="attribute">start</span>="<span class="attributevalue">TEI svg</span>"&gt;</span><br /> <span class="element">&lt;moduleRef <span class="attribute">source</span>="<span class="attributevalue">tei:current</span>"<br />  <span class="attribute">key</span>="<span class="attributevalue">header</span>"/&gt;</span><br /> <span class="element">&lt;moduleRef <span class="attribute">key</span>="<span class="attributevalue">core</span>"/&gt;</span><br /> <span class="element">&lt;moduleRef <span class="attribute">key</span>="<span class="attributevalue">drama</span>"/&gt;</span><br /> <span class="element">&lt;moduleRef <span class="attribute">url</span>="<span class="attributevalue">svg11.rng</span>"/&gt;</span><br /><span class="element">&lt;/schemaSpec&gt;</span><div style="float: right;"><a href="examples-schemaSpec.html">Show all</a> </div></div><p>This schema combines elements from the current versions of the drama and core modules, the current release version of the header module, and elements from an existing RELAX NG schema available from the URL indicated.</p></td></tr><tr><td class="wovenodd-col1"><span class="label" lang="en">Content model</span></td><td class="wovenodd-col2"><pre class="eg"><span class="element">&lt;content&gt;</span><br /> <span class="element">&lt;sequence&gt;</span><br />  <span class="element">&lt;alternate <span class="attribute">minOccurs</span>="<span class="attributevalue">0</span>"<br />   <span class="attribute">maxOccurs</span>="<span class="attributevalue">unbounded</span>"&gt;</span><br />   <span class="element">&lt;classRef <span class="attribute">key</span>="<a class="link_odd" href="ref-model.glossLike.html">model.glossLike</a>"/&gt;</span><br />   <span class="element">&lt;classRef <span class="attribute">key</span>="<a class="link_odd" href="ref-model.descLike.html">model.descLike</a>"/&gt;</span><br />  <span class="element">&lt;/alternate&gt;</span><br />  <span class="element">&lt;alternate <span class="attribute">minOccurs</span>="<span class="attributevalue">0</span>"<br />   <span class="attribute">maxOccurs</span>="<span class="attributevalue">unbounded</span>"&gt;</span><br />   <span class="element">&lt;classRef <span class="attribute">key</span>="<a class="link_odd" href="ref-model.oddRef.html">model.oddRef</a>"/&gt;</span><br />   <span class="element">&lt;classRef <span class="attribute">key</span>="<a class="link_odd" href="ref-model.oddDecl.html">model.oddDecl</a>"/&gt;</span><br />  <span class="element">&lt;/alternate&gt;</span><br /> <span class="element">&lt;/sequence&gt;</span><br /><span class="element">&lt;/content&gt;</span></pre></td></tr><tr><td class="wovenodd-col1"><span class="label" lang="en">Schema Declaration</span></td><td class="wovenodd-col2"><div class="displayRelax"><button class="displayRelaxButton"><span class="RNG_Compact">XML syntax</span><span class="RNG_XML">Compact syntax</span></button><pre class="RNG_XML"><span class="element">&lt;rng:element <span class="attribute">name</span>="<span class="attributevalue">schemaSpec</span>"&gt;</span><br /> <span class="element">&lt;rng:ref <span class="attribute">name</span>="<span class="attributevalue">att.global.attributes</span>"/&gt;</span><br /> <span class="element">&lt;rng:ref <span class="attribute">name</span>="<span class="attributevalue">att.global.rendition.attributes</span>"/&gt;</span><br /> <span class="element">&lt;rng:ref <span class="attribute">name</span>="<span class="attributevalue">att.global.linking.attributes</span>"/&gt;</span><br /> <span class="element">&lt;rng:ref <span class="attribute">name</span>="<span class="attributevalue">att.global.analytic.attributes</span>"/&gt;</span><br /> <span class="element">&lt;rng:ref <span class="attribute">name</span>="<span class="attributevalue">att.global.facs.attributes</span>"/&gt;</span><br /> <span class="element">&lt;rng:ref <span class="attribute">name</span>="<span class="attributevalue">att.global.change.attributes</span>"/&gt;</span><br /> <span class="element">&lt;rng:ref <span class="attribute">name</span>="<span class="attributevalue">att.global.responsibility.attributes</span>"/&gt;</span><br /> <span class="element">&lt;rng:ref <span class="attribute">name</span>="<span class="attributevalue">att.global.source.attributes</span>"/&gt;</span><br /> <span class="element">&lt;rng:ref <span class="attribute">name</span>="<span class="attributevalue">att.identified.attributes</span>"/&gt;</span><br /> <span class="element">&lt;rng:ref <span class="attribute">name</span>="<span class="attributevalue">att.combinable.attributes</span>"/&gt;</span><br /> <span class="element">&lt;rng:ref <span class="attribute">name</span>="<span class="attributevalue">att.deprecated.attributes</span>"/&gt;</span><br /> <span class="element">&lt;rng:ref <span class="attribute">name</span>="<span class="attributevalue">att.namespaceable.attributes</span>"/&gt;</span><br /> <span class="element">&lt;rng:ref <span class="attribute">name</span>="<span class="attributevalue">att.docStatus.attributes</span>"/&gt;</span><br /> <span class="element">&lt;rng:optional&gt;</span><br />  <span class="element">&lt;rng:attribute <span class="attribute">name</span>="<span class="attributevalue">start</span>"<br />   <span class="attribute">a:defaultValue</span>="<span class="attributevalue">TEI</span>"&gt;</span><br />   <span class="element">&lt;rng:list&gt;</span><br />    <span class="element">&lt;rng:oneOrMore&gt;</span><br />     <span class="element">&lt;rng:ref <span class="attribute">name</span>="<span class="attributevalue">teidata.name</span>"/&gt;</span><br />    <span class="element">&lt;/rng:oneOrMore&gt;</span><br />   <span class="element">&lt;/rng:list&gt;</span><br />  <span class="element">&lt;/rng:attribute&gt;</span><br /> <span class="element">&lt;/rng:optional&gt;</span><br /> <span class="element">&lt;rng:optional&gt;</span><br />  <span class="element">&lt;rng:attribute <span class="attribute">name</span>="<span class="attributevalue">prefix</span>"&gt;</span><br />   <span class="element">&lt;rng:ref <span class="attribute">name</span>="<span class="attributevalue">teidata.xmlName</span>"/&gt;</span><br />  <span class="element">&lt;/rng:attribute&gt;</span><br /> <span class="element">&lt;/rng:optional&gt;</span><br /> <span class="element">&lt;rng:optional&gt;</span><br />  <span class="element">&lt;rng:attribute <span class="attribute">name</span>="<span class="attributevalue">targetLang</span>"&gt;</span><br />   <span class="element">&lt;rng:ref <span class="attribute">name</span>="<span class="attributevalue">teidata.language</span>"/&gt;</span><br />  <span class="element">&lt;/rng:attribute&gt;</span><br /> <span class="element">&lt;/rng:optional&gt;</span><br /> <span class="element">&lt;rng:optional&gt;</span><br />  <span class="element">&lt;rng:attribute <span class="attribute">name</span>="<span class="attributevalue">docLang</span>"&gt;</span><br />   <span class="element">&lt;rng:list&gt;</span><br />    <span class="element">&lt;rng:oneOrMore&gt;</span><br />     <span class="element">&lt;rng:ref <span class="attribute">name</span>="<span class="attributevalue">teidata.language</span>"/&gt;</span><br />    <span class="element">&lt;/rng:oneOrMore&gt;</span><br />   <span class="element">&lt;/rng:list&gt;</span><br />  <span class="element">&lt;/rng:attribute&gt;</span><br /> <span class="element">&lt;/rng:optional&gt;</span><br /> <span class="element">&lt;rng:optional&gt;</span><br />  <span class="element">&lt;rng:attribute <span class="attribute">name</span>="<span class="attributevalue">defaultExceptions</span>"<br />   <span class="attribute">a:defaultValue</span>="<span class="attributevalue">http://www.tei-c.org/ns/1.0 teix:egXML</span>"&gt;</span><br />   <span class="element">&lt;rng:list&gt;</span><br />    <span class="element">&lt;rng:oneOrMore&gt;</span><br />     <span class="element">&lt;rng:ref <span class="attribute">name</span>="<span class="attributevalue">teidata.namespaceOrName</span>"/&gt;</span><br />    <span class="element">&lt;/rng:oneOrMore&gt;</span><br />   <span class="element">&lt;/rng:list&gt;</span><br />  <span class="element">&lt;/rng:attribute&gt;</span><br /> <span class="element">&lt;/rng:optional&gt;</span><br /> <span class="element">&lt;rng:group&gt;</span><br />  <span class="element">&lt;rng:zeroOrMore&gt;</span><br />   <span class="element">&lt;rng:choice&gt;</span><br />    <span class="element">&lt;rng:ref <span class="attribute">name</span>="<span class="attributevalue">model.glossLike</span>"/&gt;</span><br />    <span class="element">&lt;rng:ref <span class="attribute">name</span>="<span class="attributevalue">model.descLike</span>"/&gt;</span><br />   <span class="element">&lt;/rng:choice&gt;</span><br />  <span class="element">&lt;/rng:zeroOrMore&gt;</span><br />  <span class="element">&lt;rng:zeroOrMore&gt;</span><br />   <span class="element">&lt;rng:choice&gt;</span><br />    <span class="element">&lt;rng:ref <span class="attribute">name</span>="<span class="attributevalue">model.oddRef</span>"/&gt;</span><br />    <span class="element">&lt;rng:ref <span class="attribute">name</span>="<span class="attributevalue">model.oddDecl</span>"/&gt;</span><br />   <span class="element">&lt;/rng:choice&gt;</span><br />  <span class="element">&lt;/rng:zeroOrMore&gt;</span><br /> <span class="element">&lt;/rng:group&gt;</span><br /><span class="element">&lt;/rng:element&gt;</span></pre><pre class="RNG_Compact">
<span class="rnc_keyword">element</span> <span class="rnc_nc">schemaSpec</span>
{
   <a class="link_odd" title="provides attributes common to all elements in the TEI encoding scheme." href="ref-att.global.html">att.global.attributes</a>,
   <a class="link_odd" title="provides rendering attributes common to all elements in the TEI encoding scheme." href="ref-att.global.rendition.html">att.global.rendition.attributes</a>,
   <a class="link_odd" title="provides a set of attributes for hypertextual linking." href="ref-att.global.linking.html">att.global.linking.attributes</a>,
   <a class="link_odd" title="provides additional global attributes for associating specific analyses or interpretations with appropriate portions of a text." href="ref-att.global.analytic.html">att.global.analytic.attributes</a>,
   <a class="link_odd" title="provides an attribute used to express correspondence between an element containing transcribed text and all or part of an image representing that text." href="ref-att.global.facs.html">att.global.facs.attributes</a>,
   <a class="link_odd" title="supplies the @change attribute, allowing its member elements to specify one or more states or revision campaigns with which they are associated." href="ref-att.global.change.html">att.global.change.attributes</a>,
   <a class="link_odd" title="provides attributes indicating the agent responsible for some aspect of the text, the markup or something asserted by the markup, and the degree of certainty associated with it." href="ref-att.global.responsibility.html">att.global.responsibility.attributes</a>,
   <a class="link_odd" title="provides an attribute used by elements to point to an external source." href="ref-att.global.source.html">att.global.source.attributes</a>,
   <a class="link_odd" title="provides the identifying attribute for elements which can be subsequently referenced by means of a @key attribute." href="ref-att.identified.html">att.identified.attributes</a>,
   <a class="link_odd" title="provides attributes indicating how multiple references to the same object in a schema should be combined" href="ref-att.combinable.html">att.combinable.attributes</a>,
   <a class="link_odd" title="provides attributes indicating how a deprecated feature will be treated in future releases." href="ref-att.deprecated.html">att.deprecated.attributes</a>,
   <a class="link_odd" title="provides an attribute indicating the target namespace for an object being created" href="ref-att.namespaceable.html">att.namespaceable.attributes</a>,
   <a class="link_odd" title="provides attributes for use on metadata elements describing the status of a document." href="ref-att.docStatus.html">att.docStatus.attributes</a>,
   attribute start { list { <a class="link_odd" title="" href="ref-teidata.name.html">teidata.name</a>+ } }?,
   attribute prefix { <a class="link_odd" title="" href="ref-teidata.xmlName.html">teidata.xmlName</a> }?,
   attribute targetLang { <a class="link_odd" title="" href="ref-teidata.language.html">teidata.language</a> }?,
   attribute docLang { list { <a class="link_odd" title="" href="ref-teidata.language.html">teidata.language</a>+ } }?,
   attribute defaultExceptions { list { <a class="link_odd" title="" href="ref-teidata.namespaceOrName.html">teidata.namespaceOrName</a>+ } }?,
   ( ( <a class="link_odd" title="groups elements which provide an alternative name, explanation, or description for any markup construct." href="ref-model.glossLike.html">model.glossLike</a> | <a class="link_odd" title="groups elements which contain a description of their function." href="ref-model.descLike.html">model.descLike</a> )*, ( <a class="link_odd" title="groups elements which reference declarations in some markup language in ODD documents." href="ref-model.oddRef.html">model.oddRef</a> | <a class="link_odd" title="groups elements which generate declarations in some markup language in ODD documents." href="ref-model.oddDecl.html">model.oddDecl</a> )* )
}</pre></div></td></tr></table></div></div><div class="stdfooter autogenerated"><p>
    [<a href="../../en/html/ref-schemaSpec.html">English</a>]
    [<a href="../../de/html/ref-schemaSpec.html">Deutsch</a>]
    [<a href="../../es/html/ref-schemaSpec.html">Español</a>]
    [<a href="../../it/html/ref-schemaSpec.html">Italiano</a>]
    [<a href="../../fr/html/ref-schemaSpec.html">Français</a>]
    [<a href="../../ja/html/ref-schemaSpec.html">日本語</a>]
    [<a href="../../ko/html/ref-schemaSpec.html">한국어</a>]
    [<a href="../../zh-TW/html/ref-schemaSpec.html">中文</a>]
    </p><hr /><div class="footer"><a class="plain" href="http://www.tei-c.org/About/">TEI Consortium</a> | <a class="plain" href="http://www.tei-c.org/About/contact.xml">Feedback</a></div><hr /><address><br />TEI Guidelines <a class="link_ref" href="AB.html#ABTEI4">Version</a> <a class="link_ref" href="../../readme-3.1.1.html">3.1.1a</a>. Last updated on <span class="date">10th May 2017</span>, revision <a class="link_ref" href="https://github.com/TEIC/TEI/commit/bd8dda3">bd8dda3</a>. This page generated on 2017-05-12T12:30:09Z.</address></div></body></html>
back to top