Jump to content
Changes to the Jaspersoft community edition download ×

Load data from xml document


Recommended Posts

By: MohanProint - mohanproint

Load data from xml document

2005-03-04 03:40

Basically we are filling by fillReport method, fillReport method will fill the report content with secified data.

e.g :fillReport(xmlDesign,parameter, con).How do i load the data for the JasperReport, Instead of loading the data from the database.

 

 

By: gandalfchris - warchrisma

RE: Load data from xml document

2005-03-25 01:48

well it's very similar :

 

you need a datasource where you give the xml source,

you give a path to describe the structure of the xml (like Xpath),

 

be careful for fields the syntax is a little bit strange and iReport doesn't generate the right syntax..

 

look at the sample about xml given with jasper.

 

i got a question : could you give me a sample of your code to fillreport (from database) by program 'cause i got pb with .jasper loadstream (i'm a beginner at eclipse and java)

 

 

 

By: gandalfchris - warchrisma

RE: Load data from xml document

2005-04-05 03:04

pb of stream solved by using a better method of jasper !

Link to comment
Share on other sites

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