如何将包含xml标记的字符串写入特定目录下的xml文件 [英] how to write a string containing xml tags to a xml file at a particular directory
本文介绍了如何将包含xml标记的字符串写入特定目录下的xml文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
我现在有一个带有xml标签的字符串,我想将该字符串作为xml文件写入到特定目录,我该怎么做?
hi all ,
i have a string with xml tags now i want to write that string as a xml file to a particular directory how can i do that ?
推荐答案
File.Write(myOutputFilePath, myXmlString);
这篇关于如何将包含xml标记的字符串写入特定目录下的xml文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文