Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
For node types that inherit from XmlCharacterData, which are the XmlComment, XmlText, XmlCDataSection, XmlWhitespace, and XmlSignificantWhitespace node types, you can remove characters using the DeleteData method, which removes a range of characters from the node. If you want to remove content completely, you remove the node that contains the content. If you want to keep the node, but the content is incorrect, then modify the content. For information on modifying the content of a node, see Modifying Nodes, Content, and Values in an XML Document.