'Return the set of allowable next actions.'

def get_actions(self):

    actions = set()
    actions_xml = self.find(('{%s}actions' % self.namespace))
    if (actions_xml is not None):
        for action in self.next_actions:
            action_xml = actions_xml.find(('{%s}%s' % (self.namespace, action)))
            if (action_xml is not None):
                actions.add(action)
    return actions
