The AJAX response: XML, HTML, or JSON?
摘要:
shared from: http://www.quirksmode.org/blog/archives/2005/12/the_ajax_respon.html1. 返回XML文档对返回的XML文档进行读取,然后插入到当前的HTML页面中。读取不方便,XSLT此时派上用场,将XML文档转换成另一种XML文档; 优点:可读性强;很多开发者已经习惯XML格式,而不是JSON数据(Saying "I'd like your server side script to return an XML document" won't cause raised eyebr 阅读全文
posted @ 2013-07-15 17:11 paul_cheung 阅读(273) 评论(0) 推荐(0) 编辑