I don\'t need to read complex XML files. I just want to read the following configuration file with a simplest XML reader
loc
For a similar use case in my application I used JaxB. With Jaxb, reading XML files is like interacting with Java POJOs. But to use JAXB you need to have the xsd for this xml file. You can look for more info here