write-data-in-xml-using-cpp In this code we are going to create and write data into new xml file. To write data we use pugixml which is very useful to write code easily.