title: Selecting xsd:element from complexType with SCD
body: <p>I'm trying to select the child element of complexType with SCD, but the SCD selects a complexType. The SCD documentation is poor and I don't understand, how to select the child element properly. 
  Here ist XSD snippet:</p>
  
  <pre><code>&lt;xsd:complexType name="request"&gt;
        &lt;xsd:sequence&gt;
            &lt;xsd:element form="unqualified"
                          maxOccurs="unbounded" minOccurs="0" name="partner"
                          type="ns1:Partner" /&gt;
            &lt;xsd:element form="unqualified"
                          maxOccurs="unbounded" minOccurs="0" name="foo"
                          type="xsd:anyType" /&gt;
            &lt;xsd:element form="unqualified"
                          maxOccurs="unbounded" minOccurs="0" name="foo2"
                          type="xsd:anyType" /&gt;    
        &lt;/xsd:sequence&gt;
  &lt;/xsd:complexType&gt;
  </code></pre>
  
  <p>I've written the following binding:</p>
  
  <pre><code>&lt;bindings scd="x-schema::tns" xmlns:tns="http:/mynamespace.com/xsd"&gt;
      &lt;schemaBindings&gt;
         &lt;package name="com.otherpackage.xsd" /&gt;
      &lt;/schemaBindings&gt;
      &lt;bindings scd="/~tns:request:schemaElement:foo"&gt;
             &lt;class ref="com.othernamespace.OhterFoo" /&gt;
      &lt;/bindings&gt;
      &lt;bindings scd="/~tns:request:schemaElement:foo2"&gt;
             &lt;class ref="com.othernamespace.OhterFoo" /&gt;
      &lt;/bindings&gt;
  &lt;/bindings&gt;
  </code></pre>
  
  <p>I've also tried following binding, but with this one it doesn't even generate the source code. </p>
  
  <pre><code>&lt;bindings scd="x-schema::tns" xmlns:tns="http:/mynamespace.com/xsd"&gt;
          &lt;schemaBindings&gt;
             &lt;package name="com.otherpackage.xsd" /&gt;
          &lt;/schemaBindings&gt;
          &lt;bindings scd="/type::tns:request/model:sequence/schemaElement::tns:foo"&gt;
                 &lt;class ref="com.othernamespace.OhterFoo" /&gt;
          &lt;/bindings&gt;
          &lt;bindings scd="/type::tns:request/model:sequence/schemaElement::tns:foo2"&gt;
                 &lt;class ref="com.othernamespace.OhterFoo" /&gt;
          &lt;/bindings&gt;
      &lt;/bindings&gt;
  </code></pre>