将文本文件转换为xml吗? [英] convert a text file into xml ?

查看:86
本文介绍了将文本文件转换为xml吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我必须将带有某些定界符的文本文件转换为XML文件,并针对xslt进行验证.请分享一些代码以完成此操作或提供有用的链接.谢谢

i have to convert a text file with some delimiter to an XML file and verify it against a xslt . Please share some code to do it or provide a useful link about it .Thanks

推荐答案

对于XML验证部分,请查看以下文章.它在代码中使用xslt来验证XML.

C#-XML模式验证器 [
For the XML validation part, check the following article. It uses xslt in the code to validate XML.

C# - XML Schema Validator[^]

Rephrased answer[/Edit]


嗨 希望对您有帮助

http://www.stylusstudio.com/text_file_to_xml.html [
Hi Hope this may help you

http://www.stylusstudio.com/text_file_to_xml.html[^]


尝试.txt转换为.xml [在C示例中将文本文件转换为XML代码 [
Try .txt to .xml[^]

and

convert text file to XML in C sample code[^]

hope it helps :)


这篇关于将文本文件转换为xml吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆