1. A method for processing an electronic document, comprising: performing a programmatic analysis to determine all required portions of an input document to produce an output document; generating an executable transformer to produce the output document from the input document; and producing the output document by transforming any streamable parts of the input document directly to corresponding parts of the output document without extraneous intermediate buffering.