In this paper, we propose to extend XQuery - the XML query language - with a set of transformation operators which will produce a copy of an XML tree in which some subtrees will be inserted, replaced or deleted. These operators - very similar to the ones proposed for updating an XML document – greatly simplify the expression of some queries in making it possible to express only the modified part of a tree instead of its whole reconstruction. We compare the expressivity of XQuery extended in this way with XSLT. Categories and Subject Descriptors D.3.3 [Programming Languages]: Language Contructs and Features – Procedures, functions, and subroutines. General Terms Algorithms, Standardization, Languages. Keywords XML, XQuery, XML Transformations.