schema-fil(legekontor.xsd)
<?xml version="1.0" encoding="iso-8859-1"?>
<lk:schema xmlns:lk="http://www.w3.org/2001/XMLSchema">
<lk:include schemaLocation="lege.xsd"/>
<lk:include schemaLocation="pasient.xsd"/>
<lk:element name="legekontor">
<lk:complexType>
<lk:sequence minOccurs="0" maxOccurs="unbounded">
<lk:element name="navn" type="lk:string" minOccurs="1" maxOccurs="1"/>
<lk:element name="adresse" type="lk:string" minOccurs="1" maxOccurs="1"/>
<lk:element name="tlf" type="lk:string" minOccurs="1" maxOccurs="1"/>
<lk:element name="fax" type="lk:string" minOccurs="0" maxOccurs="1"/>
<lk:element name="pasient" type="pasientData" minOccurs="0" maxOccurs="unbounded"/>
<lk:element name="lege" type="legeData" minOccurs="0" maxOccurs="unbounded"/>
</lk:sequence>
</lk:complexType>
</lk:element>
</lk:schema>