The format of the file generated is a JSON file and not an XML file. It consists of a set of values and names and is defined by Javascript.
The tool you would want to use for creating the Azure resource template in Visual Studio.
The template will basically just explain about the resources and will focus on the dependencies that are existing within them.
Check this Azure online training out for more insights on Microsoft azure!