Serializable

  • Thread starter Thread starter Durand
  • Start date Start date
Durand,

You could use the normal Serialization routines, but I would recommend
using the Save method on the XmlDocument. It will allow you to save to a
stream. This stream can then be reset to the beginning and then passed as a
parameter to the Load method on a new XmlDocument. This will give you the
same effect as serialization. You could always use the BinaryFormatter or
the SoapFormatter to serialize the document, but it seems like too much
overhead for something that is naturally serializable in the first place.

Hope this helps.
 
Back
Top