Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

using xml::simple with unknown xml structure

by ctaustin (Sexton)
on Jul 14, 2005 at 14:05 UTC ( [id://474874]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    <tables>
      <junk1 type="junk1" name="rates" requiredfields="date,rate"/>
    ...
                  calc="CASE WHEN SUM(a) != 0 THEN round((1-power(1-sum(b/
    +100*a)/sum(a),12))*100,2) ELSE SUM(0) END" required="true" cohort="fa
    +lse"/>
      </xyz>
     </tables
    
  2. or download this
    my $xml = XMLin($xfile,ForceArray=>1)||die("unable to perform 'in' n")
    +;
    
    foreach $table (keys %{$xml->{tables}}){
    print "$table\n";
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (1)
As of 2024-04-24 16:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found