Adapted to Calabash 1.0.15 and Saxon 9.5.