<classes>

<classes> (classes) 標明所記錄的元素或元素集所屬或是附屬的所有元素集。 [22.5 Element Specifications 22.6 Class Specifications]
組件 tagdocs — Documentation Elements
屬性
mode⚓︎ specifies the effect of this declaration on its parent module.
狀態 非必備的
資料類型 teidata.enumerated
合法的值是:
change
this declaration changes the declaration of the same name in the current definition
replace
this declaration replaces the declaration of the same name in the current definition [預設值]
可包含在於
可包含
tagdocs: memberOf

An empty classes element indicates that the element documented is not a member of any class. This should not generally happen.

例子
<classes>
 <memberOf key="model.attributable"/>
 <memberOf key="att.declarable"/>
</classes>

This classes element indicates that the element documented (which may be an element or a class) is a member of two distinct classes: model.attributable and att.declarable.

Content model
<content>
 <elementRef key="memberOfminOccurs="0"
  maxOccurs="unbounded"/>

</content>
宣告
<rng:element name="classes">
 <rng:ref name="att.global.attributes"/>
 <rng:ref name="att.global.rendition.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.global.responsibility.attributes"/>
 <rng:ref name="att.global.source.attributes"/>
 <rng:optional>
  <rng:attribute name="mode"
   a:defaultValue="replace">

   <rng:choice>
    <rng:value>change</rng:value>
    <rng:value>replace</rng:value>
   </rng:choice>
  </rng:attribute>
 </rng:optional>
 <rng:zeroOrMore>
  <rng:ref name="memberOf"/>
 </rng:zeroOrMore>
</rng:element>
element classes
{
   att.global.attributes,
   att.global.rendition.attributes,
   att.global.linking.attributes,
   att.global.analytic.attributes,
   att.global.facs.attributes,
   att.global.change.attributes,
   att.global.responsibility.attributes,
   att.global.source.attributes,
   attribute mode { "change" | "replace" }?,
   memberOf*
}