<relation>
<relation> (relationship) describes any kind of relationship or linkage amongst a specified group of participants. 15.2.2 The Participant Description | |||||||||||||||||||||||||||||||||||||||||
Module | namesdates — 13 Names, Dates, People, and Places | ||||||||||||||||||||||||||||||||||||||||
Attributes | att.datableatt.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, @precision) att.naming (@key, @ref, @nymRef)
| ||||||||||||||||||||||||||||||||||||||||
Used by | listNym listOrg listPerson listPlace relationGrp | ||||||||||||||||||||||||||||||||||||||||
May contain | core: desc | ||||||||||||||||||||||||||||||||||||||||
Declaration |
element relation { att.global.attributes, att.datable.w3c.attributes, att.datable.iso.attributes, att.editLike.attributes, att.naming.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? } | ||||||||||||||||||||||||||||||||||||||||
Example | <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. | ||||||||||||||||||||||||||||||||||||||||
Example | <relation type="personal" name="friends" mutual="#p2 #p3 #p4"/> This indicates that p2, p3, and p4 are all friends. | ||||||||||||||||||||||||||||||||||||||||
Note | Only one of the attributes active and
mutual may be supplied; the attribute passive
may be supplied only if the attribute active is supplied. Not all
of these constraints can be enforced in all schema languages. |