1. A method for modeling an electronic data interchange (EDI) document using eXtensible Markup Language (XML) at runtime, said method comprising: identifying a plurality of structural elements in the EDI document, said identified plurality of structural elements representing at least one transaction, said identified plurality of structural elements being defined by at least one EDI schema included in the EDI document, said EDI document having an original format associated with an EDI standard, a version of the EDI standard, and a transaction set of the EDI standard; identifying common elements in the plurality of identified structure elements; determining a plurality of corresponding data values from the identified plurality of structural elements in the EDI document; without receiving input from a user to identify the EDI standard, the version of the EDI standard, and the transaction set of the EDI standard, generating a structured EDI schema representing the at least one EDI schema as a function of the identified plurality of structural elements and the plurality of determined data values, said generated structure EDI schema converting the original format based on the identified common elements; identifying one or more rules included in the EDI document, said one or more identified rules comprising at least one of the following: one or more cross field validation rules, one or more trigger field information rules, one or more reference designator rules, one or more split point information rules, and an list of rules of a segment structural element, wherein the one or more identified rules are associated with the plurality of corresponding data values; generating XML annotations based on the one or more identified rules for defining relationships between the determined data values for an XML schema; transforming the determined data values and the generated XML annotations into the XML schema corresponding to the EDI document and the structured EDI schema; and processing the XML schema at runtime such that the plurality of rules represented in the generated XML annotations are applied at runtime to the determined values.