I have an xml best practices question-- has anyone had to work with a a large number of disparate xml files, needing to pull information out of any given file in real time?
What i have is essentially about 30-40 sets of xml files - 1 is a definition file that gives me some package and organization info about a set of entities, the other is a file defining the entities themselves and all their properties. Now I could hack together what I need to do easy enough, but my question is one of best practices and performance- so far I am building a tree menu with a custom renderer based off of the definition file, and I suppose i am planning on setting a var with the currently selected file & entity, and having that bound to a mxml component that uses E4X to grab that entity out of the appropriate file with @== syntax---is there a better way to do this? My concern is, do i need to be loading, unloading each specific XML file and snatching the appropriate entity out of it at click-time? could i just compile them all together, is there a lazy loading solution? There has to be a more formal way to do something like this -- the data (XML sources) cannot be modified. This is possibly confusing xD but please let me know if you have any reccomendations - thank you very much