public void NewXmlNode(string styleName) { this.Node =this.Document .CreateNode ("domain","chart"); XmlAttribute xa=this.Document .CreateAttribute ("name","style"); xa.Value =styleName; this.Node .Attributes .Append (xa); }