James McDonald, 51, was attacked behind bars at HMP Edinburgh on the day he was due to go to trial over the attempted murder ...