Useful XProc scripts