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

Recommended Reading:

Definitive XML Schema

 

Web Service Contract Design and Versioning for SOA

 

Advanced XML Applications

 

RevisionId

A positive integer indicating which Revision of a given NewsItem this is. Any positive integer may be used, but it must always be the case that of two instances of a NewsItem that have the same ProviderId, DateId and NewsItemId, the one whose RevisionId has the larger value must be the more recent revision. A RevisionId of 0 is not permitted. The PreviousRevision attribute must be present, and its value must be equal to the content of the RevisionId element of the NewsItem's previous revision, if there is one, and 0 if the NewsItem has no previous revision. If the NewsItem contains an Update element or elements, then the Update attribute must be set to U. If the NewsItem consists only of a replacement set of NewsManagement data, then the Update attribute must be set to A. If neither of these is the case, then the Update attribute must be set to N.

Element information

Type: Anonymous

Properties: Local, Qualified

Content

  • xsd:positiveInteger
  • Attributes

    NameOccTypeDescriptionNotes
    PreviousRevision [0..1]xsd:nonNegativeIntegerDefault value is "0".
    Update [0..1]updateTypeDefault value is "N".

    Used in

    Sample instance

    <RevisionId>1</RevisionId>

    Site developed and hosted by Datypic, Inc.

    Please report errors or comments about this site to contrib@functx.com