add files for exercise 6b
This commit is contained in:
parent
1340eee6b8
commit
56330b3691
|
@ -0,0 +1,10 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<employee xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
||||
xsd:SchemaLocation="aufgabe6b.xsd">
|
||||
<empNumber>1234</empNumber>
|
||||
<firstname>Max</firstname>
|
||||
<lastname>Muster</lastname>
|
||||
<dateOfBirth>30.08.1010</dateOfBirth>
|
||||
<department>Marketing</department>
|
||||
<salary>50000</salary>
|
||||
</employee>
|
|
@ -0,0 +1,14 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<xsd:complexType name="employeeType">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="empNumber" type="xsd:string"/>
|
||||
<xsd:element name="firstName" type="xsd:string" />
|
||||
<xsd:element name="lastName" type="xsd:string" />
|
||||
<xsd:element name="dateOfBirth" type="xsd:date" />
|
||||
<xsd:element name="department" type="xsd:string" />
|
||||
<xsd:element name="salary" type="xsd:long" />
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:element name="employee" type="employeeType" />
|
||||
</xsd:schema>
|
Reference in New Issue