change_summary_object_modify_nested.xml 1.3 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="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:attribute name="age" type="xsd:byte"/>
  18. </xsd:complexType>
  19. </schema>
  20. </xsd>
  21. <changeSummary>
  22. <DepartmentType sdo:ref="#/DepartmentType" name="R &amp; D" location="Ouaga, BF"/>
  23. <Employee sdo:ref="#/DepartmentType/Employee" name="Inoussa O." SN="002" age="12"/>
  24. </changeSummary>
  25. <ns1:DepartmentType name="R &amp; D Department" location="Ouaga 01, BF" number="1210">
  26. <Employee name="Inoussa OUEDRAOGO" SN="001" manager="1" age="32"/>
  27. </ns1:DepartmentType>
  28. </sdo:datagraph>