public static string GetSingleNodeValue(XmlElement xmlElement, string nodeName)
{
XmlNode node = xmlElement.SelectSingleNode(nodeName);
if (node == null)
{
throw new Exception(string.Format("The element is not contain the child node.Node:{0}.", nodeName));
}
return node.InnerText.Trim();
}