<attRef>

<attRef> (屬性指標) 連結到屬性或屬性群組的定義。 [23.2 Modules and Schemas]
組件 tagdocs — Documentation Elements
屬性
class⚓︎ the name of the attribute class
狀態 非必備的
資料類型 teidata.name
name⚓︎ the identifier (ident) of the attribute being referred to
Deprecated This feature will be withdrawn after 2026-11-13
狀態 非必備的
資料類型 teidata.name
key⚓︎ the identifier (ident) of the attribute being referred to
狀態 非必備的
資料類型 teidata.name
可包含在於
tagdocs: attList
可包含 空白元素
例子
<attRef class="att.globalkey="xml:id"/>
Content model
<content>
 <empty/>
</content>
宣告
<rng:element name="attRef">
 <rng:ref name="att.global.attributes"/>
 <rng:ref name="att.global.analytic.attributes"/>
 <rng:ref name="att.global.change.attributes"/>
 <rng:ref name="att.global.facs.attributes"/>
 <rng:ref name="att.global.linking.attributes"/>
 <rng:ref name="att.global.rendition.attributes"/>
 <rng:ref name="att.global.responsibility.attributes"/>
 <rng:ref name="att.global.source.attributes"/>
 <rng:optional>
  <rng:attribute name="class">
   <rng:ref name="teidata.name"/>
  </rng:attribute>
 </rng:optional>
 <rng:choice>
  <rng:optional>
   <rng:attribute name="name">
    <rng:ref name="teidata.name"/>
   </rng:attribute>
  </rng:optional>
  <rng:optional>
   <rng:attribute name="key">
    <rng:ref name="teidata.name"/>
   </rng:attribute>
  </rng:optional>
 </rng:choice>
 <rng:empty/>
</rng:element>
element attRef
{
   att.global.attributes,
   att.global.analytic.attributes,
   att.global.change.attributes,
   att.global.facs.attributes,
   att.global.linking.attributes,
   att.global.rendition.attributes,
   att.global.responsibility.attributes,
   att.global.source.attributes,
   attribute class { teidata.name }?,
   ( attribute name { teidata.name }? | attribute key { teidata.name }? ),
   empty
}