![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
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 |
#3
| |||
| |||
|
|
You cannot do this using Xml Schema - it does not have this type of co-occurance constraints. |
#4
| |||
| |||
|
|
Hi Stan You cannot do this using Xml Schema - it does not have this type of co-occurance constraints. Thanks for the answer. I think this is a shame, XSD could have been an excellent means of specifying user input + validation for thin clients. |
#5
| |||
| |||
|
|
Hi Stan You cannot do this using Xml Schema - it does not have this type of co-occurance constraints. Thanks for the answer. I think this is a shame, XSD could have been an excellent means of specifying user input + validation for thin clients. -- Pete ==== Audio compression components, DIB graphics controls, ECO extensions, FastStrings http://www.droopyeyes.com My blog http://blogs.slcdug.org/petermorris/ |
#6
| |||
| |||
|
|
That role was delegated to XML Forms. |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |