Setting up dynamic select on XSL forms

Hi @yanokwa, @LN , I have a problem and I hope you can help me solve. I am building a form for a survey at the household level. and for each we have a repeat for each house member. we ask if that person slept under a bed net the previous night.
we also have a repeat for bed nets that were observe and we ask who slept under each the previous night. so trying to relate each member who was reported to have spent the night under a net, to a particular net type.
my question is.. how is it possible to create a dynamic select with the names of people who slept under a net appearing on a select multiple ?

thank you.