Permalink
Fetching contributors…
Cannot retrieve contributors at this time
29 lines (27 sloc) 1.56 KB
title ms.custom ms.date ms.prod ms.reviewer ms.suite ms.technology ms.tgt_pltfrm ms.topic dev_langs ms.assetid caps.latest.revision author ms.author manager
Removing Nodes, Content, and Values from an XML Document
03/30/2017
.net
dotnet-standard
article
VB
CSharp
C++
jsharp
d818a29a-6ee5-4725-97c4-78cf60a156b6
3
mairaw
mairaw
wpickett

Removing Nodes, Content, and Values from an XML Document

Once an XML Document Object Model (DOM) is in memory, you can remove nodes from the tree, or remove content and values from certain node types. For information on how to remove a leaf node or entire node subtree from a document, see Removing Nodes from the DOM. For information on how to remove attributes on an element, see Removing Attributes from an Element Node in the DOM. For information on removing content of a node but leaving the node in the tree, see Removing Node Content in the DOM.

See Also

XML Document Object Model (DOM)
Inserting Nodes into an XML Document
Modifying Nodes, Content, and Values in an XML Document