<memberOf>

<memberOf> specifica l'appartenenza a una classe dell'elemento o classe genitori
Modulotagdocs — 22 Documentation Elements
Attributi
keyindica l'identificatore di una classe di cui l'elemento o classe indicati sono un membro o una sottoclasse
Stato Opzionale
Tipo di dati
data.name
modespecifica l'effetto della dichiarazione sul modulo genitore
Stato Opzionale
I valori legali sono:
add
la dichiarazione è aggiunta alle definizioni correnti [Valore di default]
delete
la dichiarazione e i suoi discendenti sono esclusi dall'impostazione corrente
Usato daclasses
Può contenere
gaiji: g
Dichiarazione
element memberOf
{
   att.global.attributes,
   attribute key { data.name }?,
   attribute mode { "add" | "delete" }?,
   macro.xtext
}
Esempio
<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).

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.