Problem loading XML file

I’m trying to load an XML file into a Codeblocks project using ofxXmlSettings, but it never works, as loadfile seems to return false all the time. What I am doing is very similar to the array example here: http://www.openframeworks.cc/documentation/ofxXmlSettings/ofxXmlSettings.html

I’m very sure the XML file is formatted correctly because I generated it using savefile(). I have tried putting the XML file itself into different layers of the project folder to no avail. I have also tried manually adding the file to the CodeBlocks project itself but it still doesn’t seem to work. Does anybody have any suggestions on how to fix this or know of anything that I might be missing?

I’m using CodeBlocks 10.05 and OF 0.7.3

is the .xml in the bin/data folder?