change_summary_object_delete.xml 1.3 KB

1234567891011121314151617181920212223242526272829
  1. <sdo:datagraph xmlns:sdo="commonj.sdo" xmlns:ns1="company.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  2. <xsd>
  3. <schema targetNamespace="company.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="company.xsd" xmlns:sdo="commonj.sdo">
  4. <xsd:complexType name="DepartmentType">
  5. <xsd:sequence>
  6. <xsd:element name="Employee" type="tns:Employee" minOccurs="0"/>
  7. <xsd:element name="changeSummary" type="sdo:ChangeSummary"/>
  8. </xsd:sequence>
  9. <xsd:attribute name="name" type="xsd:string"/>
  10. <xsd:attribute name="location" type="xsd:string"/>
  11. <xsd:attribute name="number" type="xsd:int"/>
  12. </xsd:complexType>
  13. <xsd:complexType name="Employee">
  14. <xsd:attribute name="name" type="xsd:string"/>
  15. <xsd:attribute name="SN" type="xsd:string"/>
  16. <xsd:attribute name="manager" type="xsd:boolean"/>
  17. </xsd:complexType>
  18. </schema>
  19. </xsd>
  20. <changeSummary delete="#/changeSummary/Employee[0]">
  21. <DepartmentType sdo:ref="#/DepartmentType" name="R &amp; D" location="Ouaga, BF" sdo:unset="number">
  22. <Employee sdo:ref="#/changeSummary/Employee[0]"/>
  23. </DepartmentType>
  24. <Employee name="Inoussa O." SN="002" manager="1"/>
  25. </changeSummary>
  26. <ns1:DepartmentType name="R &amp; D Department" location="Ouaga 01, BF" number="1210">
  27. <Employee xsi:nil="true"/>
  28. </ns1:DepartmentType>
  29. </sdo:datagraph>