Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

How do I choose between to elements with the same name

Hello!

How will a schema for this xml code look like?

<AAA>
<CCC>
<DDD/>
<EEE/>
</CCC>
<CCC>
<DDD/>
<EEE/>
</CCC>
<CCC>
<FFF/>
<GGG/>
</CCC>
<CCC>
<FFF/>
<GGG/>
</CCC>
</AAA>

I.e. CCC can contain either DDD and EEE or FFF and GGG!

Thanks
//Daniel
[510 byte] By [Daniel_C] at [2007-11-11 7:53:58]