<memberOf>

<memberOf> 標明父元素或元素集所屬的元素集。 [22.4.3 Classification of Components]
組件tagdocs — Documentation Elements
屬性att.global (@xml:id, @n, @xml:lang, @xml:base, @xml:space) (att.global.rendition (@rend, @style, @rendition)) (att.global.linking (@corresp, @synch, @sameAs, @copyOf, @next, @prev, @exclude, @select)) (att.global.analytic (@ana)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source))
key標明一元素集的識別名稱,該元素集為所紀錄元素或元素集之所屬或附屬元素集
狀態 非必備的
資料類型 teidata.name
modespecifies the effect of this declaration on its parent module.
狀態 非必備的
資料類型 teidata.enumerated
合法的值是:
add
this declaration is added to the current definitions [預設值]
delete
this declaration and all of its children are removed from the current setup
maxsupplies the maximum number of times the element can occur in elements which use this model class in their content model
狀態 非必備的
資料類型 teidata.numeric
minsupplies the minumum number of times the element must occur in elements which use this model class in their content model
狀態 非必備的
資料類型 teidata.numeric
可包含在於
tagdocs: classes
可包含
gaiji: g
character data
例子
<memberOf key="model.divLike"/>
<memberOf key="att.identified"/>
Content model
<content>
 <macroRef key="macro.xtext"/>
</content>
宣告
<rng:element name="memberOf">
 <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="key">
   <rng:ref name="teidata.name"/>
  </rng:attribute>
 </rng:optional>
 <rng:optional>
  <rng:attribute name="mode"
   a:defaultValue="add">

   <rng:choice>
    <rng:value>add</rng:value>
    <rng:value>delete</rng:value>
   </rng:choice>
  </rng:attribute>
 </rng:optional>
 <rng:optional>
  <rng:attribute name="max">
   <rng:ref name="teidata.numeric"/>
  </rng:attribute>
 </rng:optional>
 <rng:optional>
  <rng:attribute name="min">
   <rng:ref name="teidata.numeric"/>
  </rng:attribute>
 </rng:optional>
 <rng:ref name="macro.xtext"/>
</rng:element>
element memberOf
{
   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 key { teidata.name }?,
   attribute mode { "add" | "delete" }?,
   attribute max { teidata.numeric }?,
   attribute min { teidata.numeric }?,
   macro.xtext
}