Shared Sub Main Dim doc As System.Xml.XmlDocument Dim editor As System.Xml.XPath.XPathNavigator
doc = New System.Xml.XmlDocument()
doc.Load("pubs.xml")
editor = doc.CreateNavigator.SelectSingleNode("/pubs/publishers[@pub_id='0736']/@pub_name")
editor.SetValue("new value")
doc.Save("output.xml") End Sub End Class