static void Main(string[] args)
        {
            if (args.Length < 2)
            {
                Console.WriteLine("Usage: ImportXML database-file xml-file {xml-file}");
                return;
            }
            VersionedStorage store = new VersionedStorage();

            store.Open(args[0]);
            XmlServer server = new XmlServer(store, Console.Out);

            for (int i = 1; i < args.Length; i++)
            {
                server.Parse(args[i]);
            }
            store.Close();
            Console.WriteLine("Press any key to exit...");
            Console.ReadLine();
        }
 static void Main(string[] args)
 {
     if (args.Length < 2) 
     { 
         Console.WriteLine("Usage: ImportXML database-file xml-file {xml-file}");
         return;
     }
     VersionedStorage store = new VersionedStorage();
     store.Open(args[0]);
     XmlServer server = new XmlServer(store, Console.Out);
     for (int i = 1; i < args.Length; i++) 
     { 
         server.Parse(args[i]);
     }
     store.Close();
     Console.WriteLine("Press any key to exit...");
     Console.ReadLine();
 }
 public XmlServer(VersionedStorage store, TextWriter writer)
 {
     this.store  = store;
     this.writer = writer;
 }
 public XmlServer(VersionedStorage store, TextWriter writer) 
 {
     this.store = store;
     this.writer = writer;
 }