Jenda, I tried that but it didn't work. It is not recognizing keywords like "use" and "my".
Let me tell you what my requirement is: I have to read node values present in the XML file(residing on server) from the ASP page using some scripting technology. As I am using Apache web server, I have to use Perl scripting for this req. So, I am trying to write server side script in the ASP page. When the ASP engine parses, it should parse my script and give me back the HTML with the values present in the XML file. And I know that this is possible using PERL, but I do not know the syntax exactly. Any pointer would be appreciated. -----Original Message----- From: Jenda Krynicky [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 31, 2004 4:26 PM To: [EMAIL PROTECTED]; Pothula, Giridhar Subject: Re: Perl Script for accessing XML file From: "Pothula, Giridhar" <[EMAIL PROTECTED]> > Problem: I would like to use PERL script to read the XML file (Text of > the nodes). This is basically to customize the UI skins. All the skin > values like color, images, font etc will be stored in an XML file. > > I would like to read from the XML file to generate the HTML code > dynamically. It would be much easier using XML::Simple. ... use XML::Simple; my $data = XMLin('CustomSkins.xml'); print $data->{to}; ... Jenda (Code is untested but should be about right.) ===== [EMAIL PROTECTED] === http://Jenda.Krynicky.cz ===== When it comes to wine, women and song, wizards are allowed to get drunk and croon as much as they like. -- Terry Pratchett in Sourcery -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>