Regardless of how many events you receive in a single Event Notification from Kount, the complete group of events will be surrounded by an events tag. This is the root tag of the notification. The events tag will have a total attribute which tells us how many events the notification contains and a merchant attribute (which will be your merchant ID).
Each individual event, regardless of type, will be 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>email@example.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>firstname.lastname@example.org</agent> <occurred>2010-12-01 13:19:24</occurred> </event> </events>