How to create an XML file in Unity

I’ve seen questions on how to write to an existing xml file, but how can I create a new one on game start up? For example, I would like to put save data in an xml file that is created when the player first starts the game. Can I create one from scratch in Unity?

If you are using c# there is millions of examples. Here is a good one