<relation>

<relation> (relazione) descrive una qualsiasi relazione o legame all'interno di un determinato gruppo di persone 15.2.2 The Participant Description
Modulonamesdates — 13 Names, Dates, People, and Places
Attributi att.datable (att.datable.w3c (@period, @when, @notBefore, @notAfter, @from, @to)) (att.datable.iso (@when-iso, @notBefore-iso, @notAfter-iso, @from-iso, @to-iso)) att.editLike (@cert, @resp, @evidence, @source) (att.dimensions (@unit, @quantity, @extent, @atLeast, @atMost, @min, @max, @precision, @scope)) att.naming (@nymRef) (att.canonical (@key, @ref))
typeclassifica la relazione come sociale, personale, o altro
Stato Opzionale
Tipo di dati

<rng:ref name="data.enumerated"/>
data.enumerated
I valori suggeriti includono:
social
relazione basata su ruoli sociali
personal
relazione che interessa ruoli sociali, come parentela, matrimonio, ecc. [Valore di default]
other
altro tipo di relazione
nameassegna un nome al tipo di relazione che rappresenta
Stato Richiesto
Tipo di dati

<rng:ref name="data.enumerated"/>
data.enumerated
Valori an open list of application-dependent keywords
activeidentifica i partecipanti attivi in una relazione di non reciprocità, oppure tutti i partecipanti in una relazione di reciprocità
Stato Opzionale
Tipo di dati 1–∞ occorrenze di

<rng:ref name="data.pointer"/>
data.pointer
separato da spazio bianco
Valori a list of identifier values for participant or participant groups
mutualfornisce una lista di partecipanti tra i quali c'è una relazione paritaria
Stato Obbligatorio se applicabile
Tipo di dati 1–∞ occorrenze di

<rng:ref name="data.pointer"/>
data.pointer
separato da spazio bianco
Valori a list of identifier values for participant or participant groups
passiveidentifica i partecipanti ‘passivi’all'interno di una relazione di non reciprocità.
Stato Opzionale
Tipo di dati 1–∞ occorrenze di

<rng:ref name="data.pointer"/>
data.pointer
separato da spazio bianco
Valori a list of identifier values for participant or participant groups
Usato da
Può contenere
core: desc
Dichiarazione

<rng:element name="relation">
<rng:ref name="att.global.attributes"/>
<rng:ref name="att.datable.w3c.attributes"/>
<rng:ref name="att.datable.iso.attributes"/>
<rng:ref name="att.editLike.attributes"/>
<rng:ref name="att.dimensions.attributes"/>
<rng:ref name="att.naming.attributes"/>
<rng:ref name="att.canonical.attributes"/>
<rng:optional>
 <rng:attribute name="typea:defaultValue="personal">
  <rng:choice>
   <rng:value>social</rng:value>
   <rng:value>personal</rng:value>
   <rng:value>other</rng:value>
   <rng:data type="Name"/>
  </rng:choice>
 </rng:attribute>
</rng:optional>
<rng:attribute name="name">
 <rng:ref name="data.enumerated"/>
</rng:attribute>
<rng:choice>
 <rng:optional>
  <rng:attribute name="active">
   <rng:list>
    <rng:oneOrMore>
     <rng:ref name="data.pointer"/>
    </rng:oneOrMore>
   </rng:list>
  </rng:attribute>
 </rng:optional>
 <rng:optional>
  <rng:attribute name="mutual">
   <rng:list>
    <rng:oneOrMore>
     <rng:ref name="data.pointer"/>
    </rng:oneOrMore>
   </rng:list>
  </rng:attribute>
 </rng:optional>
</rng:choice>
<rng:optional>
 <rng:attribute name="passive">
  <rng:list>
   <rng:oneOrMore>
    <rng:ref name="data.pointer"/>
   </rng:oneOrMore>
  </rng:list>
 </rng:attribute>
</rng:optional>
<rng:optional>
 <rng:ref name="desc"/>
</rng:optional>
</rng:element>
element relation
{
   att.global.attributes,
   att.datable.w3c.attributes,
   att.datable.iso.attributes,
   att.editLike.attributes,
   att.dimensions.attributes,
   att.naming.attributes,
   att.canonical.attributes,
   attribute type { "social" | "personal" | "other" | xsd:Name }?,
   attribute name { data.enumerated },
   (
      attribute active { list { data.pointer+ } }?
    | attribute mutual { list { data.pointer+ } }?
   ),
   attribute passive { list { data.pointer+ } }?,
   desc?
}
Esempio
<relation
  type="social"
  name="supervisor"
  active="#p1"
  passive="#p2 #p3 #p4"/>

This indicates that the person with identifier p1 is supervisor of persons p2, p3, and p4.

Esempio
<relation type="personalname="friendsmutual="#p2 #p3 #p4"/>

This indicates that p2, p3, and p4 are all friends.