https://$domain/ 1.0 https://$domain/new.php 0.8 https://$domain/login.php 0.8 XML; $test_xml = new SimpleXMLElement($xml_text); echo $test_xml->asXML(); ?>