RWTH Aachen University
XQuery is generic, widely adopted language for querying and manipulating XML (eXtensible Markup Language) data. Many of currently available native XML databases are using XQuery as its primary query language. The XQuery specification requires each XML node to belong to exactly one XML tree. In case of the XML subtree is appended into a new XML structure, the whole subtree has to be copied. This may lead into excessive and unnecessary data copying and duplication. In this paper, the authors present a new XML node copying scheme that defers the node data copy operation unless necessary.