public static void SetNodeText(string file, string path, string value)
{
XmlDocument doc = LoadXMLDocument(file);
if (doc == null) return;
XmlNode node = doc.SelectSingleNode(path);
if (node == null)
return;
try
{
node.InnerText = value;
doc.Save(file);
}
catch (Exception ex)
{
//smcLog.WriteLog("Exception setting skin text property: " + ex.Message, LogLevel.Error);
}
}