How to set the xml data source in java [message #503586] |
Mon, 14 December 2009 19:59 |
Eclipse User |
|
|
|
Originally posted by: benoit_.tionex_withoutdash.de
I want to run BIRT to process an XML file with a report to a pdf output.
I found how to run the report to create the pdf, but not how to set the
path to the XML data.
|
|
|
Re: How to set the xml data source in java [message #503805 is a reply to message #503586] |
Tue, 15 December 2009 21:21 |
Eclipse User |
|
|
|
Originally posted by: benoit_.tionex_withoutdash.de
Am 14.12.2009 20:59, schrieb Frank Benoit:
> I want to run BIRT to process an XML file with a report to a pdf output.
> I found how to run the report to create the pdf, but not how to set the
> path to the XML data.
I think i found the solution with passing the input file to a task
AppContext.
|
|
|
Re: How to set the xml data source in java [message #503820 is a reply to message #503805] |
Tue, 15 December 2009 21:58 |
|
Frank,
Are you talking about the
appcon.put("org.eclipse.datatools.enablement.oda.xml.inputStream ",
bais); setting?
If you only want to change the location you could do it like:
this.setExtensionProperty("FILELIST", "C:\\test\\xmldatasource.xml");
this would be done in the beforeOpen script of the datasource. You can
also use property binding node of the datasource editor to enter an
expression.
Jason
Frank Benoit wrote:
> Am 14.12.2009 20:59, schrieb Frank Benoit:
>> I want to run BIRT to process an XML file with a report to a pdf output.
>> I found how to run the report to create the pdf, but not how to set the
>> path to the XML data.
>
> I think i found the solution with passing the input file to a task
> AppContext.
|
|
|
Powered by
FUDForum. Page generated in 0.03099 seconds