<?php
$xml = <<<_XML
<?xml version="1.0"?>
<aws:UrlInfoResponse xmlns:aws="http://a...content-available-to-author-only...s.com/doc/2005-10-05/">
<aws:Response xmlns:aws="http://a...content-available-to-author-only...s.com/doc/2005-07-11">
<aws:OperationRequest>
</aws:OperationRequest>
<aws:UrlInfoResult>
<aws:Alexa>
<aws:TrafficData>
<aws:DataUrl type="canonical">google.com/</aws:DataUrl>
<aws:Rank>1</aws:Rank>
</aws:TrafficData>
</aws:Alexa>
</aws:UrlInfoResult>
<aws:ResponseStatus xmlns:aws="http://a...content-available-to-author-only...s.com/doc/2005-10-05/">
<aws:StatusCode>Success</aws:StatusCode>
</aws:ResponseStatus>
</aws:Response>
</aws:UrlInfoResponse>
_XML;
echo $xml->Response->UrlInfoResult->Alexa->TrafficData->Rank;
PD9waHAKCiR4bWwgPSA8PDxfWE1MCjw/eG1sIHZlcnNpb249IjEuMCI/PiAKPGF3czpVcmxJbmZvUmVzcG9uc2UgeG1sbnM6YXdzPSJodHRwOi8vYS4uLmNvbnRlbnQtYXZhaWxhYmxlLXRvLWF1dGhvci1vbmx5Li4ucy5jb20vZG9jLzIwMDUtMTAtMDUvIj4KICA8YXdzOlJlc3BvbnNlIHhtbG5zOmF3cz0iaHR0cDovL2EuLi5jb250ZW50LWF2YWlsYWJsZS10by1hdXRob3Itb25seS4uLnMuY29tL2RvYy8yMDA1LTA3LTExIj4KICAgIDxhd3M6T3BlcmF0aW9uUmVxdWVzdD4KICAgIDwvYXdzOk9wZXJhdGlvblJlcXVlc3Q+CiAgICA8YXdzOlVybEluZm9SZXN1bHQ+CiAgICAgIDxhd3M6QWxleGE+CiAgICAgICAgPGF3czpUcmFmZmljRGF0YT4KICAgICAgICAgIDxhd3M6RGF0YVVybCB0eXBlPSJjYW5vbmljYWwiPmdvb2dsZS5jb20vPC9hd3M6RGF0YVVybD4gCiAgICAgICAgICA8YXdzOlJhbms+MTwvYXdzOlJhbms+IAogICAgICAgIDwvYXdzOlRyYWZmaWNEYXRh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