public static List <DocumentToken> Load(string filename) { var loader = new DocumentLoader(); var root = loader.LoadDocument(filename, filename); loader.Documents.Add(root); loader.Gather(filename, root); return(loader.Documents); }
public static List<DocumentToken> Load(string filename) { var loader = new DocumentLoader(); var root = loader.LoadDocument(filename, filename); loader.Documents.Add(root); loader.Gather(filename, root); return loader.Documents; }
public Template(string filename) { var documents = DocumentLoader.Load(filename); this.document = DocumentTransform.Transform(documents[0], documents); }