10. A tree data processing system comprising: a memory; a tree acquiring component configured to receive an indication of an XML file or an XML stream to update in an input tree and store at least a portion of the input tree in the memory; an update combinator component configured to receive an indication of an update combinator, the update combinator specifying nodes to match and an indicated function to apply to matched nodes; shallow cloning component configured to clone one or more portions of the input tree that include a matching node corresponding to the update combinator; a streaming component configured to limit a streaming of the one or more portions of the input tree so that only a portion of the input tree is streamed into memory at any given time, each portion including a respective matching node corresponding to the update combinator; a functional update component configured to apply the indicated function of the update combinator to a cloned portion of the input tree; an artificial intelligence component configured to optimize a search for matching nodes based on the input tree, at least in part by utilizing an XML schema associated with the input tree to skip a search of at least one subtree of the input tree, the artificial intelligence component further configured to determine an amount of memory to be used based on a size of the input tree and an expected number of updates.
10. A tree data processing system comprising: a memory; a tree acquiring component configured to receive an indication of an XML file or an XML stream to update in an input tree and store at least a portion of the input tree in the memory; an update combinator component configured to receive an indication of an update combinator, the update combinator specifying nodes to match and an indicated function to apply to matched nodes; shallow cloning component configured to clone one or more portions of the input tree that include a matching node corresponding to the update combinator; a streaming component configured to limit a streaming of the one or more portions of the input tree so that only a portion of the input tree is streamed into memory at any given time, each portion including a respective matching node corresponding to the update combinator; a functional update component configured to apply the indicated function of the update combinator to a cloned portion of the input tree; an artificial intelligence component configured to optimize a search for matching nodes based on the input tree, at least in part by utilizing an XML schema associated with the input tree to skip a search of at least one subtree of the input tree, the artificial intelligence component further configured to determine an amount of memory to be used based on a size of the input tree and an expected number of updates. 14. The tree data processing system of claim 10 , the artificial intelligence component being further configured to determine how much of the memory to use for the input tree, based on a size of the input tree and an expected number of updates.