Deserializing OR'ed flags without the XmlSerializer

Most applications need to save state from time to time.  On the full .NET Framework, this is quite easy, just use the XmlSerializer to serialize your state object.  On the .NET Compact Framework, there is no public XmlSerializer (at least, not for version 1).  What about using the XML DOM?  If you are saving only…

5