//Microsoft Public License (Ms-PL)
//http://dbmlmanager.codeplex.com/license
#region using
using System;
using System.Xml;
#endregion
namespace DbmlManager.Lib.Utility
{
#region Class Docs
/// <summary>
/// Summary description for XmlUtil.
/// </summary>
#endregion
public class XmlUtil
{
// Public Static Methods
#region AddXmlElement(XmlDocument xml, XmlNode parent, string nodeName, string nodeText)
public static void AddXmlElement(XmlDocument xml, XmlNode parent, string nodeName, string nodeText)
{
XmlElement node = xml.CreateElement(nodeName);
node.InnerText = nodeText;
parent.AppendChild(node);
}
#endregion
}
}
|