tags:

views:

93

answers:

1

Hi All, I need to mark some elements as non required in the XSD schema that some one else created. How do I go about figuring out which elements are marked as required, is there a particular flag I could search for. Currently all of my elements are marked with minOccurs="0" is this what needs to be changed?

Thanks!

+5  A: 

Yes. minOccurs="0" is what you need to add to an element as optional. Leaving no minOccurs attribute implies mandatory (minOccurs="1").

Trey