12. The system of claim 11 , further comprising a document conditioner to condition the document processing program to facilitate programmatic analysis.
11. A system to generate an effective schema of an electronic document for optimizing the processing thereof, comprising: a programmatic analyzer that performs a programmatic analysis on a document processing program to determine required portions of the electronic document; a parser to build up an optimized document model or indexed document tree including a plurality of nodes each corresponding to one of the required portions of the electronic document; and an optimization module that optimizes the document processing program by specializing the document processing program against the optimized document model from the parser, wherein an operation of the document processing program that is associated with an unused member of the optimized document model is removed from the document processing program; and a rendering unit for rendering the electronic document using the optimized document processing program with a shorter processing time and a reduced memory requirement than without optimization.