Hi all
I have a config file like so
<config>
<optionSet1>
<option index="1" name="Set 1 index 1"/>
</optionSet1>
<optionSet1>
<option index="1" name="Set 2 index 2"/>
</optionSet1>
</config>
optionSet1-index1 can only have set values 1, 3, 5, 7
How do I define XSD for optionSet2-index1 so that
if optionSet1-index1 is in 1, 5 then it must be null
if optionSet1-index1 == 3 then it must be A or B
if optionSet1-index1 == 7 then it must be B, C or D
Thank you very much!
Pete
I have a config file like so
<config>
<optionSet1>
<option index="1" name="Set 1 index 1"/>
</optionSet1>
<optionSet1>
<option index="1" name="Set 2 index 2"/>
</optionSet1>
</config>
optionSet1-index1 can only have set values 1, 3, 5, 7
How do I define XSD for optionSet2-index1 so that
if optionSet1-index1 is in 1, 5 then it must be null
if optionSet1-index1 == 3 then it must be A or B
if optionSet1-index1 == 7 then it must be B, C or D
Thank you very much!
Pete
Comment