10. An apparatus comprising: a non-transitory machine-readable storage medium to store a first electronic document and a second electronic document; and a document comparison component to: determine a mode type for the first and second electronic documents, the mode type being one of single-page mode or continuous mode, wherein determining a mode type includes: determining a type of application that created the first and second electronic documents; and determining if there is a repeated pattern for one or more data or attributes for a number of pages of the first and second electronic documents; determine a difference between the first electronic document and the second electronic document according to the determined mode type based on an operation to match of a component of the first electronic document to a component of the second electronic document in a top-down hierarchical order.
11. The apparatus of claim 10 , wherein the component of the first electronic document and the component of the second electronic document are of a same type.