/Users/lyon/j4p/src/xml/classInfo/schema examples/single schema/ClassInfo.xml

1    <?xml version="1.0"?> 
2            
3    <ClassInfo  xmlns='http://tfr.com/myClassSchema' 
4                xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' 
5                xsi:schemaLocation='http://tfr.com/myClassSchema  
6                                    ClassInfo.xsd'> 
7     
8        <CourseNo>SW409</CourseNo> 
9        <Title>Web Development With Java</Title> 
10       <Section>02</Section> 
11       <Semester>Fall</Semester> 
12       <Year>2001</Year> 
13        
14       <Instructor> 
15           <Name>Douglas A. Lyon</Name> 
16           <Title>PhD</Title> 
17           <ID>012345678</ID> 
18           <Email>lyon@docjava.com</Email> 
19           <Phone>203-555-0000</Phone> 
20       </Instructor> 
21        
22       <Student> 
23           <Name>Student One</Name> 
24           <ID>111111111</ID> 
25           <YOG>2001</YOG> 
26           <Email>student1@myemail.com</Email> 
27           <Phone>203-555-1111</Phone> 
28       </Student> 
29    
30       <Student> 
31           <Name>Student Two</Name> 
32           <ID>222222222</ID> 
33           <YOG>2002</YOG> 
34           <Email>student2@myemail.com</Email> 
35           <Phone>203-555-2222</Phone> 
36       </Student> 
37        
38   </ClassInfo> 
39