This is a tutorial on how to use conditions when serializing data to XML. All properties that are serialized can have a condition attached to it so as to decide if it should be serialized or not according to current conditions. More