Thursday, April 14, 2011

how to make element in a Xml schema as optinal

I have one element

this one i need to make it as optional. Is there any other way than making minoccurs = "0"

Thanks in advance,

From stackoverflow
  • No, that is the proper way to do it. Is there some reason why you wish to avoid minOccurs="0"?

    Uday : No. I thought there might be any other possibility.
  • minOccurs="0" is the way to specify optional

0 comments:

Post a Comment

Note: Only a member of this blog may post a comment.