//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
{
#region GetAttrib(XmlNode node, string name)
public static string GetAttrib(XmlNode node, string name)
{
if (node.Attributes == null)
return null;
if (node.Attributes[name] == null)
return null;
return node.Attributes[name].InnerText;
}
#endregion
}
}
|