Hi,
I am building an application that uses a series of combo boxes that are populated by XML. The XML nodes that populate the combo box have three attributes name, file and id. Name is the label that displays in the CB. File is not important now. ID is a value that I would like to set a variable to upon the user selecting a certain item. This is my question.
I need to set a variable to the value that is determined by the ID attribute in the XML node upon a user selecting an item in the combo box.
For example. user chooses France from the CB, the variable “id” is set to say 5 which is the value of the ID attribute in the xml node where France is the “name” attribute.
Some help would be great! Thanks!