blob: 298e6b1a4aef0fcf96ca8e72a54146ef3b762954 [file] [log] [blame]
William M. Brack2f2a6632004-08-20 23:09:47 +00001<?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">
7
8 <!-- We need to import the namespace for the schema to be valid. -->
9 <xsd:import namespace="http://BAR"/>
10
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>
21
22
23
24</xsd:schema>