loadIndex() public method

This method loads the VTD+XML from an input stream
public loadIndex ( System is_Renamed ) : VTDNav
is_Renamed System
return VTDNav
Beispiel #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)
     {
     }
 }