SimpleType that Extends Another SimpleType

The following XML schema construct:

<simpleType name="SimpleType3">
 <restriction base="tns:SimpleType2" />
</simpleType>
<simpleType name="SimpleType2">
 <restriction base="string" />
</simpleType>

Maps to:

Note that SimpleType3 extends (generalizes) SimpleType2.