public static void main(String[] args) {
		try {
			if(args.length<3)
			{
				System.out.println("parameters error!");
				showHelp();
				System.exit(0);
			}
			else{
				txtPath=args[1];
				xmlPath=args[2];
				outputPath=args[3];
			}
			
			if(args[0].equals("-o")){
				System.out.println("creating xml file...");
				execute('o');
				}
				
				else if(args[0].equals("-e")){
					System.out.println("creating xml files...");
					execute('e');
				}
				
				else {
					showHelp();
					System.exit(0);
				}
			System.out.println("done!");

		} catch (Exception e) {
			e.printStackTrace();
			showHelp();
		}
	}