Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Finding max value from a unique tag from XML

by Shaveta_Chawla (Acolyte)
on Nov 22, 2012 at 10:24 UTC ( #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
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? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2015-07-05 15:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (67 votes), past polls