Schema Central > NewsML 1.2 > NewsML_1.2.xsd > NewsML
Advanced search
Need Schema Help?

Recommended Reading:

Definitive XML Schema

 

Web Service Contract Design and Versioning for SOA

 

Advanced XML Applications

 

NewsML

A NewsML document, which must contain a NewsEnvelope and one or more NewsItems, and may include a Catalog element and a TopicSet element. The Version attribute, introduced in version 1.1, is used to signify the version of NewsML that the instance is validated against. It should always be used if the version is above 1.0. 

Element information

Type: Anonymous

Properties: Global, Qualified

Content

Attributes

NameOccTypeDescriptionNotes
Duid [0..1]xsd:IDDuid 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:stringEuid 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
Version [0..1]AnonymousThe Version attribute, introduced in version 1.1, is used to signify the version of NewsML that the instance is validated against. It should always be used if the version is above 1.0.

Sample instance

<NewsML>
   <Catalog>
      <Resource>
         <Urn>string</Urn>
         <Url>string</Url>
         <DefaultVocabularyFor Context="string"/>
      </Resource>
      <TopicUse Topic="string" Context="string"/>
   </Catalog>
   <TopicSet FormalName="string">
      <Comment>string</Comment>
      <Catalog>
         <Resource>...
         </Resource>
         <TopicUse Topic="string" Context="string"/>
      </Catalog>
      <TopicSetRef>
         <Comment>string</Comment>
      </TopicSetRef>
      <Topic>
         <Comment>string</Comment>
         <Catalog>...
         </Catalog>
         <TopicType FormalName="string"/>
         <FormalName>string</FormalName>
         <Description>string</Description>
         <Property FormalName="string">...
         </Property>
      </Topic>
   </TopicSet>
   <NewsEnvelope>
      <TransmissionId>string</TransmissionId>
      <SentFrom>
         <Comment>string</Comment>
         <Party FormalName="string">...
         </Party>
      </SentFrom>
      <SentTo>
         <Comment>string</Comment>
         <Party FormalName="string">...
         </Party>
      </SentTo>
      <DateAndTime>string</DateAndTime>
      <NewsService FormalName="string"/>
      <NewsProduct FormalName="string"/>
      <Priority FormalName="string"/>
   </NewsEnvelope>
   <NewsItem>
      <Comment>string</Comment>
      <Catalog>
         <Resource>...
         </Resource>
         <TopicUse Topic="string" Context="string"/>
      </Catalog>
      <Identification>
         <NewsIdentifier>...
         </NewsIdentifier>
         <NameLabel>string</NameLabel>
         <DateLabel>string</DateLabel>
         <Label>...
         </Label>
      </Identification>
      <NewsManagement>
         <NewsItemType FormalName="string"/>
         <FirstCreated>string</FirstCreated>
         <ThisRevisionCreated>string</ThisRevisionCreated>
         <Status FormalName="string"/>
         <StatusWillChange>...
         </StatusWillChange>
         <Urgency FormalName="string"/>
         <RevisionHistory Href="string"/>
         <DerivedFrom>...
         </DerivedFrom>
         <AssociatedWith>...
         </AssociatedWith>
         <Instruction FormalName="string">...
         </Instruction>
         <Property FormalName="string">...
         </Property>
      </NewsManagement>
      <NewsComponent>
         <Comment>string</Comment>
         <Catalog>...
         </Catalog>
         <TopicSet FormalName="string">...
         </TopicSet>
         <Role FormalName="string"/>
         <BasisForChoice>string</BasisForChoice>
         <NewsLines>...
         </NewsLines>
         <AdministrativeMetadata>...
         </AdministrativeMetadata>
         <RightsMetadata>...
         </RightsMetadata>
         <DescriptiveMetadata>...
         </DescriptiveMetadata>
         <Metadata>...
         </Metadata>
         <NewsItem>...
         </NewsItem>
      </NewsComponent>
   </NewsItem>
</NewsML>

Site developed and hosted by Datypic, Inc.

Please report errors or comments about this site to pwalmsley@datypic.com