1<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="reference"
2           xmlns="reference" elementFormDefault="qualified">
3    <xs:attribute name="name" type="xs:string"/>
4    <xs:element name="class">
5        <xs:complexType>
6            <xs:sequence>
7                <xs:element name="student" type="xs:string" maxOccurs="unbounded"/>
8            </xs:sequence>
9            <xs:attribute ref="name"/>
10        </xs:complexType>
11    </xs:element>
12</xs:schema>