Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <xs:schema xmlns:students="http://students.bg/" attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://students.bg/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
- <xs:import />
- <xs:element name="students">
- <xs:complexType>
- <xs:sequence>
- <xs:element maxOccurs="unbounded" name="student">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="name" type="xs:string" />
- <xs:element name="gender" type="xs:string" />
- <xs:element name="birth-date" type="xs:string" />
- <xs:element name="phone-number" type="xs:unsignedInt" />
- <xs:element name="email" type="xs:string" />
- <xs:element name="university" type="xs:string" />
- <xs:element name="speciality" type="xs:string" />
- <xs:element name="faculty-number" type="xs:unsignedInt" />
- <xs:element name="exams">
- <xs:complexType>
- <xs:sequence>
- <xs:element maxOccurs="unbounded" ref="exam" />
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- <xs:attribute name="culture" type="xs:string" use="required" />
- </xs:complexType>
- </xs:element>
- </xs:schema>
Advertisement
Add Comment
Please, Sign In to add comment