Yeah, I figured as much
Still have a lot to learn.
I've got it all sorted out now by creating a class for my object. This is ok for the player object and a few other unique things but it's a bit tedious to do it for everything.
What I've got is a gaming world made up of ground terrain and on that terrain are lots of objects like trees, buildings and the usual props. I've got an xml file containing positions, rotations, textures and what model file to use for each element.
My plan was to create a generic object class and then run through my xml file and create a new object using that data but I'm not sure how to convert that string so I can load it with the deserializer.
r.raw.imported_object will not work because imported_object is not defined.
Although, thinking about it I'ts probably quicker to load and setup my models first and then extracting my xml.