in reply to XML parsing problem
You have data all there, I don't understand what you mean "at run-time" because XML::Simple is doing everything at run-time already. Perhaps you don't know how to work with the given data structure?