Does BIRT support XPath Axes? [message #1073293] |
Wed, 24 July 2013 13:33 |
Paolo Aprile Messages: 24 Registered: June 2013 |
Junior Member |
|
|
Hi again!
I'm trying to select data from an XML data source, but it doesn't seem to support the use of XPath axes.
Given an XML like this (courtesy of Zvom XLab):
<AAA>
<BBB aaa="111" bbb="222">
<CCC/>
<CCC xxx="555" yyy="666" zzz="777"/>
</BBB>
<BBB aaa="999">
<CCC xxx="qq"/>
<DDD xxx="ww"/> //--->This xxx is the attribute I want to select
<EEE xxx="oo"/>
</BBB>
<BBB>
<DDD xxx="oo"/>
</BBB>
</AAA>
I'm mapping a column with something like this:
//CCC[@xxx="qq"]/following-sibling::DDD/@xxx
While in the XLab and elsewere it works perfectly, in BIRT I only obtain a void column.
Does anyone know if this syntax is supported?
Thanks!
Paolo
Edit:
I tried this solution, that doesn't involve any XPath functions and should be supported:
/AAA/BBB/CCC[@xxx="qq"]/../DDD/@xxx
Again, no result. While it works in other contexts, it doesn't recover any data in BIRT.
Any suggestions?
[Updated on: Thu, 25 July 2013 08:28] Report message to a moderator
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03083 seconds