jamesm6162
01-06-2008, 11:23 AM
Hi
I have a specific structure to validate (shown below). However I need the element 1, 2, and 3 to appear in any order, any amount of times.
Should I use the <all> tag and add a maxOccurs as unbounded for it?
I'm not really sure if I can add the Occurrence constraints to anything but the <xsd:element> elements. Please help
<root>
<level1>
<element1 />
<element2 />
<element3 />
</level1>
</root>
I have a specific structure to validate (shown below). However I need the element 1, 2, and 3 to appear in any order, any amount of times.
Should I use the <all> tag and add a maxOccurs as unbounded for it?
I'm not really sure if I can add the Occurrence constraints to anything but the <xsd:element> elements. Please help
<root>
<level1>
<element1 />
<element2 />
<element3 />
</level1>
</root>