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 ( [id://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
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2024-04-24 07:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found