| United States Patent | 7,194,402 |
| Poplawski | March 20, 2007 |
A method and system for converting a delimited flat file to a markup language specified by a document type definition file. The method comprises the steps of providing a delimited flat file having columns with headings, and providing a map file conforming to said document type definition file and having tags and attributes including references matching said headings. A tree structure is formed from the map file, with each tag representing one or more nodes of the tree. The tree structure is traversed, node-by-node, and for each node, the attributes are entered into said markup language file. When the attributes include one of said references, text is retrieved from one of the columns with one of the matching headings of the flat file, and that text is entered into the markup language file.
| Inventors: | Poplawski; Laura J. (Somerville, MA) |
| Assignee: |
International Business Machines Corporation
(Armonk,
NY)
|
| Appl. No.: | 10/042,400 |
| Filed: | January 9, 2002 |
| Current U.S. Class: | 704/3 ; 715/235; 717/136; 717/144 |
| Current International Class: | G06F 9/45 (20060101); G06F 17/27 (20060101) |
| Field of Search: | 704/1,2,3,7 715/513,523 717/136,144 |
| 5490242 | February 1996 | Tamura |
| 5970490 | October 1999 | Morgenstern |
| 6012098 | January 2000 | Bayeh et al. |
| 6055494 | April 2000 | Friedman |
| 6083276 | July 2000 | Davidson et al. |
| 6125391 | September 2000 | Meltzer et al. |
| 6154738 | November 2000 | Call |
| 6170081 | January 2001 | Fontana et al. |
| 6182029 | January 2001 | Friedman |
| 6292932 | September 2001 | Baisley et al. |
| 6487566 | November 2002 | Sundaresan |
| 6665863 | December 2003 | Lord et al. |
| 6678867 | January 2004 | Fong et al. |
| 6687873 | February 2004 | Ballantyne et al. |
| 6725424 | April 2004 | Schwerdtfeger et al. |
| 6772395 | August 2004 | Hyman et al. |
| 6772413 | August 2004 | Kuznetsov |
| 6785685 | August 2004 | Soetarman et al. |
| 6820135 | November 2004 | Dingman et al. |
| 6928642 | August 2005 | Seelemann |
| 6996776 | February 2006 | Makely et al. |
| 7055094 | May 2006 | Imielinski et al. |
| 7117433 | October 2006 | Glaser et al. |
| 2002/0194227 | December 2002 | Day et al. |
Wikipedia, definition of "flat file database", Jun. 20, 2005, 6 pages. cited by examiner . Wikipedia, "Document Type Definition," 5 pages. cited by examiner. |