Subject:Validating XML through Schema Author:K Manoj Date:11 Sep 2006 05:48 AM
Hi, I am having two elements A and B. I want to design schema to provide validation that user should enter value either A or B (one of them is mandatory). Could you suggest way to get this validation done. Regards Manoj
Subject:Validating XML through Schema Author:Tony Lavinio Date:11 Sep 2006 08:57 AM
What you are looking for is called a "co-occurrence constraint".
Try searching on Google for references to
"co-occurrence constraints in xml schema" or asking on the
W3'c xmlschema-dev@lists.w3.org mailing list, which specializes
in these sorts of questions.