$(function(){

                        $.ajax({
                                type: "GET",
                                url: "test.xml",
                                dataType: "xml",
                                success: function(data){
                                 $('day[name=Monday]>show', 
data).each(function(){
                                                $(this).each(function(){
                                                        time               = 
$(this).find('time').text();
                                                        dj                 = 
$(this).find('dj').text();
                                                        showname  
=$(this).find('showname').text();

                                                        $('body').append(time + 
'<br />' + dj + '<br />' + showname +
'<br /><br />');
                                                });
                                         });
                                }
                        });


});

Reply via email to