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