Tidied up Lloyds code, with easyxpath() helper.