Ver Mensaje Individual
  #2 (permalink)  
Antiguo 19/02/2013, 17:03
aikonmx
 
Fecha de Ingreso: febrero-2013
Ubicación: México
Mensajes: 2
Antigüedad: 11 años, 2 meses
Puntos: 0
Respuesta: Error visualizar en servidor

Pues al parecer era cuestion de seguridad.

Cambié el código al siguiente y ya va bien.

Gracias!...



Código:
// JavaScript Document

$(document).ready(function() {

    $.ajax({type: "GET",
        url: "books.xml",
        dataType: "xml",
        cache: false,
        success: function(xml){ 

  
  $(xml).find('name').each(function() { 
    $("#name").append($(this).text());
        });
		
		
		 $(xml).find('cursivas').each(function() { 
    $("#cursivas").append($(this).text());
        });

		 $(xml).find('texto1').each(function() { 
    $("#texto1").append($(this).text());
        });

		 $(xml).find('resaltar').each(function() { 
    $("#resaltar").append($(this).text());
        });

		 $(xml).find('texto2').each(function() { 
    $("#texto2").append($(this).text());
        });


		 $(xml).find('subrayado').each(function() { 
    $("#subrayado").append($(this).text());
        });
		
				 
		$(xml).find('texto3').each(function() { 
    $("#texto3").append($(this).text());
        });
		
		 $(xml).find('texto4').each(function() { 
    $("#texto4").append($(this).text());
        });
		
		
		
		
		
		

     }});
	 });