From: Bee Tard Date: 2008-10-26T03:41:25+09:00 Subject: CSV to XML Great forum, been a reader for a long time. My first post comes as a request for some help. I am trying to process a CSV of undetermined length (want to know how to incorporate 'wc -l'). The CSV has 4 columns that I want to map to XML nodes. I am having trouble writing each CSV line to an individual XML file (100 lines = 100 XML files). The first CSV element in each line would be the xml file name. Seems pretty straight forward but I am pulling my hair out trying to make it work. Any help would be greatly appreciated. I have googled everywhere for it. I appreciate any help in advance! -- Posted via http://www.ruby-forum.com/.