1<!ELEMENT staff (employee+,emp:employee,employee) >
2<!ELEMENT employee (employeeId,name,position,salary,gender,address) >
3<!ATTLIST employee xmlns CDATA #IMPLIED>
4<!ATTLIST employee xmlns:dmstc CDATA #IMPLIED>
5<!ATTLIST employee xmlns:emp2 CDATA #IMPLIED>
6
7<!ELEMENT employeeId (#PCDATA) >
8
9<!ELEMENT name (#PCDATA) >
10
11<!ELEMENT position (#PCDATA) >
12
13<!ELEMENT salary (#PCDATA) >
14
15<!ELEMENT entElement1 (#PCDATA) >
16<!ELEMENT gender (#PCDATA | entElement1)* >
17<!ATTLIST entElement1 xmlns:local1 CDATA #IMPLIED >
18
19<!ELEMENT address (#PCDATA) >
20<!ATTLIST address dmstc:domestic CDATA #IMPLIED>
21<!ATTLIST address street CDATA #IMPLIED>
22<!ATTLIST address domestic CDATA #IMPLIED>
23<!ATTLIST address xmlns CDATA #IMPLIED>
24
25<!ELEMENT emp:employee (emp:employeeId,nm:name,emp:position,emp:salary,emp:gender,emp:address) >
26<!ATTLIST emp:employee xmlns:emp CDATA #IMPLIED>
27<!ATTLIST emp:employee xmlns:nm CDATA #IMPLIED>
28<!ATTLIST emp:employee defaultAttr CDATA 'defaultVal'>
29
30<!ELEMENT emp:employeeId (#PCDATA) >
31
32<!ELEMENT nm:name (#PCDATA) >
33
34<!ELEMENT emp:position (#PCDATA) >
35
36<!ELEMENT emp:salary (#PCDATA) >
37
38<!ELEMENT emp:gender (#PCDATA) >
39
40<!ELEMENT emp:address (#PCDATA) >
41<!ATTLIST emp:address emp:domestic CDATA #IMPLIED>
42<!ATTLIST emp:address street CDATA #IMPLIED>
43<!ATTLIST emp:address emp:zone ID #IMPLIED>
44<!ATTLIST emp:address emp:district CDATA 'DISTRICT'>
45<!ATTLIST emp:address emp:local1 CDATA 'FALSE'>
46