Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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 contemplating the Monastery: (5)
As of 2014-09-21 17:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (173 votes), past polls