serialization

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.
 
S

Simon Tamman

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.
 
S

sloan

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.

..................
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top