<relation>
<relation> (人際關係) 描述在特定團體中,參與者彼此之間的關係或關聯。 15.2.2 The Participant Description | |||||||||||||||||||||||||||||||||||||||||
組件 | namesdates — 13 Names, Dates, People, and Places | ||||||||||||||||||||||||||||||||||||||||
屬性 | 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)
| ||||||||||||||||||||||||||||||||||||||||
屬於 | listNym listOrg listPerson listPlace relationGrp | ||||||||||||||||||||||||||||||||||||||||
可包含 | core: desc | ||||||||||||||||||||||||||||||||||||||||
宣告 |
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? } | ||||||||||||||||||||||||||||||||||||||||
例子 | <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. |