1. Is it possible to have more than one item in the XML file if I plan to use it as stated above? This is an example of 1 item that will be listed (and there will be at least 40+ items minimum). -- Here I also need to know how to place the name so it will be useable in the app (such as where it says <weapon> - would that not need to be more like <weapon name>?
<?xml version="1.0" encoding="UTF-8"?> <weapon> <class>Energy</class> <item>1</item> <name>PPC</name> <techBase>Inner Sphere</techBase> <level>1</level> <tonnage>10</tonnage> <heat>10</heat> <crits>3</crits> <multiplelocations>false</multiplelocations> <shotsPerTon>0</shotsPerTon> <cost/> <battleValue/> <minRange>3</minRange> <shortRange>6</shortRange> <mediumRange>9</mediumRange> <longRnage>12</longRnage> </weapon>
2. How do I get it to associate with the treeview in the app? I need it to be that when the user of the app double clicks the item in the list that it gets selected and moved to a place where it will be able to be allocated (placed into a position like in a arm, leg, etc of the machine) - I do not have the selected equipment box picked out yet as I am not sure what type would work best (so I am open to suggestions there too)...
Thank you ahead of time for all your help in this.