예제 #1
0
 static void Main(string[] args)
 {
     try
     {
         VTDGen    vg = new VTDGen();
         VTDNav    vn = vg.loadIndex("po.vxl");
         AutoPilot ap = new AutoPilot(vn);
         ap.selectXPath("//items");
         int i;
         while ((i = ap.evalXPath()) != -1)
         {
         }
         ap.resetXPath();
     }
     catch (Exception e)
     {
     }
 }