in reply to Parse XML file

$fh = "d:\\inetpub\\wwwroot\\cgi-bin\\classads\\testxmlfile.xml"; print "$fh<br>"; $data = $xml->XMLin('testxmlfile.xml');

I think you need to change to $xml->XMLin($fh); The same code works for me when I kept the script and testxmlfile.xml in the same directory

use Perl;
Perl4Everything

Replies are listed 'Best First'.
Re^2: Parse XML file
by dmsparts (Sexton) on Dec 06, 2010 at 11:25 UTC

    thanks. I can now see the structure of the file to create my info page.