METHODS AND APPARATUS FOR CREATING MARKUP LANGUAGE DOCUMENTS
First Claim
1. A method for obtaining computer-generated markup language documents using a programming language, the method including:
- parsing, by a computer-based system for obtaining computer-generated markup language documents, a template document to determine a working storage structure corresponding to a plurality of tags, wherein the template document includes the plurality of tags; and
generating, by the computer-based system and in the programming language, an application protocol interface (API);
wherein the API generates a markup language document during run-time, wherein the API generates a corresponding set of data elements corresponding to the working storage structure, and wherein the API includes a definition of the working storage structure including a plurality of API variables, code for each tag that participates in an array, and code configured to compress the data elements by truncating leading spaces in each data element, and wherein a dimension of the array can be adjusted in response to receiving input from a user interface.
3 Assignments
0 Petitions
Accused Products
Abstract
A method for generating markup language documents, e.g., XML documents, uses a code generator that creates programs configured to create dynamic XML documents at run time, avoiding many of the complexities arising from the use of conventional “XML GENERATE” statements. In one embodiment, this process involves (1) creating a template document using a 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 working storage 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 working storage structure, and is configured to generate, during run-time, a markup language document corresponding to the original template document.
-
Citations
17 Claims
-
1. A method for obtaining computer-generated markup language documents using a programming language, the method including:
-
parsing, by a computer-based system for obtaining computer-generated markup language documents, a template document to determine a working storage structure corresponding to a plurality of tags, wherein the template document includes the plurality of tags; and generating, by the computer-based system and in the programming language, an application protocol interface (API); wherein the API generates a markup language document during run-time, wherein the API generates a corresponding set of data elements corresponding to the working storage structure, and wherein the API includes a definition of the working storage structure including a plurality of API variables, code for each tag that participates in an array, and code configured to compress the data elements by truncating leading spaces in each data element, and wherein a dimension of the array can be adjusted in response to receiving input from a user interface. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A tangible computer-readable storage medium having stored thereon a plurality of instructions, when executed by a computer-based system for obtaining computer-generated markup language documents using a programming language, perform operations comprising:
-
parsing a template document to determine a working storage structure corresponding to a plurality of tags, wherein the template document includes the plurality of tags; and generating an API in the programming language; wherein the API generates a markup language document during run-time, wherein the API generates a corresponding set of data elements corresponding to the working storage structure, and wherein the API includes a definition of the working storage structure including a plurality of API variables, code for each tag that participates in an array, and code configured to compress the data elements by truncating leading spaces in each data element, and wherein a dimension of the array can be adjusted in response to receiving input from a user interface.
-
-
10. A computer-based system for obtaining computer-generated markup language documents using a programming language, said system comprising:
-
a network interface communicating with a memory; the memory communicating with a processor; and the processor, when executing a computer program, is configured to; parse a template document to determine a working storage structure corresponding to a plurality of tags, wherein the template document includes the plurality of tags; and generate an API in the programming language; wherein the API generates a markup language document during run-time, wherein the API generates a corresponding set of data elements corresponding to the working storage structure, and wherein the API includes a definition of the working storage structure including a plurality of API variables, code for each tag that participates in an array, and code configured to compress the data elements by truncating leading spaces in each data element, and wherein a dimension of the array can be adjusted in response to receiving input from a user interface. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17)
-
Specification