August 2003
Intermediate to advanced
624 pages
15h 3m
English
Here's the pseudocode for the main routine. In the previous chapter I created a CSVRowWriter class to handle walking through the Column Elements of a single Row Element and writing them to the output stream. This routine uses a CSVRowReader to parse an input CSV row and transform it into a Row and child ColumnXX elements.
Parse input arguments from command line IF help option is specified display help message and exit ENDIF Open input file Set up DOM XML environment (dependent on implementation) Create the Output XML Document (dependent on implementation) Root Element <- Call Document's createElement method, with tagName of SimpleCSV Document <- Call Document's appendChild to append Root Element to Document ... |