public static string GetStringValue(string elementName, XElement element) { string result = string.Empty; try { result = LkCommonUtil.TrimText(element.Element(elementName).Value); } catch (Exception e) { throw e; } return(result); }