Definition Type: Element
Name: Resource
Containing Schema: NewsML_1.2.xsd
Abstract
Documentation:
================================== Resource ==================================== An indication where a given resource can be found, and whether it is to be used as the default vocabulary for certain formal names within the current subtree of a NewsML document. The Urn attribute provides a NewsML URN for the res urce. THe Url attribute(s) provide(s) a location or locations where the resource may be found. The DefaultVocabularyFor element contains an XPath pattern. The identified resource acts as default vocabulary for any element within the subtree whose root is the parent of the current Catalog, that matches this XPath pattern. ================================================================================
Collapse XSD Schema Diagram:
Drilldown into DefaultVocabularyFor in schema newsml_1_2_xsd Drilldown into Url in schema newsml_1_2_xsd Drilldown into Urn in schema newsml_1_2_xsd Drilldown into Euid in schema newsml_1_2_xsd Drilldown into Duid in schema newsml_1_2_xsd Drilldown into localid in schema newsml_1_2_xsdXSD Diagram of Resource in schema newsml_1_2_xsd (News Markup Language (NewsML))
Collapse XSD Schema Code:
<xs:element name="Resource">
    <xs:annotation>
        <xs:documentation> 
================================== Resource ====================================
An indication where a given resource can be found, and whether it is to be used
as the default vocabulary for certain formal names within the current subtree
of a NewsML document. The Urn attribute provides a NewsML URN for the res
urce.
THe Url attribute(s) provide(s) a location or locations where the resource may
be found. The DefaultVocabularyFor element contains an XPath pattern. The
identified resource acts as default vocabulary for any element within the
subtree whose root is the parent of the current Catalog, that matches this XPath
pattern.
================================================================================

			</xs:documentation>
    </xs:annotation>
    <xs:complexType>
        <xs:sequence>
            <xs:element ref="Urn" minOccurs="0" />
            <xs:element ref="Url" minOccurs="0" maxOccurs="unbounded" />
            <xs:element ref="DefaultVocabularyFor" minOccurs="0" maxOccurs="unbounded" />
        </xs:sequence>
        <xs:attributeGroup ref="localid" />
    </xs:complexType>
</xs:element>
Collapse Child Elements:
Name Type Min Occurs Max Occurs
Urn Urn 0 (1)
Url Url 0 unbounded
DefaultVocabularyFor DefaultVocabularyFor 0 unbounded
Collapse Child Attributes:
Name Type Default Value Use
Duid Duid (Optional)
Euid Euid (Optional)