How to parse XML in Swift 3 - Complex XML Construction

Oh oh I got an error with the XMLParser from Foundation, see there (see that other topic about a possible solution so I do not have to update this ticket here = too much noise).