It is highly probable that Longfellow's version (see above) is from Sydney Gilpin, ed., The Songs and Ballads of Cumberland (1866, pp. 497-98).