谁能告诉我如何附加xml文件 [英] Can anyone tell me how to append xml file
问题描述
我是一名学生,正在学习c Sharp.我对附加xml文件有问题...实际上我有一个代码可以将文件和嵌套文件夹从源文件夹复制到目标文件夹,并且每当复制文件或文件夹时并排并排我也通过使用XmlTextWriter
类在xml文件中写入条目,现在的问题是我如何追加xml文件?问题,我不知道该如何解决.......请在这里的任何人都可以尽快为我提供帮助. .
Hi,
I am a student and learning c sharp.I have a problem regarding appending the xml file...Actually i have a code which copy files and nested folders from source folder to destination folder and with that side by side whenever a file or folder copied i am writing the entries in the xml file as well by using XmlTextWriter
class and now the problem is that how can i append the xml file????????????I am in a deep trouble with this problem and i don''t know how to cope with it.......Please anyone here can help me as soon as possible??????????????I am very thankfull to you.
thanks in advance.
推荐答案
请参阅此链接: http://www.daniweb.com/software-development/csharp/threads/53292 [ ^ ]
-MKB:)
See this link : http://www.daniweb.com/software-development/csharp/threads/53292[^]
-MKB :)
附加xml方案之一是合并两个或多个xml文件.看一下这篇MSDN文章中的操作方法. 如何通过使用Visual C#.NET使用System.Xml合并来自两个XML文档的数据 [
One of appending xml scenario would be merging two or more xml files. Take a look this MSDN article how to do so. How To Merge Data from Two XML Documents Using System.Xml by Using Visual C# .NET[^]
这篇关于谁能告诉我如何附加xml文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!