private void AppendAttribute(StringBuilder sb, string key, string value) { sb.Append(key); sb.Append("=\""); sb.Append(value); sb.Append("\" "); }