Exemplo n.º 1
0
        /// <summary>
        /// 读xml
        /// </summary>
        public static XML readFileForXML(string path)
        {
            if (!File.Exists(path))
            {
                return(null);
            }

            return(XML.readXMLByString(readFileForUTF(path)));
        }
Exemplo n.º 2
0
 /// <summary>
 /// 从Resources目录读取xml
 /// </summary>
 public static XML readResourceForXML(string path)
 {
     return(XML.readXMLByString(readResourceForUTF(path)));
 }
Exemplo n.º 3
0
 /** 获取加载的xml对象 */
 public XML getXML()
 {
     return(XML.readXMLByString(_www.text));
 }