COMO QUE EU FAÇO PRA CHAMAR O XML USANDO O PHP. EU GOSTARIA DE USAR A FUNÇÃO SWITCH($){ CASE 0: index.php <html> <head> <title></title> </head> <body> <div id="container"> <script type="text/javascript"> var s1 = new SWFObject("destaques.swf","rotator","460","200","7"); s1.addParam("allowfullscreen","true"); s1.addVariable("file","destaques.xml"); <-- Quero chamar o XML usando o PHP. Ex.: <? $sql = mysql_query('select * from destaques'); $dados = mysql_fetch_array($destaques); ?> s1.addVariable("width","460"); s1.addVariable("height","200"); s1.write("container"); </script> </div> </body> </html> destaques.xml <?xml version="1.0" encoding="utf-8"?> <playlist version="1" xmlns="http://xspf.org/ns/0/"> <trackList> <track> <location>adm/imgs_destaques/1.jpg</location> </track> <track> <location>adm/imgs_destaques/2.jpg</location> </track> <track> <location>adm/imgs_destaques/3.jpg</location> </track> <track> <location>adm/imgs_destaques/4.jpg</location> </track> </trackList> </playlist>