is there a possibility to reference to a specified type dependent on the value of an element attribute.

For example:
HTML Code:
<xs:complexType name="MConfiguration">
    <!-- MConfiguration definition -->

  <xs:element constraint="//CONFIGURATION[@id=MC]" name="CONFIGURATION" type="MConfiguration">
      <xs:sequence minOccurs="1" maxOccurs="unbounded">
        <xs:element ref="PARAMETER"/>
      <xs:attributeGroup ref="ConfigAttribGroup"/>
In this example I want to address to the type of the CONFIGURATION-Tag only if the value of the attribute id is MC....