i'd probably wrap this up into a get_key() inner function, to avoid having to type out the xmlns twice (DRY, chance for typos, etc.)