/Users/lyon/j4p/src/xml/classInfo/schema examples/multi schema include/Instructor.xsd
|
1 <?xml version="1.0" encoding="UTF-8"?>
2
3 <xsd:schema xmlns:xsd='http://www.w3.org/2001/XMLSchema'
4 xmlns='http://tfr.com/myClassInfoSchema'
5 targetNamespace='http://tfr.com/myClassInfoSchema'
6 elementFormDefault='qualified'>
7
8 <xsd:annotation>
9 <xsd:documentation>
10 XML Schema defining information
11 about an instructor
12 </xsd:documentation>
13 </xsd:annotation>
14
15 <xsd:element name="Name" type="xsd:string"/>
16 <xsd:element name="Title" type="xsd:string"/>
17 <xsd:element name="Email" type="xsd:string"/>
18 <xsd:element name="Phone" type="xsd:string"/>
19
20 <xsd:complexType name="InstructorType">
21 <xsd:sequence>
22 <xsd:element ref="Name"/>
23 <xsd:element ref="Title"/>
24 <xsd:element ref="Email"/>
25 <xsd:element ref="Phone"/>
26 </xsd:sequence>
27 </xsd:complexType>
28
29 </xsd:schema>
30