Definition Type: Element
Name: RevisionId
Type: positiveInteger:http://www.w3.org/2001/XMLSchema
Containing Schema: NewsML_1.2.xsd
Abstract
Default 1
Documentation:
================================== 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. ================================================================================
Collapse XSD Schema Diagram:
Drilldown into Update in schema newsml_1_2_xsd Drilldown into PreviousRevision in schema newsml_1_2_xsdXSD Diagram of RevisionId in schema newsml_1_2_xsd (News Markup Language (NewsML))
Collapse XSD Schema Code:
<xs:element name="RevisionId" default="1">
    <xs:annotation>
        <xs:documentation> 
================================== 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.
================================================================================

			</xs:documentation>
    </xs:annotation>
    <xs:complexType>
        <xs:simpleContent>
            <xs:extension base="xs:positiveInteger">
                <xs:attribute name="PreviousRevision" type="xs:nonNegativeInteger" default="0" />
                <xs:attribute name="Update" type="xs:string" default="N" />
            </xs:extension>
        </xs:simpleContent>
    </xs:complexType>
</xs:element>
Collapse Child Attributes:
Name Type Default Value Use
PreviousRevision PreviousRevision 0 (Optional)
Update Update N (Optional)