Skip to content
Snippets Groups Projects
Commit e7370485 authored by Goik Martin's avatar Goik Martin
Browse files

Unneeded separate schema removed

parent a6573769
No related branches found
No related tags found
No related merge requests found
<?xml version="1.0" encoding="UTF-8"?>
<employeeList xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="employeeList.xsd">
xsi:noNamespaceSchemaLocation="employee.xsd">
<employee>
<id>21</id>
......
......@@ -14,5 +14,15 @@
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="employeeList">
<xs:complexType>
<xs:sequence>
<xs:element ref="employee"
minOccurs="0"
maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" >
<xs:element name="employee">
<xs:complexType>
<xs:attribute name="id" type="xs:unsignedInt"/>
<xs:attribute name="givenName" type="xs:string"/>
<xs:attribute name="surname" type="xs:string"/>
<xs:attribute name="birthday" type="xs:string"/>
<xs:attribute name="sex" type="xs:string"/>
<xs:attribute name="email" type="xs:string" use="required"/>
<xs:attribute name="phone" type="xs:string" use="optional"/>
</xs:complexType>
</xs:element>
</xs:schema>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" >
<xs:element name="employee">
<xs:complexType>
<xs:sequence>
<xs:element name="id" type="xs:unsignedInt"/>
<xs:element name="givenName" type="xs:string"/>
<xs:element name="surname" type="xs:string"/>
<xs:element name="birthday" type="xs:string"/>
<xs:element name="sex" type="xs:string"/>
<xs:element name="email" type="xs:string"/>
<xs:element name="phone" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="employeeList">
<xs:complexType>
<xs:sequence>
<xs:element ref="employee"
minOccurs="0"
maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment