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 i practical urls indicate .aspx pages asp.net deployed an iis? (preferably but iis)

jaxb - xjc - reworking generated typesafe enum category members