xf:index-of

I tried following xquery on Tamino Interactive Interface, but it gives the error saying that the function is unknown. What did I do wrong?

declare namespace xf=“W3C XQuery 1.0 and XPath 2.0 Functions and Operators
let $b := (1,2,3)
return xf:index-of($b,1)

It seems all the functions on sequences are not working. Can someone tell me why? thanks.

All of the functions documented in the Tamino documentation appear to be working. “index-of” is not documented there, so I presume it is not supported.

You can retrieve a specific node of a sequence with something like this:

let $b := (1,2,3)
return $b[position()=2]