Can anybody help me to build an XSD file to validate XMLs like these:
[test] [a/] [b/] [a/] [b/] [/test] [test] [a/] [a/] [b/] [/test]
Basically, I can have any number of <a> and/or <b> nodes without any other rule (can’t use <xs:sequence>).
It isn’t going to very fast if you have a lot of a or b nodes but this validates against what you’ve described.