Hi,
I am trying to use an XQuery with the ancestor-or-self axis, which doesn’t work! I have also tried ancestor, but to no avail. My XQuery is as follows
let $allFinancialPoints := input()/financialHierarchy//*[count(ancestor-or-self::*[@deleted = true()]) = 0]/@id
for $pea in input()/pea
[deleteDetails/deletedFlag != true()]
[currentStatus/status = 'raised']
[profitCenter/facilityName]
[not(profitCenter/facilityID = $allFinancialPoints)]
return
<pea-details>{ $pea/id, $pea//profitCenter }</pea-details>
This started me thinking about other axis support. I tried them out, some worked, but the ones listed here didn’t:
- ancestor
ancestor-or-self
following
following-sibling
preceding
preceding-sibling
I’m using Tamino 4.4, which I believe is the current release. Does Tamino support these?
- If not is there any timescale for support?
If so, where am I going wrong