Why are you bothering with XML? You have the table, just store the user's selection as a string (eg "1,5,9,10,11,3,14") in the Registry and read it from there when you need it.