how to represent schema in such situation
<elementAll type=”one">
<element-A>
<!-- value -->
</element-A>
<element-B>
<!-- value -->
</element-B>
<element-C>
<!-- value -->
</element-C>
</elementAll>
if attribute type=”one” then element-C need to be exists.
if attribute type=”two” then element-C should not be exists.