mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-07 09:30:21 +02:00
28 lines
1.3 KiB
XML
28 lines
1.3 KiB
XML
<sdo:datagraph xmlns:sdo="commonj.sdo" xmlns:ns1="company.xsd">
|
|
<xsd>
|
|
<schema targetNamespace="company.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="company.xsd" xmlns:sdo="commonj.sdo">
|
|
<xsd:complexType name="DepartmentType">
|
|
<xsd:sequence>
|
|
<xsd:element name="Employee" type="tns:Employee" minOccurs="0"/>
|
|
<xsd:element name="changeSummary" type="sdo:ChangeSummary"/>
|
|
</xsd:sequence>
|
|
<xsd:attribute name="name" type="xsd:string"/>
|
|
<xsd:attribute name="location" type="xsd:string"/>
|
|
<xsd:attribute name="number" type="xsd:int"/>
|
|
</xsd:complexType>
|
|
<xsd:complexType name="Employee">
|
|
<xsd:attribute name="name" type="xsd:string"/>
|
|
<xsd:attribute name="SN" type="xsd:string"/>
|
|
<xsd:attribute name="manager" type="xsd:boolean"/>
|
|
<xsd:attribute name="age" type="xsd:byte"/>
|
|
</xsd:complexType>
|
|
</schema>
|
|
</xsd>
|
|
<changeSummary>
|
|
<DepartmentType sdo:ref="#/DepartmentType" name="R & D" location="Ouaga, BF"/>
|
|
<Employee sdo:ref="#/DepartmentType/Employee" name="Inoussa O." SN="002" age="12"/>
|
|
</changeSummary>
|
|
<ns1:DepartmentType name="R & D Department" location="Ouaga 01, BF" number="1210">
|
|
<Employee name="Inoussa OUEDRAOGO" SN="001" manager="1" age="32"/>
|
|
</ns1:DepartmentType>
|
|
</sdo:datagraph> |