use of keyname in xml message