private void CreateAttribute(string name, string text, string prefix) { XmlAttribute xa = this.Document.CreateAttribute(name, prefix); xa.Value = text; this.Node.Attributes.Append(xa); }