xml schema elements same name nonetheless opposite sub-structure depending context


i try interpretation schema xml papers i receive.



the papers feeling like:



<root>
<items>
<group name="g-1">
<item name="i-1"/>
<item name="i-2"/>
<item name="i-3"/>
<item name="i-4"/>
</group>
</items>
<data>
<group name="g-1" place="here">
<customer name="c-1">
<item name="i-1" count="3"/>
<item name="i-2" count="4"/>
</customer>
<customer name="c-2">
<item name="i-3" count="7"/>
</customer>
</group>
</data>
</root>


i attempted xmlspy xsd.exe .net 2.0. both combined schema definitions grant next <group> any array <item> <customer> elements. nonetheless i'm looking should shorten <group> next <items> <item> elements, <group> next <data> <customer> elements.



is something xml schema able during all?



Comments

Popular posts from this blog

list macos calm editors formula editors

how hibernate @any-related annotations?

why does floated <input> control floated component slip over too distant right ie7, nonetheless firefox?