Quantcast
Channel: XML, System.Xml, MSXML and XmlLite forum
Viewing all articles
Browse latest Browse all 935

C#4.0: To delete all nodes of an XML file

$
0
0

Hello

I have an XML file:

<?xml version="1.0" encoding="UTF-8" ?>
- <dataroot xmlns:od="urn:schemas-microsoft-com:officedata" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="Test.xsd" generated="2016-09-16T22:06:41">
- <Table2><ID>1</ID><Name>A</Name></Table2>
- <Table2><ID>2</ID><Name>B</Name></Table2></dataroot>
I want to delete all of nodes.


Viewing all articles
Browse latest Browse all 935

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>