XmlNode productToDelete; productToDelete = this.DocumentElement.SelectSingleNode(strXPath); this.DocumentElement.RemoveChild(productToDelete);