PDA

View Full Version : Two different xml files



Sergio_S
08-18-2009, 02:00 PM
In my project, when a press a key (#1) it loads a xml file (file1.xml) and then uses it to populate a combobox objetc. If I press another key (#2) I need to populate the SAME combobox object from a DIFFERENT xml file (file2.xml).

As the xml actions do not mention the name of the loaded xml file, I am not sure if when loading the second file it will be used as the current one.

Anybody to confirm that or suggest a better way to perform the action?

Centauri Soldier
08-18-2009, 03:44 PM
Only one XML file can be loaded at a time. All XML actions refer to the currently opened XML file.

Sergio_S
08-18-2009, 06:06 PM
Thanks Centauri. I had tested it and worked like you said, but I was not sure that the application would take the last (current) html loaded.