Groups | Blog | Home
all groups > dotnet xml > july 2007 >

dotnet xml : XML serializer question


Jo
7/23/2007 4:22:30 PM
Hi all,

To deserialize the xml string, I need the attribute set to null if it is
missing in the xml stream, instead of seeing
'System.NullReferenceException occured'.

I tried setting XMLAttributeElement(IsNullable=true or false), but I could
not get what I wanted.

Is there any simple way?

TIA,

Jo

Martin Honnen
7/24/2007 2:49:12 PM
[quoted text, click to view]

Can you post the XML and the class definition that you have?


--

Martin Honnen --- MVP XML
AddThis Social Bookmark Button