CSV到XML [英] CSV to XML
本文介绍了CSV到XML的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
您好
我需要将csv文件转换为XML。
XmlCsvReader 似乎正是我想要的,但下载链接已损坏。有谁知道我可以在哪里获得它或类似的工具?
谢谢
解决方案
我不知道在.NET框架中插入XmlReader API的任何API,但是肯定有各种工具可以将CSV转换为XML,例如
http://andrewjwelch.com/code/xslt/csv/csv-to-xml_v2.html 您可以在.NET下使用.NET版本的Saxon 9从
运行 http://saxon.sourceforge.net/
Hi
I need to convert csv files to XML. XmlCsvReader seems to be exactly what I want but the download link is broken. Does anyone know where I can get it or a tool that works similar?
Thanks
解决方案
I don't know of any API plugging into the XmlReader API in the .NET framework but there are certainly various tools around to convert CSV to XML, for instance http://andrewjwelch.com/code/xslt/csv/csv-to-xml_v2.html which you could run under .NET with the .NET version of Saxon 9 from http://saxon.sourceforge.net/.
这篇关于CSV到XML的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文