Measurement of jet fragmentation in Pb+Pb and pp collisions at sNN−−−√=2.76 TeV with the ATLAS detector at the LHC