<classRef>

<classRef> points to the specification for an attribute or model class which is to be included in a schema
Moduletagdocs — 22 Documentation Elements
Attributesatt.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.global.change (@change)) att.readFrom (@source)
keythe identifier used for the required class within the source indicated.
Status Required
Datatype

<rng:data type="NCName"/>
xsd:NCName
Used by
Contained by
May containEmpty element
Declaration

<rng:element name="classRef">
 <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.global.change.attributes"/>
 <rng:ref name="att.readFrom.attributes"/>
 <rng:attribute name="key">
  <rng:data type="NCName"/>
 </rng:attribute>
 <rng:empty/>
</rng:element>
element classRef
{
   att.global.attributes,
   att.global.linking.attributes,
   att.global.analytic.attributes,
   att.global.facs.attributes,
   att.global.change.attributes,
   att.readFrom.attributes,
   attribute key { xsd:NCName },
   empty
}
Example

<!-- example needed -->
Note
Attribute and model classes are identified by the name supplied as value for the ident attribute on the classSpec element in which they are declared. All TEI names are unique; attribute class names conventionally begin with the latters att..