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