i need some help with tranlating some xml.. this is a response from the usps servers. what i want to do is get the info in between <Toaddress \> and set it to varable $toaddress. then i can use it any way i wan
't. I am very new to this. but i also want to learn from this as well.the language i am working with is php so i will need a php solution
<?xml version="1.0"?>
- <DeliveryConfirmationV3.0Response>
<DeliveryConfirmationNumber>420871029101805213907586457089</DeliveryConfirmationNumber>
<DeliveryConfirmationLabel>JVBERi0xLjINCjUgMC</DeliveryConfirmationLabel>
<ToName>chris Morales</ToName>
<ToFirm>GOLDEN</ToFirm>
<ToAddress1 />
<ToAddress2>1220 southwest</ToAddress2>
<ToCity>ALBUQUERQUE</ToCity>
<ToState>NM</ToState>
<ToZip5>87102</ToZip5>
<ToZip4>1081</ToZip4>
<Postnet>87102108107</Postnet>
</DeliveryConfirmationV3.0Response>