M
Mavis
If I want to assign different value to different versions as the
followings:
<versions>
<version>
<name> a20 </name>
<value> 10 </value>
</version>
<version>
<name> b40 </name>
<value> 50 </value>
</version>
<version>
<name> others</name>
<value> 5 </value>
</version>
</versions>
I guess it cannot be simplified as below, even if we can use <xs:choice
maxOccurs="unbounded"> to define elements in any order with any
occurrences.. the problem is we cannot identify corresponding value for
each version...
<versions>
<version> a20 </version>
<value> 10 </value>
<version> b40 </version>
<value> 50 <value>
<version> others </version>
<value> 5 </value>
</versions>
Am I right? Could anyone confirm me about this if possible?
Thanks a lot!
followings:
<versions>
<version>
<name> a20 </name>
<value> 10 </value>
</version>
<version>
<name> b40 </name>
<value> 50 </value>
</version>
<version>
<name> others</name>
<value> 5 </value>
</version>
</versions>
I guess it cannot be simplified as below, even if we can use <xs:choice
maxOccurs="unbounded"> to define elements in any order with any
occurrences.. the problem is we cannot identify corresponding value for
each version...
<versions>
<version> a20 </version>
<value> 10 </value>
<version> b40 </version>
<value> 50 <value>
<version> others </version>
<value> 5 </value>
</versions>
Am I right? Could anyone confirm me about this if possible?
Thanks a lot!