Using the Fairlight CSV to XML Converter, you can generate XML data from a simple
Currently supported platforms are:
The program requires the following modules be installed for Perl on any non-
This program can be tested via a web front-
Run the Win32 installer.
Unpack the compressed tar or zip archive into any directory you choose. A subdirectory
Edit the first line of the program file to reflect the location of your perl binary!
csv2xml [options] csv_filename
This option denotes to what file the XML output is written.
This option lets you change the comma separator to some other arbitrary character (or characters).
This option lets you change the double-
This option removes all non-
This specifies the path to which any decoded Base64 files will be saved.
This option is for internal csv2xml development, and/or bug report traces. This option should not normally be used unless you enjoy creating large files for no reason.
This option returns the program version information.
This option returns the program changelog information.
This option returns the program help (a briefer summary of the options) in a self-
The format for the CSV this file uses is very specific. Please adhere to the rules that follow.
Anywhere a non-
Anywhere a non-
Anywhere attributes start for an element, the following line should be output immediately
after either 1) the __FLT_TAG_OPEN__ line that opened the non-
Anywhere attributes end for an element, the following line should be output:
All other lines representing elements with a value should be in the format:
The following is an example of a CSV that would generate valid output:
Note how the attributes for container fields follow tag open lines, and the attributes for the plain data element (newfile) both follow their respective lines.
You can copy the text from the textarea above, save it to a local file, and upload it into the demonstration to see the resultant XML, if you wish.
If you prefix an element's value with B64: in the form of:
...then the whole contents of the indicated file will automatically be encoded in Base64 and placed in the field.
All errors will be written to standard output. This means that if the program prints anything to what would be the terminal (or the console window in Windows), there was an error. Redirection of output to a file in any operating system will let you see if there was an error. The error will be contained in the file. If the program was 100% successful, there will be no output of this type, and any redirection destination file would be zero bytes long. If you use this method to catch errors in an automated system, check the file size after using a redirect with the csv2xml command. If the file is larger than zero bytes, check the file for the exact error.
Copyright, License, Warranty, and Payment
This software remains the property of Fairlight Consulting, and license to use the program is sold to users. Fairlight CSV to XML Converter is licensed at a cost of $495.00 USD per server on which it is installed. Each license fee entitles you to use the program on one server, in any role you require.
Upon receipt of payment for a license, program will be delivered to the licensee via email at the email address associated with the PayPal payment.
Upgrades for the product are free when moving to new minor and bugfix point-
There is no warranty for this software. This software is offered "AS-
Good computing practice dictates that any program should be thoroughly tested with