XML序列化与反序列化类库，改自SharpSerializer