Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: searching the XML file for certain nodes

by ramrod (Curate)
on Mar 10, 2009 at 14:13 UTC ( #749605=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $parser = XML::LibXML->new();
    my $doc = $parser->parse_file($data);
    my ($object) = $doc->findnodes("\/e\/p\[\@v=\"YES\"\]");
    
  2. or download this
    my ($object) = $doc->findnodes("\/e\/p\[\@v=\"$criteria\"\]");
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://749605]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (15)
As of 2016-12-08 15:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (143 votes). Check out past polls.