XML Schema (XSD) - How to specify parent element to contain at least one child element?
- by joedotnot
I have an XML schema (XSD) that defines an element as mandatory (call it the parent); this parent has, lets say, five child elements, which can all be optional, BUT AT LEAST ONE child element must occur.
How can i specify this in the xsd?