I am having a problem building a schema for this XML:
<record>
<field index="1">data</field>
<field index="2">data</field>
<field index="3">data</field>
<field index="4">data</field>
<field index="5">data</field>
<field index="6">data</field>
<group index="7">
<member index="1">data</member>
<member index="2">data</member>
</group>
<field index="8">data</field>
<field index="9">data</field>
<group index="10">
<member index="1">data</member>
</group>
<field index="11">data</field>
<field index="12">data</field>
<field index="13">data</field>
<field index="14">data</field>
<field index="15">data</field>
<field index="16">data</field>
<field index="17">data</field>
</record>
The problem is that, I don't know to build a schema for the "field" elements, I have many elements with the same name "field" but with different attributes "index".
Also I am having a problem building a schema for the multi values inside the the tag group.