On 8 March 2010 21:24, a kusa <akusa8(_at_)gmail(_dot_)com> wrote:
Hi
The csvtoxml converter by Andrew Welch works very well with single
files. But if I
want to convert it to work with a batch of files, how do I do it? The
variable in the program 'pathtoCSV' points to only a single CSV file
which gets parsed. But I want to be able to use it to work on multiple
files.
Any ideas/tips is appreciated.
You could do one of the following:
- pass the list of files as a parameter
- create an xml file containing the list of files and transform that
- obtain a directory listing using extensions and process the csv
contained in that
cheers
--
Andrew Welch
http://andrewjwelch.com
Kernow: http://kernowforsaxon.sf.net/
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--