Hello Peter,
no, Tamino XQuery does currently not allow document insert, and, yes, we are working on this.
The current XQuery draft (02 May 2003) defines a computed document constructor, but this does not exactly meet our requirements w.r.t. the set of parameters requested and validation (among others).
We would like some additional constructor parms most likely implementation-specific as ino:id. And we certainly require validation when inserting a new document. We are currently designing this in parallel to discussing the issue with our W3C XQuery WG members.
Having said that your query did it right according to the draft.
Regards,
Juliane.
#webMethods#API-Management#Tamino