Selecting random multiple choice alternatives from a dataset

Hi all,

Let's say I have a list of hamlets in a csv file:

Hamlet A
Hamlet B
Hamlet C
Hamlet D
Hamlet E
Hamlet F
Hamlet G
And so forth.

I'm trying to design a set of questions where two hamlets from the list are randomly selected and respondents have to select one of the alternatives. For example:

"Between Hamlet X (randomly selected) and Hamlet Y (random as well), which do you pick?"
1.Hamlet X
2.Hamlet Y

The form would repeat the same question dozens of times, with different combinations of hamlets. Any idea on how this could be done in ODK/XLSForm?