summaryrefslogtreecommitdiffstats
path: root/libxml2/test/schemas/ns2_0.xsd
blob: 9393beb2e6383608ba8ab4d16ebaf02539d1a7fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<schema xmlns:my='http://my.ns/'
        xmlns='http://www.w3.org/2001/XMLSchema'
	targetNamespace='http://my.ns/'
	>
 <attribute name='other' type='string'/>
 <element name='my'>
   <complexType>
     <simpleContent>
       <extension base='string'>
         <attribute ref='my:other'/>
       </extension>
     </simpleContent>
   </complexType>
 </element>
</schema>