changesummary_prop_list_object.xml 3.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <sdo:datagraph xmlns:ns1="company.xsd" xmlns:sdo="commonj.sdo" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  3. <xsd>
  4. <schema xmlns:sdo="commonj.sdo" xmlns:tns="company.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="company.xsd">
  5. <xsd:complexType name="EmployeeType">
  6. <xsd:sequence>
  7. <xsd:element name="name" type="xsd:string" minOccurs="0"/>
  8. <xsd:element name="SN" type="xsd:string" minOccurs="0"/>
  9. <xsd:element name="manager" type="xsd:boolean" minOccurs="0"/>
  10. </xsd:sequence>
  11. </xsd:complexType>
  12. <xsd:complexType name="DepartmentType">
  13. <xsd:sequence>
  14. <xsd:element name="name" type="xsd:string" minOccurs="0"/>
  15. <xsd:element name="location" type="xsd:string" minOccurs="0"/>
  16. <xsd:element name="number" type="xsd:int" minOccurs="0"/>
  17. <xsd:element name="list_object" type="tns:EmployeeType" maxOccurs="unbounded" minOccurs="0"/>
  18. <xsd:element name="changeSummary" type="sdo:ChangeSummary"/>
  19. </xsd:sequence>
  20. </xsd:complexType>
  21. </schema>
  22. </xsd>
  23. <changeSummary create="#/DepartmentType/list_object[2] #/DepartmentType/list_object[1] #/DepartmentType/list_object[3] #/DepartmentType/list_object[0] #/DepartmentType/list_object[4]" delete="#/changeSummary/EmployeeType[0] #/changeSummary/EmployeeType[1] #/changeSummary/EmployeeType[2]">
  24. <DepartmentType sdo:ref="#/DepartmentType">
  25. <name>R &amp; D</name>
  26. <location>Ouaga, BF</location>
  27. <list_object>
  28. <listChanges kind="change" index="0">
  29. <dataValues sdo:ref="#/changeSummary/EmployeeType[0]"/>
  30. </listChanges>
  31. <listChanges kind="append" index="3"/>
  32. <listChanges kind="insert" index="3"/>
  33. <listChanges kind="append" index="5"/>
  34. <listChanges kind="change" index="1">
  35. <dataValues sdo:ref="#/changeSummary/EmployeeType[1]"/>
  36. </listChanges>
  37. <listChanges kind="delete" index="0">
  38. <dataValues xsi:nil="true"/>
  39. </listChanges>
  40. <listChanges kind="delete" index="1">
  41. <dataValues sdo:ref="#/changeSummary/EmployeeType[2]"/>
  42. </listChanges>
  43. <listChanges kind="append" index="4"/>
  44. </list_object>
  45. </DepartmentType>
  46. <EmployeeType>
  47. <name>Inoussa O.</name>
  48. <SN>0001</SN>
  49. <manager>1</manager>
  50. </EmployeeType>
  51. <EmployeeType>
  52. <name>Kis O.</name>
  53. <SN>0002</SN>
  54. <manager>0</manager>
  55. </EmployeeType>
  56. <EmployeeType>
  57. <name>WST</name>
  58. <SN>0003</SN>
  59. <manager>0</manager>
  60. </EmployeeType>
  61. </changeSummary>
  62. <ns1:DepartmentType>
  63. <name>R &amp; D Department</name>
  64. <location>Ouaga 01, BF</location>
  65. <number>1210</number>
  66. <list_object>
  67. <name>Lazarus</name>
  68. <SN>0011</SN>
  69. <manager>0</manager>
  70. </list_object>
  71. <list_object>
  72. <name>FPC 5</name>
  73. <SN>0050</SN>
  74. <manager>0</manager>
  75. </list_object>
  76. <list_object>
  77. <name>FPC 2 </name>
  78. <SN>0020</SN>
  79. <manager>1</manager>
  80. </list_object>
  81. <list_object>
  82. <name>FPC 3</name>
  83. <SN>0030</SN>
  84. <manager>0</manager>
  85. </list_object>
  86. <list_object>
  87. <name>FPC 4</name>
  88. <SN>0040</SN>
  89. <manager>1</manager>
  90. </list_object>
  91. </ns1:DepartmentType>
  92. </sdo:datagraph>