Patent ID: 7194402
Filing Date: 2007-03-20
Classification: G06F

Abstract:
1. A method of converting text in a delimited flat legacy file to text in a markup language specified by a document type definition file, said method comprising the steps of: providing a delimited flat legacy file having a plurality of columns with text, each of said columns having a column heading; providing a map file conforming to said document type definition file and having tags and attributes including references matching said headings, wherein each of the column headings is matched by one of the references included in said attributes; forming a tree structure from said map file for mapping said text from said flat file into a defined format in said markup language file, and wherein each tag represents one or more nodes of said tree; reading the map file and using the map file to map text from the legacy file into the defined format in said markup language file, including the step of traversing said legacy file, column by column, and for each of the columns, mapping all of the text in the column to said markup language file, including the steps of: traversing said nodes of said tree structure, node-by-node, and when one of the references in the attributes of one of the nodes matches the heading of one of the columns of the legacy file, retrieving all of the text from said one of the columns of the legacy file, and entering said retrieved all text into said markup language file; and traversing all of said nodes of said tree to ensure that references are found matching all of the column headings of the legacy file, and thereby to ensure that all of the text from the legacy file is retrieved therefrom and entered into the markup language file.