7. One or more machine-readable storage media storing instructions which, when executed by one or more processors, causes: prior to editing a hierarchically-organized input document: generating a plurality of node events based on the hierarchically-organized input document by streaming one or more nodes of a plurality of nodes from the hierarchically-organized input document, and generating one or more operation events based on an edit script, wherein the edit script specifies a set of operations to perform on the hierarchically-organized input document; editing the hierarchically-organized input document by performing one or more operations, corresponding to one or more operation events, on one or more node events of the plurality of node events; wherein editing the hierarchically-organized input document comprises generating an output document that reflects the one or more operations, corresponding to the one or more operation events, on the one or more node events of the plurality of node events.
7. One or more machine-readable storage media storing instructions which, when executed by one or more processors, causes: prior to editing a hierarchically-organized input document: generating a plurality of node events based on the hierarchically-organized input document by streaming one or more nodes of a plurality of nodes from the hierarchically-organized input document, and generating one or more operation events based on an edit script, wherein the edit script specifies a set of operations to perform on the hierarchically-organized input document; editing the hierarchically-organized input document by performing one or more operations, corresponding to one or more operation events, on one or more node events of the plurality of node events; wherein editing the hierarchically-organized input document comprises generating an output document that reflects the one or more operations, corresponding to the one or more operation events, on the one or more node events of the plurality of node events. 8. The one or more machine-readable storage media of claim 7 , wherein one or more nodes that are identified for one or more operations in the edit script are identified by the edit script using XPath notation.