Loads the xml action to the menu template tree.
        
        :param      xaction | <xml.etree.ElementTree>

def loadXml( self, xaction ):
        """
        Loads the xml action to the menu template tree.
        
        :param      xaction | <xml.etree.ElementTree>
        """
        if ( xaction.tag == 'menu' ):
            title = xaction.get('title', '')
            item = self.createMenuItem(title)
            for xchild in xaction:
                item.addChild(self.loadXml(xchild))
            
        elif ( xaction.tag == 'separator' ):
            item = self.createSeparatorItem()
        
        else:
            key = xaction.get('name', '')
            item = self.createActionItem(key)
        
        return item