<moduleRef>

<moduleRef> (referencia de módulo) indica un módulo que se ha de incluir al interno de un esquema.
Módulotagdocs — 22 Documentation Elements
Atributos
keyel nombre de un módulo de TEI
Estado Opcional
Tipo de datos

<rng:data type="NCName"/>
xsd:NCName
url (localizador de recurso uniforme) se refiere a un módulo no-de-TEI del código de RELAX NG mediante una localización externa
Estado Opcional
Tipo de datos

<rng:ref name="data.pointer"/>
data.pointer
Usado por
Puede contener
tagdocs: content
Declaración

<rng:element name="moduleRef">
<rng:ref name="att.global.attributes"/>
<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,
   ( attribute key { xsd:NCName }? | attribute url { data.pointer }? ),
   content?
}

<sch:pattern name="testschemapattern">
<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>
</sch:pattern>
Ejemplo
<moduleRef key="linking"/>

This embeds the linking module.