Encog.Util.XMLUtil.CreateProperty C# (CSharp) Method

CreateProperty() public static method

Create a property element. Do not append it though!
public static CreateProperty ( XmlDocument doc, String name, String value_ren ) : XmlNode
doc System.Xml.XmlDocument The document to use.
name String The name of the property.
value_ren String The value to add to the property.
return System.Xml.XmlNode
        public static XmlNode CreateProperty(XmlDocument doc, String name,
                 String value_ren)
        {
            XmlNode n = doc.CreateElement(name);
            n.AppendChild(doc.CreateTextNode(value));
            return n;
        }