-
对xml+xsl实现分页排序的改进,使支持对所有数据进行排序
以往见过的利用xml+xsl来实现分页排序的基本都只能本页内排序,而不能对所有数据进行排序,...
对xml+xsl实现分页排序的改进,使支持对所有数据进行排序
以往见过的利用xml+xsl来实现分页排序的基本都只能本页内排序,而不能对所有数据进行排序,究其原因,简单分析如下:
xml+xsl分页原理:在xsl中,遍历节点的时候,可以获取当前节点的位置,而且还能限制显示特定位置的节点,例如有18条记录,可以在xsl中设置只显示第1-6条,也可以设置只显示第7-12条,再配合客户端脚本,就可以动态改变xsl文档中控制显示指定位置节点的属性,从而实现分页(具体见代码)。不过这个有一点就是在xsl中获取的这个位置信息是xml文档中的节点位置,而不是排序后的位置;
同样xml+xsl实现排序原理:xsl可以按照节点的属性来排序,我们可以通过动态改变xsl的相关属性值来达到动态排序的目的。如果两个合起来用,却只能对当前页进行排序。 -right xml xsl achieve Pagination sort of improvement backing the right of all data ranking ever seen in the use of xml xsl order to achieve the basic pagination can only Page Ranking within, but not all right for sorting data and the reason, simple analysis is as follows : Principle xml xsl Pagination : In xsl, traversing nodes, the nodes can access the current location, but will limit revealed specific locations of nodes, for example, 18 records, xsl can be installed in only 1-6 revealed that the first, can also set up only to No. 7-12, Coupled with the client script, it can change the dynamic control xsl docume
- 2023-06-11 07:55:02下载
- 积分:1
-
Dot Msn Sample
Dot Msn Sample
- 2023-02-11 02:35:03下载
- 积分:1
-
网络同学录程序,很好用的
网络同学录程序,很好用的-alumni network procedures, the good
- 2022-09-03 15:15:02下载
- 积分:1
-
This very popular BBS fountain code in college.FireBird BBS 3.0 simple Chinese n...
高校中很流行的BBS系统源码 FireBird BBS 3.0 简体中文注释-This very popular BBS fountain code in college.FireBird BBS 3.0 simple Chinese note.
- 2023-02-26 18:25:03下载
- 积分:1
-
programmers with very enlightening Watchable
编程者必看 很用启发-programmers with very enlightening Watchable
- 2022-08-11 00:18:34下载
- 积分:1
-
put JavaMail packaged into simple Sendmail
把JavaMail包装成简单的Sendmail-put JavaMail packaged into simple Sendmail
- 2022-05-23 02:21:58下载
- 积分:1
-
运行服务器端后,客户端可通过ip进行连接,使用udp,支持客户端上传,监控屏幕,以及在服务器运行程序等功能,功能比较强大。...
运行服务器端后,客户端可通过ip进行连接,使用udp,支持客户端上传,监控屏幕,以及在服务器运行程序等功能,功能比较强大。-running server, the client can connect through ip, udp used to support client to upload, monitor screens, and the server operating procedures, functions more powerful.
- 2022-07-15 15:57:02下载
- 积分:1
-
asp.net+ajax无刷新评论(留言)系统
asp.net + ajax no refresh comments (message) System...
asp.net+ajax无刷新评论(留言)系统
asp.net + ajax no refresh comments (message) System -asp.net+ ajax no refresh comments (message) System
- 2022-03-05 12:59:18下载
- 积分:1
-
网络数据采集源代码
网络数据采集源代码-network data collection source code
- 2022-02-13 15:18:42下载
- 积分:1
-
the web develpment for vb,it s function is very strong.
vb网络开发,功能很强大-the web develpment for vb,it s function is very strong.
- 2022-01-31 12:43:40下载
- 积分:1