Can anyone help me.............................pls. [message #240077] |
Mon, 28 May 2007 09:02  |
Eclipse User |
|
|
|
Originally posted by: deepti.hankare.saterisystems.com
Hi,
I am trying to write a class to run a report and use the data extraction
task from the Report Engine API. I have gone through all the instructions
given on the link
http://www.eclipse.org/birt/phoenix/deploy/reportEngineAPI.p hp
I want to extract data from an XML file (XML Data Source), but I didn't find
any instructions for the same. But I dont know how should I do that as I
dont know the methods & related classes for that.
Could someone please help me & give me a piece of code or some guidelines to
extract data from XML file? Moreover, I want to give multiple data XMLs to a
same report (.rptdesign). Is it possible ? If yes, how ?
Thanks,
Deepti.
|
|
|
Re: Can anyone help me.............................pls. [message #240235 is a reply to message #240077] |
Tue, 29 May 2007 15:36  |
Eclipse User |
|
|
|
Originally posted by: jasonweathersby.alltel.net
Deepti,
The data extract task is used on bound elements within the report. For
example if you build an xml data source bind it to a table and export
the table (name your table to make this easier). Take a look at this
example.
http://wiki.eclipse.org/index.php/Data_Extract
You can add multiple data sources by right clicking on data sources and
selecting new data source. When you create the data set use the drop
down box to choose your data source for the data set. There is also a
Joint Data Set that allows you to combine data sets using inner/outer joins.
Jason
Deepti wrote:
> Hi,
>
> I am trying to write a class to run a report and use the data extraction
> task from the Report Engine API. I have gone through all the instructions
> given on the link
> http://www.eclipse.org/birt/phoenix/deploy/reportEngineAPI.p hp
> I want to extract data from an XML file (XML Data Source), but I didn't find
> any instructions for the same. But I dont know how should I do that as I
> dont know the methods & related classes for that.
>
> Could someone please help me & give me a piece of code or some guidelines to
> extract data from XML file? Moreover, I want to give multiple data XMLs to a
> same report (.rptdesign). Is it possible ? If yes, how ?
>
> Thanks,
> Deepti.
>
>
>
|
|
|
Powered by
FUDForum. Page generated in 1.03247 seconds