Fixed a minor XML bug and upgraded Saxon to latest.