/// <summary>
        /// 构造一个"无分组"的分组对象
        /// </summary>
        private static GroupSchema GetDefaultGroupSchema()
        {
            GroupSchema gs = new GroupSchema();

            gs.ID       = GroupSchemas._xmlValueDefaultNoGroupId;
            gs.bDefault = false;
            //gs.CurrentLocaleId = localeid;
            gs.SetName(GroupSchemas._xmlValueZhCn, "无分组项展现");
            gs.SetName(GroupSchemas._xmlValueZhTw, "無分組項展現");
            gs.SetName(GroupSchemas._xmlValueEnUs, "No group item");
            gs.bShowDetail = true;
            return(gs);
        }
        private static GroupSchema GetDefaultCrossSchema()
        {
            GroupSchema gs = new GroupSchema();

            gs.ID       = GroupSchemas._xmlValueDefaultNoGroupId;
            gs.bDefault = false;
            //gs.CurrentLocaleId = localeid;
            gs.SetName(GroupSchemas._xmlValueZhCn, "无交叉方案");
            gs.SetName(GroupSchemas._xmlValueZhTw, "無交叉方案");
            gs.SetName(GroupSchemas._xmlValueEnUs, "No cross schema");
            gs.bShowDetail = true;
            return(gs);
        }
 private static void SetGroupSchemaName(
     XmlElement ele,
     GroupSchema gs)
 {
     foreach (string localeId in GroupSchemas._localeIds)
     {
         string path = string.Format(
             "{0}[@{1}='{2}']",
             GroupSchemas._xmlKeyLang,
             GroupSchemas._xmlKeyIDLower,
             localeId);
         XmlNode node = ele.SelectSingleNode(path);
         if (node != null)
         {
             gs.SetName(
                 localeId,
                 node.Attributes[GroupSchemas._xmlKeyName].Value);
         }
     }
 }