<?xml version=“1.0”?> <xsd:schema xmlns:xsd=“www.w3.org/2001/XMLSchema

targetNamespace="http://FOO"
xmlns:foo="http://FOO">

<xsd:complexType name="base">
        <xsd:simpleContent>
                <xsd:extension base="xsd:string"/>
        </xsd:simpleContent>
</xsd:complexType>

<xsd:element name="foo">
        <xsd:complexType>
                <xsd:simpleContent>
                        <xsd:restriction base="foo:base">
                                <xsd:simpleType>
                                        <xsd:restriction base="xsd:string"/>
                                </xsd:simpleType>
                        </xsd:restriction>
                </xsd:simpleContent>
        </xsd:complexType>
</xsd:element>

</xsd:schema>