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-moduleRef.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 moduleRef (module reference) </title><meta property="Language" content="en" /><meta property="DC.Title" content="TEI element moduleRef (module reference) " /><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="moduleRef">&lt;moduleRef&gt;</h3><table class="wovenodd"><tr><td colspan="2" class="wovenodd-col2"><span class="label">&lt;moduleRef&gt; </span>(module reference) references a module which is to be incorporated into a schema. [<a class="link_ptr" href="TD.html#TDmodules" title="Modules and Schemas"><span class="headingNumber">22.2 </span>Modules and Schemas</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>)) <table class="attList"><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 from the imported module<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">Schematron</span></td><td class="wovenodd-col2"><div xml:space="preserve" class="pre"><br /><span class="element">&lt;s:rule <span class="attribute">context</span>="<span class="attributevalue">tei:moduleRef</span>"&gt;</span><br /><span class="element">&lt;s:report <span class="attribute">test</span>="<span class="attributevalue">//*[ not( generate-id(.) eq generate-id( current() ) ) ]/@prefix = 
 @prefix</span>"&gt;</span>The prefix attribute<br />   of <span class="element">&lt;s:name/&gt;</span> should not match that of any other<br />   element (it would defeat the purpose)<span class="element">&lt;/s:report&gt;</span><br /><span class="element">&lt;/s:rule&gt;</span></div></td></tr><tr><td class="wovenodd-col1"><span class="label" lang="en">Note</span></td><td class="wovenodd-col2"><!-- --><p>Use of this attribute avoids name collisions (and thus invalid schemas) when the external schema being mixed in with TEI uses a name the TEI or some other included external schema already uses for a pattern.</p></td></tr></table></td></tr><tr><td class="odd_label">include<span class="bookmarklink"><a class="bookmarklink" id="tei_att.include" href="#tei_att.include" title="link to this attribute "><span class="invisible"> include</span><span class="pilcrow">¶</span></a></span></td><td class="odd_value">supplies a list of the elements which are to be copied from the specified module into the schema being defined.<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–∞ <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></table></td></tr><tr><td class="odd_label">except<span class="bookmarklink"><a class="bookmarklink" id="tei_att.except" href="#tei_att.except" title="link to this attribute "><span class="invisible"> except</span><span class="pilcrow">¶</span></a></span></td><td class="odd_value">supplies a list of the elements which are not to be copied from the specified module into the schema being defined.<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–∞ <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></table></td></tr><tr><td class="odd_label">key<span class="bookmarklink"><a class="bookmarklink" id="tei_att.key" href="#tei_att.key" title="link to this attribute "><span class="invisible"> key</span><span class="pilcrow">¶</span></a></span></td><td class="odd_value">the name of a TEI module<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.xmlName.html">teidata.xmlName</a></td></tr></table></td></tr><tr><td class="odd_label">url<span class="bookmarklink"><a class="bookmarklink" id="tei_att.url" href="#tei_att.url" title="link to this attribute "><span class="invisible"> url</span><span class="pilcrow">¶</span></a></span></td><td class="odd_value">(uniform resource locator) refers to a non-TEI module of RELAX NG code by external location<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.pointer.html">teidata.pointer</a></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 elements which reference declarations in some markup language in ODD documents." href="ref-model.oddRef.html">model.oddRef</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">tagdocs: </span><span class="specChildElements"><a class="link_odd_elementSpec" title="(schema specification) generates a TEI-conformant schema and documentation for it." href="ref-schemaSpec.html">schemaSpec</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></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">tagdocs: </span><span class="specChildElements"><a class="link_odd_elementSpec" title="(content model) contains the text of a declaration for the schema documented." href="ref-content.html">content</a></span></div></div></td></tr><tr><td class="wovenodd-col1"><span class="label" lang="en">Note</span></td><td class="wovenodd-col2"><!-- --><p>If neither <span class="att">include</span> nor <span class="att">exclude</span> is supplied, the effect of this element is to make all the declarations contained by the referenced module available to the schema being compiled. If both attributes are supplied, an ODD processor should signal an error.</p><p>A TEI module is identified by the name supplied as value for the <span class="att">ident</span> attribute on a <a class="gi" 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> element. The <span class="att">source</span> attribute may be used to specify an online source from which the specification of that module may be read. A URI may alternatively be supplied in the case of a non-TEI module, and this is expected to be written as a RELAX NG schema.</p><p>If the <span class="att">uri</span> attribute is used, the <a class="gi" title="(content model) contains the text of a declaration for the schema documented." href="ref-content.html">content</a> element may also be supplied as a child of this element. Its content (which is assumed to be a fragment of RELAX NG code) will be copied along with the content of the resource indicated by the <span class="att">uri</span> attribute into the target RELAX NG schema.</p></td></tr><tr><td class="wovenodd-col1"><span class="label" lang="en">Example</span></td><td class="wovenodd-col2"><div id="index-egXML-d52e142293" class="pre egXML_valid"><span class="element">&lt;moduleRef <span class="attribute">key</span>="<span class="attributevalue">linking</span>"/&gt;</span><div style="float: right;"><a href="examples-moduleRef.html">Show all</a> </div></div><p>This includes all objects available from the linking module.</p></td></tr><tr><td class="wovenodd-col1"><span class="label" lang="en">Example</span></td><td class="wovenodd-col2"><div id="index-egXML-d52e142306" class="pre egXML_valid"><span class="element">&lt;moduleRef <span class="attribute">key</span>="<span class="attributevalue">linking</span>"<br /> <span class="attribute">except</span>="<span class="attributevalue">linkGrp link</span>"/&gt;</span><div style="float: right;"><a href="examples-moduleRef.html">Show all</a> </div></div><p>This includes all elements available from the linking module except for the <a class="gi" title="defines an association or hypertextual link among elements or passages, of some type not more precisely specifiable by other elements." href="ref-link.html">link</a> and <a class="gi" title="(link group) defines a collection of associations or hypertextual links." href="ref-linkGrp.html">linkGrp</a> elements.</p></td></tr><tr><td class="wovenodd-col1"><span class="label" lang="en">Example</span></td><td class="wovenodd-col2"><div id="index-egXML-d52e142317" class="pre egXML_valid"><span class="element">&lt;moduleRef <span class="attribute">key</span>="<span class="attributevalue">linking</span>"<br /> <span class="attribute">include</span>="<span class="attributevalue">linkGrp link</span>"/&gt;</span><div style="float: right;"><a href="examples-moduleRef.html">Show all</a> </div></div><p>This includes only the <a class="gi" title="defines an association or hypertextual link among elements or passages, of some type not more precisely specifiable by other elements." href="ref-link.html">link</a> and <a class="gi" title="(link group) defines a collection of associations or hypertextual links." href="ref-linkGrp.html">linkGrp</a> elements from the linking module.</p></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:rule <span class="attribute">context</span>="<span class="attributevalue">tei:moduleRef</span>"&gt;</span><br /><span class="element">&lt;s:report <span class="attribute">test</span>="<span class="attributevalue">* and @key</span>"&gt;</span>Child elements of <span class="element">&lt;s:name/&gt;</span> are only allowed when an external module is being loaded<br /> <span class="element">&lt;/s:report&gt;</span><br /><span class="element">&lt;/s: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;elementRef <span class="attribute">key</span>="<a class="link_odd" href="ref-content.html">content</a>" <span class="attribute">minOccurs</span>="<span class="attributevalue">0</span>"/&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">moduleRef</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: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;xhtml:tr&gt;</span><br />  <span class="element">&lt;xhtml:td&gt;</span>[#not-same-prefix]<span class="element">&lt;/xhtml:td&gt;</span><br />  <span class="element">&lt;xhtml:td&gt;</span><br />   <span class="element">&lt;xhtml:div <span class="attribute">id</span>="<span class="attributevalue">index-egXML-d563434e1</span>"<br />    <span class="attribute">class</span>="<span class="attributevalue">pre egXML_valid</span>"&gt;</span><br />    <span class="element">&lt;xhtml:span <span class="attribute">class</span>="<span class="attributevalue">element</span>"&gt;</span>&lt;constraint&gt;<span class="element">&lt;/xhtml:span&gt;</span><br />    <span class="element">&lt;xhtml:br/&gt;</span><br />    <span class="element">&lt;xhtml:span <span class="attribute">class</span>="<span class="attributevalue">element</span>"&gt;</span>&lt;s:rule <span class="element">&lt;xhtml:span <span class="attribute">class</span>="<span class="attributevalue">attribute</span>"&gt;</span>context<span class="element">&lt;/xhtml:span&gt;</span>="<span class="element">&lt;xhtml:span <span class="attribute">class</span>="<span class="attributevalue">attributevalue</span>"&gt;</span>tei:moduleRef<span class="element">&lt;/xhtml:span&gt;</span>"&gt;<span class="element">&lt;/xhtml:span&gt;</span><br />    <span class="element">&lt;xhtml:br/&gt;</span> <span class="element">&lt;xhtml:span <span class="attribute">class</span>="<span class="attributevalue">element</span>"&gt;</span>&lt;s:report <span class="element">&lt;xhtml:span <span class="attribute">class</span>="<span class="attributevalue">attribute</span>"&gt;</span>test<span class="element">&lt;/xhtml:span&gt;</span>="<span class="element">&lt;xhtml:span <span class="attribute">class</span>="<span class="attributevalue">attributevalue</span>"&gt;</span>//*[ not( generate-id(.) eq generate-id( current() ) ) ]/@prefix =<br />             @prefix<span class="element">&lt;/xhtml:span&gt;</span>"&gt;<span class="element">&lt;/xhtml:span&gt;</span>The prefix attribute<span class="element">&lt;xhtml:br/&gt;</span>     of <span class="element">&lt;xhtml:span <span class="attribute">class</span>="<span class="attributevalue">element</span>"&gt;</span>&lt;s:name/&gt;<span class="element">&lt;/xhtml:span&gt;</span> should not match that of any other<span class="element">&lt;xhtml:br/&gt;</span>     element (it would defeat the purpose)<span class="element">&lt;xhtml:span <span class="attribute">class</span>="<span class="attributevalue">element</span>"&gt;</span>&lt;/s:report&gt;<span class="element">&lt;/xhtml:span&gt;</span><br />    <span class="element">&lt;xhtml:br/&gt;</span><br />    <span class="element">&lt;xhtml:span <span class="attribute">class</span>="<span class="attributevalue">element</span>"&gt;</span>&lt;/s:rule&gt;<span class="element">&lt;/xhtml:span&gt;</span><br />    <span class="element">&lt;xhtml:br/&gt;</span><br />    <span class="element">&lt;xhtml:span <span class="attribute">class</span>="<span class="attributevalue">element</span>"&gt;</span>&lt;/constraint&gt;<span class="element">&lt;/xhtml:span&gt;</span><span class="element">&lt;/xhtml:div&gt;</span><br />  <span class="element">&lt;/xhtml:td&gt;</span><br /> <span class="element">&lt;/xhtml:tr&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:attribute <span class="attribute">name</span>="<span class="attributevalue">include</span>"&gt;</span><br />    <span class="element">&lt;rng:list&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">teidata.xmlName</span>"/&gt;</span><br />     <span class="element">&lt;/rng:zeroOrMore&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">except</span>"&gt;</span><br />    <span class="element">&lt;rng:list&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">teidata.xmlName</span>"/&gt;</span><br />     <span class="element">&lt;/rng:zeroOrMore&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:choice&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:attribute <span class="attribute">name</span>="<span class="attributevalue">key</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">url</span>"&gt;</span><br />    <span class="element">&lt;rng:ref <span class="attribute">name</span>="<span class="attributevalue">teidata.pointer</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:choice&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">content</span>"/&gt;</span><br /> <span class="element">&lt;/rng:optional&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">moduleRef</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>,
   attribute prefix { <a class="link_odd" title="" href="ref-teidata.xmlName.html">teidata.xmlName</a> }?
   &gt;&gt;
   <span class="rnc_annot">d563431e16:tr</span>
   <span class="rnc_annot">[</span>
      "[#not-same-prefix]"
      "&lt;constraint&gt;"
      "&lt;s:rule "
      "context"
      """=""""
      "tei:moduleRef"
      """"&gt;"""
      " "
      "&lt;s:report "
      "test"
      """=""""
      """//*[ not( generate-id(.) eq generate-id( current() ) ) ]/@prefix = 
 @prefix"""
      """"&gt;"""
      "The prefix attribute"
      "     of "
      "&lt;s:name/&gt;"
      " should not match that of any other"
      "     element (it would defeat the purpose)"
      "&lt;/s:report&gt;"
      "&lt;/s:rule&gt;"
      "&lt;/constraint&gt;"
   <span class="rnc_annot">]</span>,
   (
      attribute include { list { <a class="link_odd" title="" href="ref-teidata.xmlName.html">teidata.xmlName</a>* } }?
    | attribute except { list { <a class="link_odd" title="" href="ref-teidata.xmlName.html">teidata.xmlName</a>* } }?
   ),
   ( attribute key { <a class="link_odd" title="" href="ref-teidata.xmlName.html">teidata.xmlName</a> }? | attribute url { <a class="link_odd" title="" href="ref-teidata.pointer.html">teidata.pointer</a> }? ),
   <a class="link_odd" title="(content model) contains the text of a declaration for the schema documented." href="ref-content.html">content</a>?
}</pre></div></td></tr></table></div></div><div class="stdfooter autogenerated"><p>
    [<a href="../../en/html/ref-moduleRef.html">English</a>]
    [<a href="../../de/html/ref-moduleRef.html">Deutsch</a>]
    [<a href="../../es/html/ref-moduleRef.html">Español</a>]
    [<a href="../../it/html/ref-moduleRef.html">Italiano</a>]
    [<a href="../../fr/html/ref-moduleRef.html">Français</a>]
    [<a href="../../ja/html/ref-moduleRef.html">日本語</a>]
    [<a href="../../ko/html/ref-moduleRef.html">한국어</a>]
    [<a href="../../zh-TW/html/ref-moduleRef.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