Beispiel #1
0
        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);
        }
Beispiel #2
0
        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;
        }
Beispiel #3
0
        public Template(string filename)
        {
            var documents = DocumentLoader.Load(filename);

            this.document = DocumentTransform.Transform(documents[0], documents);
        }