Hello All,
I'am using Birt (2.2.0) in a web application to produce repport. I need to retrieve the xpath expression use for the column mapping of a xml datasource. For now i use the following code
Iterator it=design.getAllDataSets().iterator();
while(it.hasNext()){
DataSetHandle dsa=(DataSetHandle)it.next();
String dispName = dsa.getName();
String querryText=(String)dsa.getProperty("queryText");
//table0#-TNAME-#table0#:#[/RootElement]#:#{column1;STRING;/xpath1},...
...
And then i parse the querryText to retrieve the xpath information. I wonder if there is a simple way to do it (using ResultSetColumnHandle ..). Any Help.
thanks in Advance
regards
Cyril Balit