根据冒号分隔的键路径设置 XML 文档中的节点值
private static void SetXmlByColonKey(System.Xml.XmlDocument doc, string key, string? value);
doc System.Xml.XmlDocument
doc
XML 文档
key System.String
key
冒号分隔的键路径(如 "Database:Connection:Timeout")
value System.String
value
要设置的值,为 null 时设置为空字符串