Beefy Boxes and Bandwidth Generously Provided by pair Networks Joe
Just another Perl shrine
 
PerlMonks  

vili's scratchpad

by vili (Monk)
on Jun 05, 2004 at 12:43 UTC ( #361573=scratchpad: print w/ replies, xml ) Need Help??

ok, I'm trying to parse XML and am not able to differetiate between the different conditions, maybe it's something really obvious, but i'm trying to put everything in a the $car{'tradein_value'}{'clean or whatever other condition'} but cant get that to work :(
<tradein_value> <extra_clean/> <clean>3225</clean> <average>1975</average> <rough>1025</rough> </tradein_value> + <wholesale_value> <extra_clean>0</extra_clean> <clean>3150</clean> <average>1900</average> <rough>1050</rough> </wholesale_value> - <retail_value> <extra_clean>0</extra_clean> <clean>5075</clean> <average>3300</average> <rough>2250</rough> </retail_value>
Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (11)
As of 2014-04-23 09:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (541 votes), past polls