change_summary_object_create_cont_ref.xml 1.4 KB

12345678910111213141516171819202122232425262728
  1. <sdo:datagraph xmlns:sdo="commonj.sdo" xmlns:ns1="company.xsd">
  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="employee_ref" type="xsd:anyURI" minOccurs="0" sdo:propertyType="tns:Employee"/>
  8. <xsd:element name="changeSummary" type="sdo:ChangeSummary"/>
  9. </xsd:sequence>
  10. <xsd:attribute name="name" type="xsd:string"/>
  11. <xsd:attribute name="location" type="xsd:string"/>
  12. <xsd:attribute name="number" type="xsd:int"/>
  13. </xsd:complexType>
  14. <xsd:complexType name="Employee">
  15. <xsd:attribute name="name" type="xsd:string"/>
  16. <xsd:attribute name="SN" type="xsd:string"/>
  17. <xsd:attribute name="manager" type="xsd:boolean"/>
  18. </xsd:complexType>
  19. </schema>
  20. </xsd>
  21. <changeSummary create="#/DepartmentType/Employee">
  22. <DepartmentType sdo:ref="#/DepartmentType" name="R &amp; D" location="Ouaga, BF" sdo:unset="number Employee employee_ref"/>
  23. </changeSummary>
  24. <ns1:DepartmentType name="R &amp; D Department" location="Ouaga 01, BF" number="1210">
  25. <Employee name="Inoussa OUEDRAOGO" SN="001" manager="1"/>
  26. <employee_ref>#/DepartmentType/Employee</employee_ref>
  27. </ns1:DepartmentType>
  28. </sdo:datagraph>