Patent ID: 8145667

Claim:
In a computer system, a method for generating an XML payload from an XML list and independent of a schema associated with the XML list, the method comprising: (a) receiving the XML list for processing; (b) determining each field path and a corresponding parent path for each record in the XML list without processing the schema associated with the XML list; (c) creating an XML payload node tree from a plurality of parent/child relationships defined by said field paths and said parent paths for said records in the XML list, wherein creating the XML payload node tree further comprises: (c1) grouping said parent paths according to a number of steps in said parent paths; (c2) building a first branch of said XML payload node tree by: (c2a) traversing a said parent path that has a least number of steps for a first record in the XML list; (c2b) traversing a next path that has a next least number of steps in said first record; and (c2c) repeating step (c2b) until all said next paths in said first record have been traversed; (c3) building a next branch of said XML payload node tree by repeating steps (c2a), (c2b), and (c2c) for a next record; and (c4) repeating step (c3) until a last record in the XML list has been traversed; (d) converting said XML payload node tree into an XML payload list; and (e) exporting said XML payload list for use by an application or web page.