Hi Lukas,
Zitat von Lukas Kircher lukaskircher1@googlemail.com:
However, I am not sure if it is possible at all to mix displaying
(in the "then" part) and updating (in the "else" part)
True - that's actually a limitation of the update specification, wich forbids mixing updating and non-updating expressions. You can find some information on it in our documentation [1] and in the actual XQuery specification [2]. As a consequence you have to insert the new query element during a consecutive query.
OK, thanks for clarification.
Cerstin