本文介绍了将XSLT与AJAX的工作呢?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这可能是一个愚蠢的或明显的问题,而是我们整个网站使用XSLT转换是在从数据库查询等件飞创建的XML渲染。即时通讯开始了很多AJAX的推入网站,使之更有活力,有没有在XSLT和Ajax一个很好的教程?

This might be a stupid or obvious question, but our whole site is rendered using XSLT to transform xml which is created on the fly from database queries and other pieces. Im starting to push a lot of ajax into the site to make it more dynamic, is there a good tutorial on xslt and ajax?

推荐答案

您使用XSLT在服务器上,或在浏览器?

Are you using XSLT on the server or in the browsers?

现代浏览器现在,一种方法是使用AJAX来获取XML以及它的样式表在浏览器中对XML转换的支持。然后,您可以卸载样式表的处理给客户机。一定要缓存样式表,甚至送COM pressed XML。

Modern browsers now have support for XML transformations from within the browser, one way is using AJAX to fetch the XML along with its stylesheet. You can then offload the processing of stylesheets to the clients machines. Be sure to cache the stylesheet and perhaps even send compressed XML.

编码应该是直线前进,如果你已经知道该怎么做AJAX。我5年前曾这样一个系统上,这是一个可行的路要走。

The coding should be straight forward if you already know how to do AJAX. I worked on a system like this 5 years ago and it is a viable way to go.

这篇关于将XSLT与AJAX的工作呢?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-29 06:42