14. A tangible computer-readable storage medium having computer-executable instructions, which when executed on a computer, perform a method for inferring a schema from hierarchical data comprising: in an application program, receiving the electronic document containing the hierarchical data and determining that the hierarchical data within the electronic document does not reference a schema, wherein the hierarchical data includes one or more nodes; (a) discovering one of the nodes in the hierarchical data; (b) saving content associated with the discovered nodes; (c) repeating tasks (a)-(b) until the content for each discovered node has been saved; and generating the schema based on the content saved for each discovered node that includes specifying repeating nodes that are out of sequence as unbounded by checking at least a repeating indicator, wherein the schema provides the electronic document a set of grammatical and data type rules that govern types and a structure of data that may be included in the electronic document.
14. A tangible computer-readable storage medium having computer-executable instructions, which when executed on a computer, perform a method for inferring a schema from hierarchical data comprising: in an application program, receiving the electronic document containing the hierarchical data and determining that the hierarchical data within the electronic document does not reference a schema, wherein the hierarchical data includes one or more nodes; (a) discovering one of the nodes in the hierarchical data; (b) saving content associated with the discovered nodes; (c) repeating tasks (a)-(b) until the content for each discovered node has been saved; and generating the schema based on the content saved for each discovered node that includes specifying repeating nodes that are out of sequence as unbounded by checking at least a repeating indicator, wherein the schema provides the electronic document a set of grammatical and data type rules that govern types and a structure of data that may be included in the electronic document. 16. The tangible computer-readable storage medium of claim 14 , wherein the content comprises data associated with the discovered node, wherein the data includes information for locating the discovered node.