Catalog
Element information
Namespace: http://iptc.org/std/NewsML/2003-10-10/
Schema document: NewsML_1.2.xsd
Type: CatalogType
Properties: Local, Qualified
Content
- Sequence [1..1]
- Resource [0..*] 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 resource. 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.
- TopicUse [0..*] An indication of where a particular Topic is used in a NewsML document. The value of the Topic attribute must consist of a # character followed by the value of the Duid of a Topic in the current document. The value of the Context attribute is an XPath pattern indicating the context where the referenced topic is used within the subtree to which the current Catalog applies. If the Context attribute is not present, the TopicUse element simply states that this topic is present somewhere in the subtree.
Attributes
Name | Occ | Type | Description | Notes |
---|---|---|---|---|
Duid | [0..1] | xsd:ID | Duid is a "Document-unique Identifier". It must satisfy the rules for XML ID attributes: it must only contain name characters, and it must start with a name-start character (not a digit). Its value must be unique within any NewsML document. Every NewsML element type has Duid as an optional attribute. Combined with the Identifier element, providing a value for the Duid of any element in a NewsML document makes the element globally identifiable. The Identifier element gives global identification to the document, and the Duid provides local identification for the element within the document. | from group localid |
Euid | [0..1] | xsd:string | Euid is an "Element-unique Identifier". Its value must be unique among elements of the same element-type and having the same parent element. Use of Euid attribute makes it possible to identify any NewsML element within the context of its local branch of the NewsML document tree. This makes it possible to copy, or include by reference, subtrees into new combinations in ways that would break the uniqueness of Duids (thereby forcing new Duids to be allocated), but still being able to retain the identity of each element. If Euids are maintained at every level, it is possible to identify, for example "The ContentItem whose Euid is abc within the NewsComponent whose Euid is def". Such identification patterns would be preserved even after "pruning and grafting" of subtrees. | from group localid |
Href | [0..1] | xsd:string |
Used in
- Anonymous type of element AdministrativeMetadata
- Anonymous type of element ContentItem
- Anonymous type of element DescriptiveMetadata
- Anonymous type of element Metadata
- Anonymous type of element NewsML
- Anonymous type of element RightsMetadata
- Anonymous type of element Topic
- Type NewsComponentType (Element NewsComponent)
- Type NewsItemType (Element NewsItem)
- Type TopicSetType (Element TopicSet)
Sample instance
<Catalog> <Resource> <Urn>string</Urn> <Url>string</Url> <DefaultVocabularyFor Context="string"/> </Resource> <TopicUse Topic="string" Context="string"/> </Catalog>