<memberOf>

<memberOf> especifica la pertenencia a una clase del elemento o clase padre. [22.4.3 Classification of Components]
Módulo tagdocs — Documentation Elements
Atributos
key⚓︎ especifica el identificador de una clase de la cual el elemento o clase indicados son un miembro o una subclase.
Estado Opcional
Tipo de datos teidata.name
mode⚓︎ especifica el efecto de esta declaración en su módulo padre.
Estado Opcional
Tipo de datos teidata.enumerated
Los valores admitidos son:
add
esta declaración se agrega a las definiciones actuales [Por defecto]
delete
esta declaración y todos sus hijos se suprimen de la disposición actual
max⚓︎ supplies the maximum number of times the element can occur in elements which use this model class in their content model
Estado Opcional
Tipo de datos teidata.numeric
min⚓︎ supplies the minumum number of times the element must occur in elements which use this model class in their content model
Estado Opcional
Tipo de datos teidata.numeric
Contenido en
tagdocs: classes
Puede contener
gaiji: g
datos de caracteres
Nota

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.

Ejemplo
<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).

Content model
<content>
 <macroRef key="macro.xtext"/>
</content>
Declaración
<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
}