W3C home > Mailing lists > Public > xmlschema-dev@w3.org > August 2009

Help on XSD for a xml

From: Vijay Anand <vijay.gunasekaran@mobax.com>
Date: Thu, 20 Aug 2009 13:01:05 +0530
Message-ID: <4A8CFBB9.5000708@mobax.com>
To: xmlschema-dev@w3.org, bryce@sysonyx.com

The following is my xml for which I require to write the xsd schema


In the above xml for type element the following conditions should be 
1] Atleast one element either foo or bar must be present
2] foo or bar can have a maximum occurance of one
3] Both foo and bar can be present

Thanks and Regards,
Received on Friday, 21 August 2009 09:19:44 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:56:16 UTC