in reply to Couldn’t create file parser context for file "somename.xml"
No such file or directory. means you are attempting to open/parse a file that doesn't exists.
Make sure you've got the right file name before attempting to parse it. Something like this might help
# inside your foreach loop before parsing, check if the file does exis +ts if (-e $file ) { # parse the file }else{ print "$file doesn't exists\n"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Couldn’t create file parser context for file "somename.xml"
by laleh-poly (Novice) on Dec 31, 2009 at 18:12 UTC | |
by ikegami (Patriarch) on Dec 31, 2009 at 19:02 UTC | |
by laleh-poly (Novice) on Dec 31, 2009 at 20:00 UTC | |
by ikegami (Patriarch) on Dec 31, 2009 at 20:24 UTC | |
by laleh-poly (Novice) on Dec 31, 2009 at 21:02 UTC | |
|