Hi,
it looks like your example is lacking the “if ( condition ) part” - here is the complete example I found on the internet:
for $parent in input()//alioncorporate[@objectId <50> 40)
then $parent/@objectId
else ()
)
The query is accepted by Tamino 8.0 - but should also be valid with 4.4
Regards
Uli
#API-Management#Tamino#webMethods