Ejemplo n.º 1
0
        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);
        }