<memberOf>

<memberOf> specifies class membership of the documented element or class. [22.4.3 Classification of Components]
Moduletagdocs — Documentation Elements
Attributesatt.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))
keyspecifies the identifier for a class of which the documented element or class is a member or subclass
Status Optional
Datatype

<rng:ref name="data.name"/>
data.name
modespecifies the effect of this declaration on its parent module.
Status Optional
Datatype

<rng:ref name="data.enumerated"/>
data.enumerated
Legal values are:
add
this declaration is added to the current definitions [Default]
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
Status Optional
Datatype

<rng:ref name="data.numeric"/>
data.numeric
minsupplies the minumum number of times the element must occur in elements which use this model class in their content model
Status Optional
Datatype

<rng:ref name="data.numeric"/>
data.numeric
Contained by
tagdocs: classes
May contain
gaiji: g
Declaration

<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:optional>
  <rng:attribute name="key">
   <rng:ref name="data.name"/>
  </rng:attribute>
 </rng:optional>
 <rng:optional>
  <rng:attribute name="mode"
   a:defaultValue="add">

   <xhtml:dl class="valList"/>
  </rng:attribute>
 </rng:optional>
 <rng:optional>
  <rng:attribute name="max">
   <rng:ref name="data.numeric"/>
  </rng:attribute>
 </rng:optional>
 <rng:optional>
  <rng:attribute name="min">
   <rng:ref name="data.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,
   attribute key { data.name }?,
   attribute mode { text }?,
   attribute max { data.numeric }?,
   attribute min { data.numeric }?,
   macro.xtext
}
Example
<memberOf key="model.divLike"/>
<memberOf key="att.identified"/>

This element will appear in any content model which references model.divLike, and will have attributes defined in att.identified (in addition to any defined explicitly for this element).

Note

Elements or classes which are members of multiple (unrelated) classes will have more than one memberOf element, grouped by a classes element. If an element is a member of a class C1, which is itself a subclass of a class C2, there is no need to state this, other than in the documentation for class C1.

Any additional comment or explanation of the class membership may be provided as content for this element.