Share date transformation between xml and csv