<attRef>

<attRef> (attribute pointer) points to the definition of an attribute or group of attributes.
Module tagdocs — 22 Documentation Elements
In addition to global attributes In addition to global attributes
name the name of the pattern defining the attribute(s)
Status Required
Datatype

<rng:ref name="data.word"/>
data.word
Used by
May contain Empty element
Declaration

<rng:element name="attRef">
 <rng:ref name="att.global.attributes"/>
 <rng:attribute name="name">
  <rng:ref name="data.word"/>
 </rng:attribute>
 <rng:empty/>
</rng:element>
element attRef { att.global.attributes, attribute name { data.word }, empty }
Example
<attRef name="att.global.attribute.xml:id"/>