/**
      * main()<BR>
      * Expects one argument, the input filename<BR>
      */

    public static void Main(String[] args) {
        // Check the command-line arguments

        if (args.Length != 1) {
            Console.WriteLine("Usage: XPathExample input-file");
            return;
        }
        XPathExample app = new XPathExample();
        app.go(args[0]);
    }
Esempio n. 2
0
    /**
     * main()<BR>
     * Expects one argument, the input filename<BR>
     */

    public static void Main(String[] args)
    {
        // Check the command-line arguments

        if (args.Length != 1)
        {
            Console.WriteLine("Usage: XPathExample input-file");
            return;
        }
        XPathExample app = new XPathExample();

        app.go(args[0]);
    }