best way to program a huge xml file
-
I have to write a program converting a csv file into a huge xml file, about 100 elements. Is the best way to just create a class xmlfile.cs then read the info from another class pass the values to xmlfile one by one, then when done use xmlwriter, in the same class, to write the whole file? Is there a better way? Thanks
-
I have to write a program converting a csv file into a huge xml file, about 100 elements. Is the best way to just create a class xmlfile.cs then read the info from another class pass the values to xmlfile one by one, then when done use xmlwriter, in the same class, to write the whole file? Is there a better way? Thanks
There are several CSV parsers on this site, have you searched them? Generating the XML...I guess fill them into an array and serialize that using an XML serializer. Will that work?
Tech, life, family, faith: Give me a visit. I'm currently blogging about: Minnesota Bridge Collapses The apostle Paul, modernly speaking: Epistles of Paul Judah Himango
-
There are several CSV parsers on this site, have you searched them? Generating the XML...I guess fill them into an array and serialize that using an XML serializer. Will that work?
Tech, life, family, faith: Give me a visit. I'm currently blogging about: Minnesota Bridge Collapses The apostle Paul, modernly speaking: Epistles of Paul Judah Himango
-
Yes I have seen and practiced with a couple. It may be more overhead but i actually like using the excel object to parse the files I find it to be easier and it works better in my head. Thanks
Ok. Is your question answered, then, regarding serializing the CSVs to XML file?
Tech, life, family, faith: Give me a visit. I'm currently blogging about: I Plead (audio) The apostle Paul, modernly speaking: Epistles of Paul Judah Himango
-
Ok. Is your question answered, then, regarding serializing the CSVs to XML file?
Tech, life, family, faith: Give me a visit. I'm currently blogging about: I Plead (audio) The apostle Paul, modernly speaking: Epistles of Paul Judah Himango
-
I have to write a program converting a csv file into a huge xml file, about 100 elements. Is the best way to just create a class xmlfile.cs then read the info from another class pass the values to xmlfile one by one, then when done use xmlwriter, in the same class, to write the whole file? Is there a better way? Thanks
you may also want to look at vtd-xml http://vtd-xml.sf.net