XML C# Tutorial

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Xml;
    public class MainClass
    {
        public static void Main()
        {
            XmlDocument doc;
            System.Xml.XPath.XPathNavigator editor;
            doc = new XmlDocument();
            doc.Load("pubs.xml");
            editor = doc.CreateNavigator().SelectSingleNode("/pubs/publishers[@pub_id='0736']/@pub_name");
            editor.SetValue("new");
            doc.Save("output.xml");
        }
    }