I'm trying to create an XML data source that will be used to load a pallete of fields into reports. A simple example of this is: <addressbook> <person> <name> <email/> <phone/> </person> </addressbook> If I use an Xpath expression of /addressbook/person this gets me the three fields I want, however all fields are defined as java.lang.String. How would I get phone for example, to be a data type other than String?