Regardless of how many events you receive in a single Event Notification from Kount, the complete group of events is surrounded by an events tag. This is the root tag of the notification. The events tag has a total attribute which tells us how many events the notification contains and a merchant attribute (which will be your merchantID).
Each individual event, regardless of type, is surrounded by an event tag.
Also, preceding the events tag is the xml header which contains the required information detailing the XML version and encoding.
<?xml version="1.0" encoding="UTF-8"?> <events merchant="999999" total="2"> <event> <name>DMC_EMAIL_ADD</name> <key>TEST@MENOW.com</key> <old value></old value> <new value>decline</new value> <agent>abc1@keynetics.com</agent> <occurred>2010-12-01 12:11:21</occurred> </event> <event> <name>DMC_EMAIL_ADD</name> <key>JOHN@TEST.com</key> <old_value></old_value> <new_value></new_value> <agent>def2@keynetics.com</agent> <occurred>2010-12-01 13:19:24</occurred> </event> </events>