libxml2 2.9.1 clean sources
[tomato.git] / release / src / router / libxml2 / test / schemas / import2_0.imp
blob298e6b1a4aef0fcf96ca8e72a54146ef3b762954
1 <?xml version="1.0" encoding="UTF-8"?>
2 <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
3         targetNamespace="http://FOO"
4         xmlns:foo="http://FOO"
5         xmlns:bar="http://BAR"
6         elementFormDefault="qualified">
8         <!-- We need to import the namespace for the schema to be valid. -->
9         <xsd:import namespace="http://BAR"/>
11         <xsd:element name="foo">
12                 <xsd:complexType>                                                       
13                         <xsd:sequence>                          
14                                 <xsd:element name="foo.B" type="bar:fooType"/>
15                                 <xsd:element ref="bar:bar"/>                            
16                         </xsd:sequence>
17                         <xsd:attribute name="foo.attr"/>                        
18                         
19                 </xsd:complexType>              
20         </xsd:element>
22         
24 </xsd:schema>