Forum Discussion
Hey harry,
Do you mean empty or null?
Theyre 2 different things
Youve tried both options for empty elements, so im assuming you dont mean empty.
Is your xml schema validated? What does the schema actually indicate for the elements you need 'null'?
Does it have minOccurs and nill or nillable attributes?
Need to know exactly what is says in your schema to answer your question. If minOccurs="0" and nillable="true", this is the only way you can have null.
Cheers
Rich
Do you mean empty or null?
Theyre 2 different things
Youve tried both options for empty elements, so im assuming you dont mean empty.
Is your xml schema validated? What does the schema actually indicate for the elements you need 'null'?
Does it have minOccurs and nill or nillable attributes?
Need to know exactly what is says in your schema to answer your question. If minOccurs="0" and nillable="true", this is the only way you can have null.
Cheers
Rich
sorry for confusion i need to send empty value for the node "<ns3:marketContext>".I have shared my source code .
Ex:- Here iam sharing my full xml. I want to assign nil for the <marketcontext node value.Please take a look .
ex:-
<eiMarketContext>
<ns3:marketContext>http://tempuri.org/15403281</ns3:marketContext>
</eiMarketContext>
Related Content
- 5 years ago
- 14 years ago
Recent Discussions
- 7 days ago