<memberOf>

<memberOf> 標明父元素或元素集所屬的元素集。
組件 tagdocs — 22 Documentation Elements
除全域屬性以外
key 標明一元素集的識別名稱,該元素集為所紀錄元素或元素集之所屬或附屬元素集
狀態 非必備的
資料類型

<rng:ref name="data.name"/>
data.name
mode specifies the effect of this declaration on its parent module.
狀態 非必備的
合法的值是:
add
this declaration is added to the current definitions [預設值]
delete
this declaration and all of its children are removed from the current setup
屬於
可包含
gaiji: g
宣告

<rng:element name="memberOf">
 <rng:ref name="att.global.attributes"/>
 <rng:optional>
  <rng:attribute name="key">
   <rng:ref name="data.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:ref name="macro.xtext"/>
</rng:element>
element memberOf
{
   att.global.attributes,
   attribute key { data.name }?,
   attribute mode { "add" | "delete" }?,
   macro.xtext
}
例子
<memberOf key="model.divLike"/>
<memberOf key="att.identified"/>