Right now if you try and set the Destination file as the same as Source 1 in the XML Merge action, the action fails with a slightly confusing message. My guess is that the file isn't opened in such a way that the output doesn't interfere with the input. This would avoid having to create intermediate steps that create temporary files.