Deleting nodes in XML using Recursion

There's a good example (in C#)  by Urmila Singhal on using Recursion to delete nodes in an XML document. One can delete all occurences of an XML node from an XML doc by providing a node name or with an optional attribute name of the nodes to be deleted.