def action_peek_xml(body):
 dom = utils.safe_minidom_parse_string(body)
 action_node = dom.childNodes[0]
 return action_node.tagName

def action_peek_xml ( body ) : dom = utils . safe_minidom_parse_string ( body ) action_node = dom . childNodes [ 0 ] return action_node . tagName
determine action to invoke .