February 9, 2010 at 2:59 PM
Here this code works fine.It seems that your code could not find the file that you have specified. Instead of input the file from command prompt check the code by specifying the file name in the code like:
String xmlFile = "C:\\data.xml";
If you got the error again,then send full error details.