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