| <relation> 
  指定された参加者グループ間の関連性の種類を示す.
   15.2.2 The Participant Description | 
| モジュール | namesdates — 13 Names, Dates, People, and Places | 
| 属性 |  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)) | type | 
      当該関係を分類する.例えば,社会的関係,個人的関係など.
      | 状態  | 任意 |  | データ型  |  |  | 提案する値は以下の通り: | - social
 - 
          社会的役割を伴う関係.
          
 - personal
 - 
          個人的役割を伴う関係.例えば,親類,婚姻など.
           [初期値]
 - other
 - 
          他の関係.
          
 
  |  
  |  | name | 
      当該関係の種類名を示す.
      | 状態  | 必須 |  | データ型  |  |  | 値  | an open list of application-dependent keywords |  
  |  | active | identifies the ‘active’ participants in a non-mutual
relationship, or all the participants in a mutual one.| 状態  | 任意 |  | データ型  |  1–∞ occurrences of  空白文字で区切られる |  | 値  | a list of identifier values for participant or participant
groups |  
  |  | mutual | supplies a list of participants amongst all of whom the relationship holds equally.| 状態  | 使えるならば必須 |  | データ型  |  1–∞ occurrences of  空白文字で区切られる |  | 値  | a list of identifier values for participant or participant
groups |  
  |  | passive | 
      一方向の関係における‘受動的な’参加者を指定す
      る.
      | 状態  | 任意 |  | データ型  |  1–∞ occurrences of  空白文字で区切られる |  | 値  | a list of identifier values for participant or participant
groups |  
  |  
  | 
| 当該モジュールを使用するもの |  | 
| 下位 |  | 
| 宣言 |  <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="type" a: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?
} | 
| 例 | <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.  | 
| 例 | <relation type="personal" name="friends" mutual="#p2 #p3 #p4"/> This indicates that p2, p3, and p4 are all friends.  | 
| 解説 | 
    属性activeか属性mutualのどちらかのみが付与さ
    れる.属性passiveは,属性activeが付与されて
    いる場合にのみ使用される.どのスキーマ言語でも,全ての構成要素が使
    われるというものではない.
      |