After doing a search through google's archives of this list, I didn't see
what I was looking for so here goes...
Is it possible to serialize/deserialize multiple objects from a single XML
file? I was looking to use the XML serialization to be able to translate
complex XML elements in a single XML file through XML serialization as
opposed to using SAX and coding my own serializer. However, the XML
Serialization API appears to only allows for reading/writing each object as
its own XML document via the XmlSerializer.Serialize method. Granted, it
would be possible to use a MemoryStream as the output/input and strip out
the offending bits after each object deserializes itself, but that seems to
be kludgy method of serialization. Deserialization is nearly the same as
you'd have to get each Xml element that represent the object to be
deserialized as its own stream first before calling the Serialize method.
Is this correct or did I miss something somewhere?