Hello there,
Does anyone know if you can or how to deserialize part of an xml document into an object. I.e I have an object whose fields I want to fill from data in an xml document but the entire document contains data I don't want. The class that the document is made up of is variable with a fixed part. When I deserialize the whole document into a class I get the fixed part of the document fine, plus an indicator telling me which object type the variable part is. What I want to do is deserialise the entire document (done) then examine this indicator to see what type the variable part is then deserialize said variable part into the appropriate class.
Any ideas?
Russ.
No one has replied yet! Why not be the first?
Sign in or Join us (it's free).