31 lines
963 B (Stored with Git LFS)
C#
31 lines
963 B (Stored with Git LFS)
C#
using System;
|
|
using Superlazy;
|
|
|
|
namespace SLShared.Entity.Loader
|
|
{
|
|
public static class XMLLoader
|
|
{
|
|
internal static SLEntity LoadFile(string v)
|
|
{
|
|
//XmlDocument xmldoc = new XmlDocument();
|
|
//xmldoc.LoadXml(xml.text);
|
|
//XmlDocument doc = new XmlDocument();
|
|
//doc.Load(dataFolder + fileName);
|
|
//string type = doc.DocumentElement.GetAttribute("Name");
|
|
|
|
//if (xmls.ContainsKey(type) == false)
|
|
//{
|
|
// xmls[type] = new List<XMLSet>();
|
|
//}
|
|
//var set = new XMLSet();
|
|
//int dirIdx = doc.BaseURI.IndexOf(dataFolderName) + dataFolderName.Length;
|
|
//var file = doc.BaseURI.Substring(dirIdx, doc.BaseURI.Length - dirIdx - ".xml".Length);
|
|
|
|
//set.doc = doc;
|
|
//set.filePath = file;
|
|
//xmls[type].Add(set);
|
|
|
|
throw new NotImplementedException();
|
|
}
|
|
}
|
|
} |