XML is used for the gui elements. lua is used for the source code.
If I understand you correctly you'd like to use an XML file to do the for loop?
Or do you want to use a lua file with the for loop and output some fancy xml gui elements showing the buffs in it?
|