Adapted XMLWriter / SnapshotReader