Jump to content
We've recently updated our Privacy Statement, available here ×

Data Types in XML Data Source


matthew.krohn

Recommended Posts

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?

 

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...