Now, what I want to do is to swap out the "head" elements in the collection (18cent.01.xml, etc.), replacing them with the "head" elements in "results.xml".
Is this possible using XQuery? If so, how? If not, can you suggest another way of achieving this?