!xml Refactor and compute each type individually…

… because there is some subtle differences between xCal and iCalendar
(see Section 3.6. Values of the RFC6321).