<xs:element name="DefaultVocabularyFor">
<xs:annotation>
<xs:documentation>
============================ DefaultVocabularyFor ==============================
An indication that the parent Resource provides the default vocabulary that
determines the meanings and permitted values of the data occurring in a
particular part of a NewsML document subtree. The Context attribute is an
XPath pattern identifying the data to which the default vocabulary applies.
If the XPath pattern is one that matches elements, then it is the value of the
FormalName attribute of that element that is designated. If the XPath pattern
is one that matches attributes, then it is the value of that attribute itself
that is designated. The optional Scheme attribute identifies the relevant naming
scheme if the Resource contains more than one naming scheme. If the Resource is
a NewsML TopicSet, then the meaning of the data identified by the Context is
provided by the Topic whose FormalName subelement matches that data. If the
Resource is not a NewsML TopicSet, then the way in which it is interpreted in
order to provide a meaning for the data is not defined by NewsML but by the
authority that governs whatever format the Resource uses.
================================================================================
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attributeGroup ref="localid" />
<xs:attribute name="Context" type="xs:string" use="required" />
<xs:attribute name="Scheme" type="xs:string" />
</xs:complexType>
<!--
Example:
<NewsComponent>
<Catalog>
<Resource Duid="resource1">
<Urn>urn:newsml:iptc.org:20001006:Confidence:1</Urn>
<Url>www.iptc.org/NewsML/topicsets/iptc-confidence.xml</Url>
<DefaultVocabularyFor Context="@Confidence"/>
</Resource>
<Resource Duid="resource2">
<Urn>urn:newsml:iptc.org:20001006:Confidence:1</Urn>
<Url>www.iptc.org/NewsML/topicsets/iptc-confidence.xml</Url>
<DefaultVocabularyFor Context="@Confidence"/>
</Resource>
<Resource Duid="resource3">
<Urn>urn:newsml:iptc.org:20001006:HowPresent:1</Urn>
<Url>www.iptc.org/NewsML/topicsets/iptc-howpresent.xml</Url>
<DefaultVocabularyFor Context="@HowPresent"/>
</Resource>
</Catalog>
<TopicSet FormalName="Person">
<Topic Duid="topic1">
<TopicType FormalName="Person">
<Description Variant="Name">Bill Clinton</Description>
<Description Variant="Position">President of the USA</Description>
</TopicType>
</Topic>
</TopicSet>
</DescriptiveMetadata>
<TopicOccurrence
AssignedBy="Desk Editor"
Confidence="High"
HowPresent="Primary"
Topic="#topic1"/>
</DescriptiveMetadata>
...
</NewsComponent>
-->
</xs:element>
|