Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What is wrong with my XML?
Message
General information
Forum:
ASP.NET
Category:
XML
Environment versions
Environment:
C# 2.0
Miscellaneous
Thread ID:
01293491
Message ID:
01293624
Views:
21
The ReadXml method has an overload where you specify the XmlReadMode (or something like that), try to use that overload with the different enum values. (I don't know if this will work but it should be relatively easy to test)

>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.
>>>>
>>>>
Semper ubi sub ubi.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform