exporter problem with group locations

All

As I try to learn Blender i have shifted to working with groups, linked in from separate files. When I export these in my exporter I seem to get the object position with the group and not the group position within the scene. So if i link a tree group and move to some location, when exported the object within the group do not have the correct location. Additionally, in a debugger, I don’t see a location property for group data class. What should i do?? Is this some global-world-alternate universe math problem??