The following XML snippets each expresses a different reality:
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<ResourceContributor> <PartyName> <FullName> John Smith </FullName> <PartyName> <ResourceContributorRole> Soloist </ResourceContributorRole> <ResourceContributorRole> Producer </ResourceContributorRole> </ResourceContributor> |
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<Contributor> <ContributorPartyReference>P345</ContributorPartyReference> <Role>Soloist</Role> <Role>Producer</Role> </Contributor> |
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<ResourceContributor> <PartyName> <FullName> John Smith </FullName> <PartyName> <ResourceContributorRole> Soloist </ResourceContributorRole> </ResourceContributor> <ResourceContributor> <PartyName> <FullName> John Smith </FullName> <PartyName> <ResourceContributorRole> Producer </ResourceContributorRole> </ResourceContributor> |
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<Contributor> <ContributorPartyReference>P345</ContributorPartyReference> <Role>Soloist </Role> </Contributor> <Contributor> <ContributorPartyReference>P741</ContributorPartyReference> <Role>Producer</Role> </Contributor> |
The sample on the left shows one person, John Smith, who played two roles, soloist and producer, during the creation of a sound recording or video. The sample on the right, shows two different people, unfortunately both called John Smith, each of which plays one role each. To avoid this confusion, it is recommended to always add a Party ID to any composite describing parties.