I think I understand what you are saying; I did play a little with typed dataset a while back. But now I need a solution withot a typed dataset; I need to deliver this job by Wednesday. And I don't think I will be able to create typed dataset and make sure it works in just 2 days.
Strange though that the "default" in the XSD does nothing. I think I have the same XML with the same type of XSD with defaults, in VFP application, and it works there.
>If you use a typed dataset you might be able to use the default values.
>Something like this
>
>DsEmailList dsEmailList = new DsEmailList();
>dsEmailList.ReadXml(path);
>
>
>>You are correct. The problem is with the null/empty entries in elements. It seems that my XSD Schema and default values don't do anything.
>>
>>>I created a test app with your code and the suggestion from me and it ran just fine. I've got a meeting in 5 minutes but I'll look at with when I get back.
>>>
>>>
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham