American Express Travel Related Services Company, Inc.
发明人:
Dasari Srinivas,Harvey Kevin T.,Sockrider Cathy
申请号:
US201414170442
公开号:
US9684640(B2)
申请日:
2014.01.31
申请国别(地区):
美国
年份:
2017
代理人:
Snell & Wilmer, L.L.P.
摘要:
A method for facilitating the processing of markup language documents, e.g., XML documents, uses a code generator that creates programs configured to read dynamic XML documents at run time, avoiding many of the complexities arising from the use of conventional “XML Parse” statements. In one embodiment, this process involves (1) creating a template document using the markup language, wherein the template document includes a set of tags associated with the markup language documents; (2) parsing the template document to determine a data structure corresponding to the tags in the template document; and (3) generating an application program in the programming language (e.g., COBOL), wherein the application program includes a definition of the data structure, and is configured to read, during run-time, the markup language document and generate a corresponding set of data elements corresponding to the data structure.