Method and apparatus for converting programs and source code files written in a programming language to equivalent markup language files
First Claim
1. A method of dynamically translating an application program into a markup language file, the method comprising the computer-implemented steps of:
- executing said application program;
parsing a document type definition file for a markup language;
during execution of said application program, selecting an element defined in the document type definition file based on a routine called by said application program; and
writing the selected element to a markup language file to form a translation.
1 Assignment
0 Petitions
Accused Products
Abstract
A method and apparatus for converting programs and source code files written in a programming language to equivalent markup language files is provided. The conversion may be accomplished by a static process or by a dynamic process. In a static process, a programming source code file is converted by an application to a markup language file. A document type definition file for a markup language is parsed; a source code statement from a source code file is parsed; an element defined in the document type definition file is selected based on an association between the element and an identifier of a routine in the source code statement; and the selected element is written to a markup language file. In a dynamic process, the program is executed to generate the markup language file that corresponds to the source code file or presentation steps of the program. The application program is executed; a document type definition file for a markup language is provided as input; an element defined in the document type definition file is selected based on a routine called by the application program; and the selected element is written to a markup language file.
65 Citations
13 Claims
-
1. A method of dynamically translating an application program into a markup language file, the method comprising the computer-implemented steps of:
-
executing said application program; parsing a document type definition file for a markup language; during execution of said application program, selecting an element defined in the document type definition file based on a routine called by said application program; and writing the selected element to a markup language file to form a translation. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A data processing system for dynamically translating an application program into a markup language file, the data processing system comprising:
-
executing means for executing an application program; parsing means for parsing a document type definition file for a markup language; selecting means for selecting an element defined in the document type definition file based on a routine called by the application program; and writing means for writing the selected element to a markup language file to form a translation. - View Dependent Claims (8, 9, 10, 11, 12)
-
-
13. A computer program product on a computer readable medium for use in a data processing system for dynamically translating an application program into a markup language file, the computer program product comprising:
-
first instructions for executing an application program; second instructions for parsing a document type definition file for a markup language; third instructions for selecting an element defined in the document type definition file based on a routine called by the application program; and
fourth instructions for writing the selected element to a markup language file to form a translation.
-
Specification