Definition Type: Element
Name: Replace
Type: anyType:http://www.w3.org/2001/XMLSchema
Containing Schema: NewsML_1.2.xsd
Abstract
Documentation:
=================================== Replace ==================================== An instruction to replace a designated element within a NewsItem. The element that is to replace the designated element is the content of the Replace element. The NewsItem within which the replacement takes place is the previous revision of the current one, and the element to be replaced is the one whose Duid value is equal to the value of the Replace element's DuidRefattribute. ================================================================================
Collapse XSD Schema Diagram:
Drilldown into DuidRef in schema newsml_1_2_xsd Drilldown into Euid in schema newsml_1_2_xsd Drilldown into Duid in schema newsml_1_2_xsd Drilldown into localid in schema newsml_1_2_xsdXSD Diagram of Replace in schema newsml_1_2_xsd (News Markup Language (NewsML))
Collapse XSD Schema Code:
<xs:element name="Replace">
    <xs:annotation>
        <xs:documentation>
=================================== Replace ====================================
An instruction to replace a designated element within a NewsItem. The element
that is to replace the designated element is the content of the Replace element.
The NewsItem within which the replacement takes place is the previous revision
of the current one, and the element to be replaced is the one whose Duid
value is equal to the value of the Replace element's DuidRefattribute.
================================================================================

			</xs:documentation>
    </xs:annotation>
    <xs:complexType>
        <xs:complexContent>
            <xs:restriction base="xs:anyType">
                <xs:sequence>
                    <xs:any processContents="lax" minOccurs="0" maxOccurs="unbounded" />
                </xs:sequence>
                <xs:attributeGroup ref="localid" />
                <xs:attribute name="DuidRef" type="xs:IDREF" use="required" />
            </xs:restriction>
        </xs:complexContent>
    </xs:complexType>
</xs:element>
Collapse Child Elements:
Name Type Min Occurs Max Occurs
<xs:any> 0 unbounded
Collapse Child Attributes:
Name Type Default Value Use
Duid Duid (Optional)
Euid Euid (Optional)
DuidRef DuidRef Required
<anyAttribute>