Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Finding max value from a unique tag from XML

by Shaveta_Chawla (Sexton)
on Nov 22, 2012 at 10:24 UTC ( [id://1005101]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    <doc>
    <date name="processingtime">2011-04-09T11:12:22.049Z</date>
    ...
    <str name="docuid">89822</str>
    <str name="title">LKK</str>
    <\doc>
    
  2. or download this
    $html =~ s/<doc>/<doc>\n\n\n\n\n\n/g;
    my (@lines) = split("\n\n\n\n\n", $html);
    ...
    }
    }
    my $max = max @docuid;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://1005101]
Front-paged by Arunbear
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (4)
As of 2024-03-28 14:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found