Generate XML

https://pastebin.com/raw/CMW5FtVy