예제 #1
0
        public static void AttributeFromText(this XmlElement rootElement, string attributeName, string value)
        {
            XmlAttribute attribute = rootElement.GetOrCreateAttribute(attributeName);

            attribute.WriteString(value);
        }