Simple content restrictions are used to restrict the simple content and/or attributes of a complex type. As of XBinder version 1.2, restricted types are handled by generating a completely new type definition containing only the restricted items. (In previous versions, the generated type contained only a single base element that referenced the base type.) In the case of a simpleContent restriction, we have to represent a content model consisting of a simple type, and zero or more attributes. We do this just as is done for simpleContent extensions.
Note: XML Schema allows the <xsd:restriction> element to have an <xsd:simpleType> child (in some cases, it is actually required). XBinder does not currently support this.