Re: [xsl] csv to xml converter- contd

Subject: Re: [xsl] csv to xml converter- contd
From: Andrew Welch <andrew.j.welch@xxxxxxxxx>
Date: Tue, 9 Mar 2010 12:29:47 +0000
On 8 March 2010 21:24, a kusa <akusa8@xxxxxxxxx> 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/

Current Thread