1. A computer-readable medium comprising a data structure for representing a document, the data structure comprising: a plurality of nodes in a tree of a first tree type representing user interface elements appearing in the document; and a plurality of nodes in a tree of a second, different tree type representing formatted sequential data in the document; and at least one proxy node by which the trees are combined into a single, navigable data structure.