Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Retrieving an XML node value with XML::DOM::Lite and XML::Parser

by Eliya (Vicar)
on Dec 18, 2013 at 18:43 UTC ( [id://1067675]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
            my $B = $doc->selectNodes("A/B")->[$cpt]->nodeValue();
            my $D = $doc->selectNodes("A/C/D")->[$cpt]->nodeValue();
    
  2. or download this
    if(defined($A_list)){
        for my $cpt (0..$#$A_list) {
    ...
        }
        print "\n\n";
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1067675]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (4)
As of 2024-09-15 03:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The PerlMonks site front end has:





    Results (21 votes). Check out past polls.

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.