#29 changed xml lookup according to help from Asuka