serialization

  • Thread starter Thread starter deeplu
  • Start date Start date
D

deeplu

Hello all,

I am new to serialization, so not truly sure if i am missing something
fundamental. My question is, can an xml file, that i get from a web
service be de serialized?

That is, it is raw xml, meaning its not xml generated by serializing
some objects. Can this xml be "de-serialized" into an object defined by
me?

Thanks in advance
Deepa.
 
I don't think so, not with the standard XML serializer, although it depends
on the exact formatting of the XML.
You'll have to write your own custom serializer to be 100% certain of it
working.
 
9/21/2005
XmlSerialization with IDictionary and CollectionBase Objects

http://sholliday.spaces.live.com/blog/

Check that article.

By the end of it, you should be much more famaliar with serializing custom
objects.

...

You can roll your own deserializers, but its much more work.

An xml to xml transformation (from an existing xml to one that is friendly
to the default serializer... might be a better option.

..................
 
Back
Top