1 <?xml version="1.0" encoding="UTF-8"?>
2 <xsd:schema xmlns="http://www.w3.org/2001/XMLSchema"
3 xmlns:xsd="http://www.w3.org/2001/XMLSchema"
4 xmlns:this="www.example.org/namespaceas"
5 xmlns:other="www.example.org/imported2"
6 targetNamespace="www.example.org/namespaceas">
7 <xsd:import namespace="www.example.org/imported2" schemaLocation="imported2.xsd"/>
9 <xsd:element name="SomeType" type="other:foobar"/>
13 <xsd:element name="Type">
16 <xsd:element name="something" type="other:foobar" minOccurs="0" />
17 <xsd:element ref="other:foobar"/>
22 <xsd:complexType name="OtherType">
24 <xsd:element name="billingAccountNumber">
26 <xsd:restriction base="other:foobar"/>
29 <xsd:element name="something">
30 <xsd:complexType><xsd:simpleContent>
31 <xsd:extension base="other:foobar"/>
32 </xsd:simpleContent></xsd:complexType>
34 <xsd:element name="something2">
37 <xsd:extension base="other:bar"/>
41 <xsd:element name="something3">
44 <xsd:extension base="other:bar"/>
48 <xsd:element name="something4">
51 <xsd:restriction base="other:bar">
52 <xsd:element name="something" type="string" minOccurs="1"/>