[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re[birt-report-engine-dev] trieve Xpath of column mapping
|
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
--
View this message in context: http://www.nabble.com/Retrieve-Xpath-of-column-mapping-tp14523573p14523573.html
Sent from the Eclipse BIRT - Report Engine - Dev mailing list archive at Nabble.com.