Formats a list to display it.                
        Input Parameters
        ----------------
        name : name of the object that contains a list of afftributes
        dataItem : list of attributes
        eltsToParse : elts to display
        
        Return
        ------
        Returns a string to display
        
        Note : When eltsToParse is no defined then all the list is displayed.

def format(name, dataItem, eltsToParse=None):
        """Formats a list to display it.                
        Input Parameters
        ----------------
        name : name of the object that contains a list of afftributes
        dataItem : list of attributes
        eltsToParse : elts to display
        
        Return
        ------
        Returns a string to display
        
        Note : When eltsToParse is no defined then all the list is displayed."""
        display = []
        if eltsToParse == None:
            display = dataItem
        else:
            display = eltsToParse
        
        str = "%s object display:\n"%(name)       
        for key, value in enumerate(display):
            str += "\t%s : %s = %s\n"%(key, value, dataItem[value])
        return str