ShubhaMishra
Programmer
Hi,
I know this is a basic query but I am not able to solve that and also not able to find the answer for this question.
Actually I want a required check for a element.
For example:
<xs:element name="Client" type="xs:string" minOccurs="1"/>
I am using micOccurs but this is not checking that the value of tag is null.If value is "<Client></Client>" its working properly. I also tried nilable ="false", but that is also not working.Can anybody tell me an what can be done.
Note: use="required" can be used with attribute not with element
Thanks in advance.
Shubhangi
I know this is a basic query but I am not able to solve that and also not able to find the answer for this question.
Actually I want a required check for a element.
For example:
<xs:element name="Client" type="xs:string" minOccurs="1"/>
I am using micOccurs but this is not checking that the value of tag is null.If value is "<Client></Client>" its working properly. I also tried nilable ="false", but that is also not working.Can anybody tell me an what can be done.
Note: use="required" can be used with attribute not with element
Thanks in advance.
Shubhangi