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.
 

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

Back
Top