Run a SelectNodes with the Following XPath
//CustomerID
Then check if the Parent is <> null (nothing)
Move to the parent and then say RemoveChild, passing in the reference to the
Child (CustomerID)
Node.
Joe Feser
> i would like to remove all elements called say
> <CustomerID>
> from an xml file
> is there an easy way to do this programmatically.
>
> thanks for the help.