Altova Mailing List Archives>Archive Index >xmlschema-dev Archive Home >Recent entries >Thread Prev - >Thread Next - RE: Help on XSD for a xml Help on XSD for a xmlTo: xmlschema-dev@--.---, -----@-------.--- Date: 8/21/2009 9:22:00 AM Hi, The following is my xml for which I require to write the xsd schema <type> <foo/> <bar/> </type> In the above xml for type element the following conditions should be satisfied 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, Vijay. | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
