This ballad is said to have been written by King James V of Scotland. _From "Percy's Reliques"--Volume II._