code: def parseMultiAttributes(self, line):
          
  
          attrs = line.split(';')
          attrs = [a.strip() for a in attrs]
          attrs = filter(lambda a:len(a)>0, attrs)
  
          new_attrs = {}
          for a in attrs:
              k, v = a.split(':')
              k, v = [s.strip() for s in (k, v)]
              new_attrs[k] = v
  
          return new_attrs
docs: Try parsing compound attribute string.
  
          Return a dictionary with single attributes in 'line'.