Measurements of flavour-dependent fragmentation functions in