Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » How to set the xml data source in java
How to set the xml data source in java [message #503586] Mon, 14 December 2009 19:59 Go to next message
Eclipse UserFriend
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 Go to previous messageGo to next message
Eclipse UserFriend
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 Go to previous message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

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.
Previous Topic:How to set up trusted connection in BIRT?
Next Topic:Switch embedded image by javascript
Goto Forum:
  


Current Time: Mon Sep 23 21:29:04 GMT 2024

Powered by FUDForum. Page generated in 0.03099 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top