5. A system comprising: a computer-readable storage medium and hardware processor coupled to the computer-readable storage medium, wherein the hardware processor is configured to: create a template document using a markup language, wherein the template document includes a set of tags associated with the markup language; parse the template document to retrieve the set of tags; create a linkage data structure corresponding to a second programming language different from the markup language, wherein the linkage data structure includes a field for each tag in the set of tags retrieved by the parsing; generate program code in the second programming language based on the set of tags retrieved by the parsing, wherein the generating comprises: wherein the procedure division statement is capable of accepting a document written in the markup language wherein the document is variable length, and wherein the procedure division statement is capable of returning a fixed format data structure corresponding to the linkage data structure, create a second programming language section to contain the program code in the second programming language; produce by the procedure division statement and the second programming language section, the program code in the second programming language, wherein the program code is configured to extract, from the document written in the markup language, a plurality of tags associated with the markup language and at least one attribute associated with each tag; form an application programming interface (API) that includes the linkage data structure and the program code; and use the application programming interface (API) to pass content from one or more documents written in the markup language to a program element of a program written in the second programming language.
5. A system comprising: a computer-readable storage medium and hardware processor coupled to the computer-readable storage medium, wherein the hardware processor is configured to: create a template document using a markup language, wherein the template document includes a set of tags associated with the markup language; parse the template document to retrieve the set of tags; create a linkage data structure corresponding to a second programming language different from the markup language, wherein the linkage data structure includes a field for each tag in the set of tags retrieved by the parsing; generate program code in the second programming language based on the set of tags retrieved by the parsing, wherein the generating comprises: wherein the procedure division statement is capable of accepting a document written in the markup language wherein the document is variable length, and wherein the procedure division statement is capable of returning a fixed format data structure corresponding to the linkage data structure, create a second programming language section to contain the program code in the second programming language; produce by the procedure division statement and the second programming language section, the program code in the second programming language, wherein the program code is configured to extract, from the document written in the markup language, a plurality of tags associated with the markup language and at least one attribute associated with each tag; form an application programming interface (API) that includes the linkage data structure and the program code; and use the application programming interface (API) to pass content from one or more documents written in the markup language to a program element of a program written in the second programming language. 6. The system of claim 5 , wherein the second programming language is COBOL.