"/>

Faculty2 -

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
<?xml version="1.0" encoding="UTF-8" ?> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:element name="people"> <xs:complexType> <xs:sequence> <!-- yes, faculty is plural. .. oh well. --> <xs:element name="faculty" type="faculty_t" minOccurs="0" maxOccurs="unbounded"/> <xs:element name="student" type="student_t" minOccurs="0" maxOccurs="unbounded"/> </xs:sequence> </xs:complexType> </xs:element> <xs:complexType name="person_t"> <xs:sequence> <xs:element name="name" type="name_t"/> <xs:element name="username" type="xs:normalizedString" minOccurs="0"/> <xs:element name="email" type="email_t" maxOccurs="unbounded"/> <!-- optional info --> <xs:element name="website" type="website_t" minOccurs="0" maxOccurs="unbounded"/> <xs:element name="phone_number" type="phone_number_t" minOccurs="0" maxOccurs="unbounded"/> <xs:element name="research_area" type="research_area_t" minOccurs="0" maxOccurs="unbounded"/> <xs:element name="research_group" type="research_group_t" minOccurs="0" maxOccurs="unbounded"/> <xs:element name="degree" type="degree_t" minOccurs="0" maxOccurs="unbounded"/> <xs:element name="award" type="award_t" minOccurs="0" maxOccurs="unbounded"/> <xs:element name="office_hours" type="event_t" minOccurs="0" maxOccurs="unbounded"/> <xs:element name="class" type="class_t" minOccurs="0" maxOccurs="unbounded"/> <xs:element name="writing" type="writing_t" minOccurs="0" maxOccurs="unbounded"/> <xs:element name="conference" type="conf_present_t" minOccurs="0" maxOccurs="unbounded"/> <xs:element name="advisee" type="student_t" minOccurs="0" maxOccurs="unbounded"/> <xs:element name="office" type="location_t" minOccurs="0" maxOccurs="unbounded"/> </xs:sequence> </xs:complexType> <!-- non-faculty member --> <xs:complexType name="student_t"> <xs:complexContent> <xs:extension base="person_t"> <xs:sequence> <xs:element name="status"> <xs:simpleType> <xs:restriction base="xs:normalizedString"> <xs:enumeration value="PhD Student"/> <xs:enumeration value="Master's Student"/>
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
<xs:enumeration value="Post Doc"/> </xs:restriction> </xs:simpleType> </xs:element> <!-- may have multiple advisors --> <xs:element name="advisor" type="faculty_t" minOccurs="0" maxOccurs="unbounded"/> </xs:sequence> </xs:extension> </xs:complexContent> </xs:complexType> <xs:simpleType name="research_group_t"> <xs:restriction base="xs:normalizedString"> <!-- we could improve this --> <xs:pattern value=".*"/> </xs:restriction> </xs:simpleType> <xs:simpleType name="research_area_t"> <xs:restriction base="xs:normalizedString"> <!-- could improve this --> <xs:pattern value=".*"/> </xs:restriction> </xs:simpleType> <xs:complexType name="faculty_t"> <xs:complexContent> <xs:extension base="person_t"> <xs:sequence> <xs:element name="title"> <xs:simpleType> <xs:restriction base="xs:normalizedString"> <xs:enumeration value="Lecturer"/> <xs:enumeration value="Senior Lecturer"/> <xs:enumeration value="Professor"/>
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 04/05/2010 for the course CS 373 taught by Professor Downing,glennp during the Fall '08 term at University of Texas.

Page1 / 8

Faculty2 -

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online