Variable OsmXmlWriteOptions.generator

Generator root attribute.

struct OsmXmlWriteOptions
{
  // ...
  string generator;
  // ...
}

null/empty selects "osm-d". The source document's generator is observed by the reader but is not reused automatically, because the serializer is the producer of the new XML bytes.