<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:tns="http://example.com"
targetNamespace="http://example.com"
elementFormDefault="qualified">
<xsd:complexType name="FooType">
<xsd:attribute name="bar" type="xsd:string" use="required" />
</xsd:complexType>
<xsd:element name="Foo" type="tns:FooType" />
</xsd:schema>