private string GetGlobalStyleElement(XmlNode node, string style)
{
try
{
XmlNode elementNode = node.SelectSingleNode(style,
this.Document.NamespaceManager);
if (elementNode != null)
if (elementNode.InnerText != null)
return elementNode.InnerText;
}
catch(Exception)
{
//Console.WriteLine("GetGlobalStyleElement: {0}", ex.Message);
}
return null;
}