Thanks for the quick reply !
Aaah, I’m testing it with the XML StarterKit (=Tamino 4.1.4.1). That’s why i couldn’t find it.
Well that brings me to another problem. Because now i’ll have to check the id attributes myself.
I would like to get the highest id attribute from a lexon.
I’ve tried the max() function as well in XQuery as in X-Query but I always the a NaN result. The count() function, however, does return a valid result.
max(//lexon[@id])
I also think I know why that is:
count() requires a node sequence
while
max() requires a sequence of items
So now is my question:
How could i retrieve the highest lexon id value (as example shown in my previous post) ?
#API-Management#Tamino#webMethods