xml data objects and functions to access them