Jump to content

Recommended Posts

Posted

By: savvy - savvyme

Addressbook sample

2005-04-05 17:46

its me again...

 

from the addressbook sample given in http://ireport.sourceforge.net/cap7.html#7.1 (Using the XML Datasource):

 

<addressbook>

<category name="home">

<person id="1">

<LASTNAME>Davolio</LASTNAME>

<FIRSTNAME>Nancy</FIRSTNAME>

:

</person>

:

<category>

:

<addressbook>

 

the Record Path of XML file Datasource is /addressbook/category/person.

 

what should be the field description of CATEGORY? the one given in the sample (/addressbook/category@name) produce an error (Extra illegal tokens: '@', 'name')...

 

for LASTNAME AND FIRSTNAME, using the field description in the sample, produce an error as well. i used 'LASTNAME' and 'FIRSTNAME' as its XPath then it's OK.

 

But for CATEGORY, i really can't figure out what to use...

 

can anyone pls help me with this?

 

thank you in advance...

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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...