Useful stuff for manipulating IATI data using BaseX