Skip to content

<listRelation>

provides information about relationships identified amongst people, places, and organizations, either informally as prose or as formally expressed relation links.

Module namesdatesNDPERSREL

Attributes

Classes and content

Member of
May contain

linking

Contained by

cmc

spoken

verse

Note

May contain a prose description organized as paragraphs, or a sequence of relation elements.

Examples

<listPerson>
  <person xml:id="pp1">
    <!-- data about person pp1 -->
  </person>
  <person xml:id="pp2">
    <!-- data about person pp1 -->
  </person>
  <!-- more person (pp3, pp4) elements here -->
  <listRelation type="personal">
    <relation name="parent" active="#pp1 #pp2" passive="#pp3 #pp4"/>
    <relation name="spouse" mutual="#pp1 #pp2"/>
  </listRelation>
  <listRelation type="social">
    <relation name="employer" active="#pp1" passive="#pp3 #pp5 #pp6 #pp7"/>
  </listRelation>
</listPerson>

The persons with identifiers pp1 and pp2 are the parents of pp3 and pp4; they are also married to each other; pp1 is the employer of pp3, pp5, pp6, and pp7.

<listPerson>
  <person xml:id="en_pp1">
    <!-- data about person en_pp1 -->
  </person>
  <person xml:id="en_pp2">
    <!-- data about person en_pp2 -->
  </person>
  <!-- more person (en_pp3, en_pp4) elements here -->
</listPerson>
<listPlace>
  <place xml:id="en_pl1">
    <!-- data about place en_pl1 -->
  </place>
  <!-- more place (en_pl2, en_pl3) elements here -->
</listPlace>
<listRelation>
  <relation name="residence" active="#en_pp1 #en_pp2" passive="#en_pl1"/>
</listRelation>

The persons with identifiers en_pp1 and en_pp2 live in en_pl1.

<listRelation>
  <p>All speakers are members of the Ceruli family, born in Naples.</p>
</listRelation>

Content model

<content>
    <sequence>
      <classRef key="model.headLike" minOccurs="0" maxOccurs="unbounded"/>
      <elementRef key="desc" minOccurs="0" maxOccurs="unbounded"/>
      <alternate minOccurs="1" maxOccurs="1">
        <classRef key="model.pLike"/>
        <alternate minOccurs="1" maxOccurs="unbounded">
          <elementRef key="relation" minOccurs="1" maxOccurs="1"/>
          <elementRef key="listRelation" minOccurs="1" maxOccurs="1"/>
        </alternate>
      </alternate>
    </sequence>
  </content>