1. An architecture comprising: a processor; a memory coupled to the processor; and one or more modules stored in the memory and executable via the processor, the one or more modules including: a user interface to present an xml document having text-based body elements and at least one table configured with spreadsheet functions, wherein the user interface is configured to overlay an entry field on a particular cell in the table to facilitate user entry of a formula into the particular cell; a table appearance manager to: manage how the table appears in the user interface such that the table resembles a table when not being edited and adds spreadsheet elements to the table when being edited; and apply one or more common document behaviors selectable via the user interface to both the text-based body elements and across boundaries of the table to text within the table; and a spreadsheet functionality manager to manage the spreadsheet functions for the table that is presented within the xml document of a particular application.