I have a xml reply atteched that I need to be able to access the ariables and values later in my code. How can I cast these to perhaps a $var->$val scenario.
$Status = 5;
$Reason = "Unable to authorise transaction at this time";
<Reason>Unable to authorise transaction at this time</Reason>
<FailReason>Invalid Input Data (XML document must have a top level element.).</FailReason>