Fix version setting for xml export