internal void SetId(string id) { HtmlAttribute att = Attributes["id"]; if (att == null) { att = _ownerdocument.CreateAttribute("id"); } att.Value = id; _ownerdocument.SetIdForNode(this, att.Value); _outerchanged = true; }