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
Namespace: http://iptc.org/std/NewsML/2003-10-10/
Schema document: NewsML_1.2.xsd
Type: Anonymous
Properties: Local, Qualified
Content
Attributes
Name | Occ | Type | Description | Notes |
---|---|---|---|---|
PreviousRevision | [0..1] | xsd:nonNegativeInteger | Default value is "0". | |
Update | [0..1] | updateType | Default value is "N". |
Used in
- Anonymous type of element NewsIdentifier
Sample instance
<RevisionId>1</RevisionId>