We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpOther Libraries › proXML doesn't see file on local path
Page Index Toggle Pages: 1
proXML doesn't see file on local path (Read 473 times)
proXML doesn't see file on local path
Aug 19th, 2009, 5:12pm
 
Hello,

First of all I'd like to say that I don't really have much of an idea of what it is that I'm doing. I am working on a file written a few years ago by someone much more advanced than me. It contains the following line for looking for an XML file online:

Quote:
  cluster_data.setXMLDataPath( "http://www...xml" );



but it also has this line commented out for finding what I assume would be a local XML file.

Quote:
  cluster_data.setXMLDataPath( "C:\\...xml" );



However, when I set the path to a local file, the program runs fine except all the values are set to zero. If I remove the file from the directory it's in, the same thing happens- the program runs fine but everything's set to zero (no 'missing file' error or anything), which leads me to believe it's just not seeing the file.

Anyone know what I might be doing wrong?
Page Index Toggle Pages: 1