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>


Reply via email to