Imports System
Imports System.Xml.Linq
Public Class MainClass
Public Shared Sub Main()
Dim employees As XElement = XElement.Load("Employees.xml")
employees..ElementAt(3).Remove()
For Each ele In employees..ToList
ele.SetElementValue("HireDate", Nothing)
Next
Console.WriteLine(employees.ToString)
End Sub
End Class