I am a new Tamino user. I wonder whether we can perform checking type in Tamino. For example, in the update Xquery or X-Query, I want to check if a node is an ID or not before I update it. Can anyone help me? Thanks in advance.
Unfortunately neither in Tamino XQuery nor in X-Query it is possible to check if a node has the type xs:ID. But given an according schema you can guarantee that an expression gives you instances of certain type. All you have to do is to avoid language constructs that destroy the type safety like // or wild-card name tests in path expressions.