<attRef>

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

<rng:ref name="data.word"/>
data.word
Used by
May containEmpty 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"/>