November 2008
Intermediate to advanced
208 pages
4h 32m
English
If you want to populate information to the Web, Extensible Markup Language (XML) is a good format to use. The reason XML is so cool is because the format enables different systems to share data using a common format that the developer can design. This script will take the information stored in a CSV file and, instead of just outputting the comments to the user's terminal, will produce an XML file.
require 'faster_csv'
print "CSV file to read: " infile = gets.strip print "What do you want to call each element: ...
Read now
Unlock full access