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-attDef.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 attDef (attribute definition) </title><meta property="Language" content="en" /><meta property="DC.Title" content="TEI element attDef (attribute definition) " /><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="attDef">&lt;attDef&gt;</h3><table class="wovenodd"><tr><td colspan="2" class="wovenodd-col2"><span class="label">&lt;attDef&gt; </span>(attribute definition) contains the definition of a single attribute. [<a class="link_ptr" href="TD.html#TDATT" title="Attribute List Specification"><span class="headingNumber">22.5.4 </span>Attribute List Specification</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>)) ) <table class="attList"><tr><td class="odd_label">usage<span class="bookmarklink"><a class="bookmarklink" id="tei_att.usage" href="#tei_att.usage" title="link to this attribute "><span class="invisible"> usage</span><span class="pilcrow">¶</span></a></span></td><td class="odd_value">specifies the optionality of the attribute.<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.enumerated.html">teidata.enumerated</a></td></tr><tr><td class="odd_label"><span class="label" lang="en">Legal values are:</span></td><td class="odd_value"><dl class="valList"><dt class="odd_label">req</dt><dd class="odd_value">(required) </dd><dt class="odd_label">rec</dt><dd class="odd_value">(recommended ) </dd><dt class="odd_label">opt</dt><dd class="odd_value">(optional ) <span class="defaultVal" lang="en"> [Default] </span></dd></dl></td></tr></table></td></tr><tr><td class="odd_label">ns<span class="bookmarklink"><a class="bookmarklink" id="tei_att.ns" href="#tei_att.ns" title="link to this attribute "><span class="invisible"> ns</span><span class="pilcrow">¶</span></a></span></td><td class="odd_value">(namespace) specifies the namespace to which this attribute belongs<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.namespace.html">teidata.namespace</a></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</td></tr></table></td></tr></table></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">tagdocs: </span><span class="specChildElements"><a class="link_odd_elementSpec" title="contains documentation for all the attributes associated with this element, as a series of &lt;attDef&gt; elements." href="ref-attList.html">attList</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="(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="specifies the declared value for an attribute, by referring to any datatype defined by the chosen schema language." href="ref-datatype.html">datatype</a> <a class="link_odd_elementSpec" title="(default value) specifies the default declared value for an attribute." href="ref-defaultVal.html">defaultVal</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="groups an example demonstrating the use of an element along with optional paragraphs of commentary." href="ref-exemplum.html">exemplum</a> <a class="link_odd_elementSpec" title="contains any commentary or discussion about the usage of an element, attribute, class, or entity not otherwise documented within the containing element." href="ref-remarks.html">remarks</a> <a class="link_odd_elementSpec" title="(value description) specifies any semantic or syntactic constraint on the value that an attribute may take, additional to the information carried by the &lt;datatype&gt; element." href="ref-valDesc.html">valDesc</a> <a class="link_odd_elementSpec" title="(value list) contains one or more &lt;valItem&gt; elements defining possible values." href="ref-valList.html">valList</a></span></div></div></td></tr><tr><td class="wovenodd-col1"><span class="label" lang="en">Example</span></td><td class="wovenodd-col2"><div id="index-egXML-d52e148250" class="pre egXML_valid"><span class="element">&lt;attDef <span class="attribute">usage</span>="<span class="attributevalue">rec</span>" <span class="attribute">ident</span>="<span class="attributevalue">type</span>"&gt;</span><br /> <span class="element">&lt;desc&gt;</span>specifies a name conventionally used for this level of subdivision, e.g.<br />  <span class="element">&lt;val&gt;</span>act<span class="element">&lt;/val&gt;</span>, <span class="element">&lt;val&gt;</span>volume<span class="element">&lt;/val&gt;</span>, <span class="element">&lt;val&gt;</span>book<span class="element">&lt;/val&gt;</span>, <span class="element">&lt;val&gt;</span>section<span class="element">&lt;/val&gt;</span>, <span class="element">&lt;val&gt;</span>canto<span class="element">&lt;/val&gt;</span>,<br />     etc.<span class="element">&lt;/desc&gt;</span><br /> <span class="element">&lt;datatype&gt;</span><br />  <span class="element">&lt;rng:text/&gt;</span><br /> <span class="element">&lt;/datatype&gt;</span><br /><span class="element">&lt;/attDef&gt;</span><div style="float: right;"><a href="examples-attDef.html">Show all</a> </div></div></td></tr><tr><td class="wovenodd-col1"><span class="label" lang="en">Schematron</span></td><td class="wovenodd-col2"><div xml:space="preserve" class="pre"><br /><span class="element">&lt;s:ns <span class="attribute">prefix</span>="<span class="attributevalue">teix</span>"<br /> <span class="attribute">uri</span>="<span class="attributevalue">http://www.tei-c.org/ns/Examples</span>"/&gt;</span><br /><span class="element">&lt;s:assert <span class="attribute">test</span>="<span class="attributevalue">ancestor::teix:egXML[@valid='feasible'] or @mode eq 'change' or @mode 
 eq 'delete' or tei:datatype or tei:valList[@type='closed']</span>"&gt;</span>Attribute: the definition of the @<span class="element">&lt;s:value-of <span class="attribute">select</span>="<span class="attributevalue">@ident</span>"/&gt;</span> attribute in the <span class="element">&lt;s:value-of <span class="attribute">select</span>="<span class="attributevalue">ancestor::*[@ident][1]/@ident</span>"/&gt;</span><br /><span class="element">&lt;s:value-of <span class="attribute">select</span>="<span class="attributevalue">' '</span>"/&gt;</span><br /><span class="element">&lt;s:value-of <span class="attribute">select</span>="<span class="attributevalue">local-name(ancestor::*[@ident][1])</span>"/&gt;</span> should have a closed valList or a datatype<span class="element">&lt;/s:assert&gt;</span></div></td></tr><tr><td class="wovenodd-col1"><span class="label" lang="en">Schematron</span></td><td class="wovenodd-col2"><div xml:space="preserve" class="pre"><br /><span class="element">&lt;sch:rule <span class="attribute">context</span>="<span class="attributevalue">tei:attDef[@usage eq 'req']</span>"&gt;</span><br /><span class="element">&lt;sch:report <span class="attribute">test</span>="<span class="attributevalue">tei:defaultVal</span>"&gt;</span>It does not make sense to make "<span class="element">&lt;sch:value-of <span class="attribute">select</span>="<span class="attributevalue">normalize-space(tei:defaultVal)</span>"/&gt;</span>" the default value of @<span class="element">&lt;sch:value-of <span class="attribute">select</span>="<span class="attributevalue">@ident</span>"/&gt;</span>, because that attribute is required.<span class="element">&lt;/sch:report&gt;</span><br /><span class="element">&lt;/sch:rule&gt;</span></div></td></tr><tr><td class="wovenodd-col1"><span class="label" lang="en">Schematron</span></td><td class="wovenodd-col2"><div xml:space="preserve" class="pre"><br /><span class="element">&lt;sch:rule <span class="attribute">context</span>="<span class="attributevalue">tei:attDef[ tei:defaultVal and tei:valList[@type eq 'closed'] and 
 tei:datatype[ @maxOccurs &gt; 1 or @minOccurs &gt; 1 or @maxOccurs = 'unbounded' 
 ] ]</span>"&gt;</span><br /><span class="element">&lt;sch:assert <span class="attribute">test</span>="<span class="attributevalue"> tokenize(normalize-space(tei:defaultVal),' ') = tei:valList/tei:valItem/@ident</span>"&gt;</span>In the <span class="element">&lt;sch:value-of <span class="attribute">select</span>="<span class="attributevalue">local-name(ancestor::*[@ident][1])</span>"/&gt;</span> defining<br /> <span class="element">&lt;sch:value-of <span class="attribute">select</span>="<span class="attributevalue">ancestor::*[@ident][1]/@ident</span>"/&gt;</span> the default value of the<br />   @<span class="element">&lt;sch:value-of <span class="attribute">select</span>="<span class="attributevalue">@ident</span>"/&gt;</span> attribute is not among the closed list of possible<br />   values<span class="element">&lt;/sch:assert&gt;</span><br /><span class="element">&lt;/sch:rule&gt;</span></div></td></tr><tr><td class="wovenodd-col1"><span class="label" lang="en">Schematron</span></td><td class="wovenodd-col2"><div xml:space="preserve" class="pre"><br /><span class="element">&lt;sch:rule <span class="attribute">context</span>="<span class="attributevalue">tei:attDef[ tei:defaultVal and tei:valList[@type eq 'closed'] and 
 tei:datatype[ not(@maxOccurs) or ( if ( @maxOccurs castable as xs:integer 
 ) then ( @maxOccurs cast as xs:integer eq 1 ) else false() )] ]</span>"&gt;</span><br /><span class="element">&lt;sch:assert <span class="attribute">test</span>="<span class="attributevalue">string(tei:defaultVal) = tei:valList/tei:valItem/@ident</span>"&gt;</span>In the <span class="element">&lt;sch:value-of <span class="attribute">select</span>="<span class="attributevalue">local-name(ancestor::*[@ident][1])</span>"/&gt;</span> defining<br /> <span class="element">&lt;sch:value-of <span class="attribute">select</span>="<span class="attributevalue">ancestor::*[@ident][1]/@ident</span>"/&gt;</span> the default value of the<br />   @<span class="element">&lt;sch:value-of <span class="attribute">select</span>="<span class="attributevalue">@ident</span>"/&gt;</span> attribute is not among the closed list of possible<br />   values<span class="element">&lt;/sch:assert&gt;</span><br /><span class="element">&lt;/sch:rule&gt;</span></div></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;elementRef <span class="attribute">key</span>="<a class="link_odd" href="ref-datatype.html">datatype</a>" <span class="attribute">minOccurs</span>="<span class="attributevalue">0</span>"/&gt;</span><br />  <span class="element">&lt;elementRef <span class="attribute">key</span>="<a class="link_odd" href="ref-constraintSpec.html">constraintSpec</a>"<br />   <span class="attribute">minOccurs</span>="<span class="attributevalue">0</span>" <span class="attribute">maxOccurs</span>="<span class="attributevalue">unbounded</span>"/&gt;</span><br />  <span class="element">&lt;elementRef <span class="attribute">key</span>="<a class="link_odd" href="ref-defaultVal.html">defaultVal</a>"<br />   <span class="attribute">minOccurs</span>="<span class="attributevalue">0</span>"/&gt;</span><br />  <span class="element">&lt;alternate <span class="attribute">minOccurs</span>="<span class="attributevalue">0</span>"&gt;</span><br />   <span class="element">&lt;elementRef <span class="attribute">key</span>="<a class="link_odd" href="ref-valList.html">valList</a>"/&gt;</span><br />   <span class="element">&lt;elementRef <span class="attribute">key</span>="<a class="link_odd" href="ref-valDesc.html">valDesc</a>" <span class="attribute">minOccurs</span>="<span class="attributevalue">1</span>"<br />    <span class="attribute">maxOccurs</span>="<span class="attributevalue">unbounded</span>"/&gt;</span><br />  <span class="element">&lt;/alternate&gt;</span><br />  <span class="element">&lt;elementRef <span class="attribute">key</span>="<a class="link_odd" href="ref-exemplum.html">exemplum</a>" <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;elementRef <span class="attribute">key</span>="<a class="link_odd" href="ref-remarks.html">remarks</a>" <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;/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">attDef</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:optional&gt;</span><br />  <span class="element">&lt;rng:attribute <span class="attribute">name</span>="<span class="attributevalue">usage</span>"<br />   <span class="attribute">a:defaultValue</span>="<span class="attributevalue">opt</span>"&gt;</span><br />   <span class="element">&lt;rng:choice&gt;</span><br />    <span class="element">&lt;rng:value&gt;</span>req<span class="element">&lt;/rng:value&gt;</span><br />    <span class="element">&lt;rng:value&gt;</span>rec<span class="element">&lt;/rng:value&gt;</span><br />    <span class="element">&lt;rng:value&gt;</span>opt<span class="element">&lt;/rng:value&gt;</span><br />   <span class="element">&lt;/rng:choice&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">ns</span>"<br />   <span class="attribute">a:defaultValue</span>="<span class="attributevalue">http://www.tei-c.org/ns/1.0</span>"&gt;</span><br />   <span class="element">&lt;rng:ref <span class="attribute">name</span>="<span class="attributevalue">teidata.namespace</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: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:optional&gt;</span><br />   <span class="element">&lt;rng:ref <span class="attribute">name</span>="<span class="attributevalue">datatype</span>"/&gt;</span><br />  <span class="element">&lt;/rng:optional&gt;</span><br />  <span class="element">&lt;rng:zeroOrMore&gt;</span><br />   <span class="element">&lt;rng:ref <span class="attribute">name</span>="<span class="attributevalue">constraintSpec</span>"/&gt;</span><br />  <span class="element">&lt;/rng:zeroOrMore&gt;</span><br />  <span class="element">&lt;rng:optional&gt;</span><br />   <span class="element">&lt;rng:ref <span class="attribute">name</span>="<span class="attributevalue">defaultVal</span>"/&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:choice&gt;</span><br />    <span class="element">&lt;rng:ref <span class="attribute">name</span>="<span class="attributevalue">valList</span>"/&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">valDesc</span>"/&gt;</span><br />    <span class="element">&lt;/rng:oneOrMore&gt;</span><br />   <span class="element">&lt;/rng:choice&gt;</span><br />  <span class="element">&lt;/rng:optional&gt;</span><br />  <span class="element">&lt;rng:zeroOrMore&gt;</span><br />   <span class="element">&lt;rng:ref <span class="attribute">name</span>="<span class="attributevalue">exemplum</span>"/&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:ref <span class="attribute">name</span>="<span class="attributevalue">remarks</span>"/&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">attDef</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>,
   attribute usage { "req" | "rec" | "opt" }?,
   attribute ns { <a class="link_odd" title="" href="ref-teidata.namespace.html">teidata.namespace</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="specifies the declared value for an attribute, by referring to any datatype defined by the chosen schema language." href="ref-datatype.html">datatype</a>?,
      <a class="link_odd" 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" title="(default value) specifies the default declared value for an attribute." href="ref-defaultVal.html">defaultVal</a>?,
      ( <a class="link_odd" title="(value list) contains one or more &lt;valItem&gt; elements defining possible values." href="ref-valList.html">valList</a> | <a class="link_odd" title="(value description) specifies any semantic or syntactic constraint on the value that an attribute may take, additional to the information carried by the &lt;datatype&gt; element." href="ref-valDesc.html">valDesc</a>+ )?,
      <a class="link_odd" title="groups an example demonstrating the use of an element along with optional paragraphs of commentary." href="ref-exemplum.html">exemplum</a>*,
      <a class="link_odd" title="contains any commentary or discussion about the usage of an element, attribute, class, or entity not otherwise documented within the containing element." href="ref-remarks.html">remarks</a>*
   )
}</pre></div></td></tr></table></div></div><div class="stdfooter autogenerated"><p>
    [<a href="../../en/html/ref-attDef.html">English</a>]
    [<a href="../../de/html/ref-attDef.html">Deutsch</a>]
    [<a href="../../es/html/ref-attDef.html">Español</a>]
    [<a href="../../it/html/ref-attDef.html">Italiano</a>]
    [<a href="../../fr/html/ref-attDef.html">Français</a>]
    [<a href="../../ja/html/ref-attDef.html">日本語</a>]
    [<a href="../../ko/html/ref-attDef.html">한국어</a>]
    [<a href="../../zh-TW/html/ref-attDef.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