Ok, here’s my basic XML structure:
<device
name="abc"
source1="True"
source2="True"
...
source19="False"
source20="False" />
I need to search the file for the device matching a specific name, and then loop through all all it’s attributes. All of them that are true will have a user friendly string based on the option # added to a list box. I can figure out the first part but not the looping, it doesn’t seem to be something commonly done.
I think this should work