473,322 Members | 1,538 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

XMLSerializer.UnknownNode

Hi,

I'm confused with when the XmlSerializer.UnknownNode event would be
invoked.. I found that my serializer deserialize my xml file perfectly into
the object I want, but I still got this UnknownNode event invoked for every
single node in the xml... Anyone can give me some clues?

-Opt
Nov 15 '05 #1
1 2363
Opt,

The XmlNodeEventArgs instance passed in should have the information
about where in the XML it is encountering the unknown node. What does it
say there?
--
- Nicholas Paldino [.NET/C# MVP]
- ni**************@exisconsulting.com

"Paul Lo" <pa*****@cyberwisdom.net> wrote in message
news:Ok**************@TK2MSFTNGP12.phx.gbl...
Hi,

I'm confused with when the XmlSerializer.UnknownNode event would be
invoked.. I found that my serializer deserialize my xml file perfectly into the object I want, but I still got this UnknownNode event invoked for every single node in the xml... Anyone can give me some clues?

-Opt

Nov 15 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Charles Law | last post by:
I have an xml file that I created by serializing a collection that I have created. It contains attributes and elements that correspond to my classes. I want to use the UnknownNode,...
5
by: Stuart Robertson | last post by:
I am trying to find a solution that will allow me to use XmlSerializer to serialize/deserialize a collection of objects where a given object is shared between two or more other objects, and not...
1
by: Bluetears76 | last post by:
Hi I have a hirachy of classes which are Message(base), then FileMessage and ChatMessage (extended) I want to serialize the objects and when i am deserizaling i dont know if i am getting...
3
by: Anthony Bouch | last post by:
Hi I've been reading using the XmlSerializer with custom collections. I've discovered that when serializing a custom collection (a class that implements ICollection, IList etc.) the...
3
by: Loui Mercieca | last post by:
Hi, I have created a class, named FormField , which basically contains two fields, name and value. I have set the tag before the class and the field is set as an XmlAttribute whil the name as...
12
by: SJD | last post by:
I've just read Christoph Schittko's article on XmlSerializer: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnxmlnet/html/trblshtxsd.asp . . . and very informative it is too....
4
by: Steve Long | last post by:
Hello, I hope this is the right group to post this to. I'm trying to serialize a class I've written and I'd like to be able to serialze to both binary and xml formats. Binary serialization is...
0
by: Charles Law | last post by:
I have an xml file that I created by serializing a collection that I have created. It contains attributes and elements that correspond to my classes. I want to use the UnknownNode,...
0
by: Charles Law | last post by:
I use the XMLSerializer to serialise an object called SuperClass, and I get something like this <SuperClass> <Classes> <SomeName xsi:type="MyClass1"> </SomeName> <SomeName...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.