N
Nichino
Hello,
I'm trying to define my first Xml Schema and have a problem.
The XML I'd like to define through the Schema is the following one.
Can you help me please? I don't know how to insert the 3 final notes.
Many thanks and my apologies for the trouble.
Best,
Nick
<language>
<combinations>
<combination>
<element> .... </element>
<element> .... </element>
</combination>
<combination>
<element> .... </element>
<element> .... </element>
</combination>
<combination>
<element> .... </element>
<element> .... </element>
</combination>
</combinations>
</language>
Note
1. There is no limit to the number of combinations.
2. Two elements having the same content can't be combined.
E.g.
<combination>
<element> pippo </element>
<element> pippo </element>
</combination>
it's not valid.
3. it's not possible to insert two combinations having the same elements.
E.g.
<combinations>
<combination>
<element> pippo </element>
<element> pluto </element>
</combination>
<combination>
<element> pluto </element>
<element> pippo </element>
</combination>
</combinations>
it's not valid.
I'm trying to define my first Xml Schema and have a problem.
The XML I'd like to define through the Schema is the following one.
Can you help me please? I don't know how to insert the 3 final notes.
Many thanks and my apologies for the trouble.
Best,
Nick
<language>
<combinations>
<combination>
<element> .... </element>
<element> .... </element>
</combination>
<combination>
<element> .... </element>
<element> .... </element>
</combination>
<combination>
<element> .... </element>
<element> .... </element>
</combination>
</combinations>
</language>
Note
1. There is no limit to the number of combinations.
2. Two elements having the same content can't be combined.
E.g.
<combination>
<element> pippo </element>
<element> pippo </element>
</combination>
it's not valid.
3. it's not possible to insert two combinations having the same elements.
E.g.
<combinations>
<combination>
<element> pippo </element>
<element> pluto </element>
</combination>
<combination>
<element> pluto </element>
<element> pippo </element>
</combination>
</combinations>
it's not valid.