Assuming you have two lists defined in an xml schema, call them A and B, is there a way to say A must be one or more items and B must be the same length as A?
Asked
Active
Viewed 228 times
2 Answers
1
As an alternative to storing
A = (a, a, a)
B = (b, b, b)
and enforcing the same length, you could try storing:
AB = ([a,b], [a,b], [a,b])
This way the constraint you need to enforce would be that each element from AB is of length two and consists of the types A and B - this should be possible in a normal schema.

Wim
- 11,091
- 41
- 58