<?php
$html = '<a href="uploads/tutorial1.pdf">tutorial1.pdf</a>';
echo $xml . PHP_EOL;
echo $xml['href'];
PD9waHAKCiRodG1sID0gJzxhIGhyZWY9InVwbG9hZHMvdHV0b3JpYWwxLnBkZiI+dHV0b3JpYWwxLnBkZjwvYT4nOwoKJHhtbCA9IHNpbXBsZXhtbF9sb2FkX3N0cmluZygkaHRtbCk7CgplY2hvICR4bWwgLiBQSFBfRU9MOyAgIAplY2hvICR4bWxbJ2hyZWYnXTs=