Parser.ParserBase.GetXmlNodeValue C# (CSharp) Method

GetXmlNodeValue() protected method

Retrieves the value of the specified tag xml node.
protected GetXmlNodeValue ( XmlNode node ) : string
node System.Xml.XmlNode
return string
        protected string GetXmlNodeValue(XmlNode node)
        {
            #region Check arguments

            if (node == null)
                throw new ArgumentNullException("node");

            #endregion

            XmlAttribute myValueXmlAttribute = node.Attributes[cValueXmlAttributeName];
            if (myValueXmlAttribute == null)
                return null;

            return myValueXmlAttribute.Value;
        }