I created a Java application which opens an xml file that looks something like this:
Try this,
this.getResources().getString(R.xml.test); // returns you the path , in string,invoked on activity object