I have an xml file that I need to load. This xml file holds data that needs to be accessed by a few classes. I'm wondering what the best approach would be to deal with this.
Basically I need a way to keep the data centralized and allow various classes to access it. Either that or have each class re-parse the xml file for the data it needs (seems inefficient).
How do you guys deal with loading an xml file with data that is used across your application (and not just in one class)?
Thanks.