Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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 studying the Monastery: (8)
As of 2014-12-25 10:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (160 votes), past polls