libxml2 2.9.1 clean sources
[tomato.git] / release / src / router / libxml2 / test / schemas / restriction-attr1_0.xsd
blob31c288fe3376248723948edf7f8324b6a3ef7940
1 <?xml version="1.0" encoding="ISO-8859-1"?>
2 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://FOO" targetNamespace="http://FOO">
4 <xs:element name="foo">
5 <xs:complexType>
6 <xs:complexContent>
7 <xs:restriction base="typeA">
8 <xs:attribute name="barA" type="xs:string" use="optional"/>
9 </xs:restriction>
10 </xs:complexContent>
11 </xs:complexType>
12 </xs:element>
14 <xs:complexType name="typeA">
15 <xs:attribute name="barA" type="xs:string" use="required"/>
16 </xs:complexType>
18 </xs:schema>