Create XML from code. Programmed in Swift