Documentation Center

Baseline Modifications

This structure is used to make changes to a baseline. It provides the means to add (selected) objects to the baseline, modify the selected version an object, remove an object from the baseline, etc.

XML Structure

<xs:schema id="ISHBaselineModifications" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name ="modifications">
    <xs:complexType>
      <xs:sequence minOccurs="1" maxOccurs="unbounded">
        <xs:element ref="object"/>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="object">
    <xs:complexType>
      <xs:attributeGroup ref="ObjectAttributeGroup" />
      <xs:attribute name="source" use="optional" type="BaselineSourceEnumeration"/>
      <xs:attribute name="author" use="optional" type="xs:string"/>
      <xs:attribute name="action" use="required">
        <xs:simpleType>
          <xs:restriction base="xs:string">
            <xs:enumeration value="none" />
            <xs:enumeration value="new" />
            <xs:enumeration value="update" />
            <xs:enumeration value="delete" />
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:simpleType name="BaselineSourceEnumeration">
    <xs:restriction base="xs:string">
      <xs:enumeration value="save:Manual"/>
      <xs:enumeration value="save:LatestAvailable"/>
      <xs:enumeration value="save:LatestReleased" />
      <xs:enumeration value="save:ByBaseline"/>
      <xs:enumeration value="save:Candidate"/>
      <xs:enumeration value="save:FirstVersion"/>
      <xs:enumeration value="save:Copy"/>
      <xs:enumeration value="Manual"/>
      <xs:enumeration value="expand:None"/>
      <xs:enumeration value="expand:LatestAvailable"/>
      <xs:enumeration value="expand:LatestReleased"/>
      <xs:enumeration value="expand:ByBaseline"/>
      <xs:enumeration value="expand:Candidate"/>
      <xs:enumeration value="expand:FirstVersion"/>
    </xs:restriction>
  </xs:simpleType>
</xs:schema>

Example

<modifications>
  <object ref="GUID-2BA1535D-EBB1-455F-84BF-290E477F6558" action="new" 
    versionnumber="1" source="Manual"/>
  <object ref="GUID-C8DD9EDE-CF2C-47D4-ADEB-81D82D0EFE06" action="update" 
    versionnumber="2" source="expand:LatestAvailable"/>
</modifications>