$yml= new YML(); header("Content-type: text/xml; "); echo $yml->exportToYml(array(),true);