Is it possible to omit some data when serialising a sequence of uncertain types?

But another version of xml serializer works perfectly

serialisation_practice.vl (27.9 KB)