Results 1 to 3 of 3

Thread: csv to xml

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Sep 2002
    Location
    Cape Town, SA
    Posts
    144

    csv to xml

    Hi
    I'm reading a csv file with vb and writing it to an xml file. The file is quite big(12000+ lines) What would be the best way to convert the whole thing to XML? Currently I'm doing it line by line and its quite slow.

  2. #2
    PowerPoster
    Join Date
    Aug 2001
    Location
    new jersey
    Posts
    2,904
    there is no such thing as a "generic" conversion from CSV (a data storage format) to XML (a markup language) so you'll have to be more specific if you expect anyone to know what you're talking about.

  3. #3
    Member
    Join Date
    Sep 2000
    Location
    Kentucky
    Posts
    56
    I would open the file as an ADO recordset then Save the recordset as XML.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width