summaryrefslogtreecommitdiffstats
path: root/XQTS/TestSources/examples.xsd
blob: 0a6f8af44b02af78cd9534dae21c11f583c0ca5e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<xs:schema
   xmlns:xs = "http://www.w3.org/2001/XMLSchema"
   xmlns:examples = "http://www.w3.org/XQueryTest/someExamples" 
   targetNamespace = "http://www.w3.org/XQueryTest/someExamples" 
   elementFormDefault = "qualified">
 
  <xs:element name = "E6-Root">
   <xs:complexType>
    <xs:sequence>
     <xs:element name="E6" type = "examples:weather"/>   
    </xs:sequence>
   </xs:complexType>
  </xs:element>
  
  <xs:complexType name="weather">
   <xs:sequence>
    <xs:element name="temperature" type= "xs:string"/>   
    <xs:element name="precipitation" type = "xs:string"/>
   </xs:sequence>
  </xs:complexType>  
</xs:schema>