<relation>
<relation> (relation) décrit tout type de relation ou de lien à l'intérieur d'un groupe donné de participants. 15.2.2 The Participant Description | |||||||||||||||||||||||||||||||||||||||||
Module | namesdates — 13 Names, Dates, People, and Places | ||||||||||||||||||||||||||||||||||||||||
En complément des attributs globaux | 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 (@evidence, @source) (att.dimensions (@unit, @quantity, @extent, @precision, @scope) (att.ranging (@atLeast, @atMost, @min, @max)) ) (att.responsibility (@cert, @resp)) att.naming (@role, @nymRef) (att.canonical (@key, @ref))
|
||||||||||||||||||||||||||||||||||||||||
Utilisé par | |||||||||||||||||||||||||||||||||||||||||
Peut contenir |
core: desc
|
||||||||||||||||||||||||||||||||||||||||
Declaration |
element relation { att.global.attributes, att.datable.w3c.attributes, att.datable.iso.attributes, att.editLike.attributes, att.dimensions.attributes, att.ranging.attributes, att.responsibility.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? } |
||||||||||||||||||||||||||||||||||||||||
<s:report test="@active and @mutual">Only one of the attributes 'active' and 'mutual' may be supplied</s:report> |
|||||||||||||||||||||||||||||||||||||||||
<s:report test="@passive and not(@active)">the attribute 'passive' may be supplied only if the attribute 'active' is supplied</s:report> |
|||||||||||||||||||||||||||||||||||||||||
Exemple |
<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. |
||||||||||||||||||||||||||||||||||||||||
Exemple |
<relation type="personal" name="friends" mutual="#p2 #p3 #p4"/>
This indicates that p2, p3, and p4 are all friends. |
||||||||||||||||||||||||||||||||||||||||
Note |
Un seul des attributs active et mutual peut être fourni ; l'attribut passive ne peut être utilisé que si
l'attribut active est fourni. Tous les langages de schéma ne sont pas capables d'exprimer la totalité de ces contraintes.
|