$x/…/[.>>$x] does not work with Tamino in result expressions (Probably not in other expressions as well) at least I cannot make it work.
I tried to use the position statement:
$x/…/[position()= 7], which works but of course I need to replace the number by something like “[position()=$x/position() + 1]”, i.e. depending on the position of the source node in the document tree, or even better as a rule “[position()< $x/position() +5 and position()>= $x/position()]”, defining the interval.
But for both I cannot figure out
a) if it is possible at all in Tamino XQUERY
b) which is the correct syntax.
Any ideas would be appreciated.
#API-Management#webMethods#Tamino