<moduleRef>

<moduleRef> (module reference) 參照一個被併入某一模型的模組。
組件tagdocs — 22 Documentation Elements
屬性att.global (@xml:id, @n, @xml:lang, @rend, @rendition, @xml:base, @xml:space) (att.global.linking (@corresp, @synch, @sameAs, @copyOf, @next, @prev, @exclude, @select)) (att.global.analytic (@ana)) (att.global.facs (@facs)) att.readFrom (@source)
includesupplies a list of the elements which are to be copied from the specified module into the schema being defined.
狀態 非必備的
資料類型 0–∞ 次可出現: 

<rng:data type="NCName"/>
xsd:NCName
以空白鍵隔開
exceptsupplies a list of the elements which are not to be copied from the specified module into the schema being defined.
狀態 非必備的
資料類型 0–∞ 次可出現: 

<rng:data type="NCName"/>
xsd:NCName
以空白鍵隔開
keythe name of a TEI module
狀態 非必備的
資料類型

<rng:data type="NCName"/>
xsd:NCName
url (uniform resource locator) refers to a non-TEI module of RELAX NG code by external location
狀態 非必備的
資料類型

<rng:ref name="data.pointer"/>
data.pointer
屬於
可包含在於
可包含
tagdocs: content
宣告

<rng:element name="moduleRef">
 <rng:ref name="att.global.attributes"/>
 <rng:ref name="att.global.linking.attributes"/>
 <rng:ref name="att.global.analytic.attributes"/>
 <rng:ref name="att.global.facs.attributes"/>
 <rng:ref name="att.readFrom.attributes"/>
 <rng:choice>
  <rng:optional>
   <rng:attribute name="include">
    <rng:list>
     <rng:zeroOrMore>
      <rng:data type="NCName"/>
     </rng:zeroOrMore>
    </rng:list>
   </rng:attribute>
  </rng:optional>
  <rng:optional>
   <rng:attribute name="except">
    <rng:list>
     <rng:zeroOrMore>
      <rng:data type="NCName"/>
     </rng:zeroOrMore>
    </rng:list>
   </rng:attribute>
  </rng:optional>
 </rng:choice>
 <rng:choice>
  <rng:optional>
   <rng:attribute name="key">
    <rng:data type="NCName"/>
   </rng:attribute>
  </rng:optional>
  <rng:optional>
   <rng:attribute name="url">
    <rng:ref name="data.pointer"/>
   </rng:attribute>
  </rng:optional>
 </rng:choice>
 <rng:optional>
  <rng:ref name="content"/>
 </rng:optional>
</rng:element>
element moduleRef
{
   att.global.attributes,
   att.global.linking.attributes,
   att.global.analytic.attributes,
   att.global.facs.attributes,
   att.readFrom.attributes,
   (
      attribute include { list { xsd:NCName* } }?
    | attribute except { list { xsd:NCName* } }?
   ),
   ( attribute key { xsd:NCName }? | attribute url { data.pointer }? ),
   content?
}
Schematron

<sch:rule context="tei:moduleRef">
<sch:report test="* and @key">child elements of moduleRef are only allowed when an external module
is being loaded
</sch:report></sch:rule>
例子
<moduleRef key="linking"/>