You have to include "minOccurs" attribute in the element tag with "0" as the value.
<xs:element name="RID" minOccurs="0">
Joined: Oct 04, 2004
Thanks for the reply,
If i include minOccurs="0" the element RID may be ommitted but here in my case the content of the RID may be empty so i have to handle even if the content in RID element is empty value. could you please tell me how to handle this?
Joined: May 24, 2003
Sorry I didn't get right in the first reply. You need to use nillable="true" attribute as well for the respective elements.