The dénouement of the story is reminiscent of The Marriage of Sir Gawain (First Series, pp. 107-118). A Danish ballad, Ebbe Galt, has similar incidents.
THE KNIGHT AND THE SHEPHERD’S DAUGHTER
1.
There was a shepherd’s dochter
Kept sheep upon yon hill,
And by cam a gay braw gentleman,
And wad hae had his will.
2.
He took her by the milk-white hand,
And laid her on the ground,