-
对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
-
一个支持POP3(Post Office Protocol Version 3)的MFC类
一个支持POP3(Post Office Protocol Version 3)的MFC类-a support POP3 (Post Office Protocol Version 3), the MFC category
- 2022-03-23 17:15:31下载
- 积分:1
-
C# In vs2005 (asp.net2.0) From under a category, can be custom
C# 在vs2005(asp.net2.0) 下的一个上传类,可以自定义生成的缩略图的格式及个数,还是比较方便-C# In vs2005 (asp.net2.0) From under a category, can be custom-generated form and the number of thumbnails, or more convenient
- 2022-04-16 21:58:54下载
- 积分:1
-
througput
iperf througput test
- 2017-11-09 14:54:47下载
- 积分:1
-
svc_acsystem
TSC型SVC接入交流电网的模型,包含具体的控制模型(A TSC type SVC access AC grid model)
- 2012-12-04 22:17:02下载
- 积分:1
-
ASP+Access的安全隐患及对策
ASP+Access的安全隐患及对策-ASP+ Access to the security risks and countermeasures
- 2022-05-06 10:14:19下载
- 积分:1
-
LAN-monitoring-system
局域网监控系统采用vc++6.0编写,需要oracle数据库(LAN monitoring system)
- 2013-12-13 22:03:19下载
- 积分:1
-
.net 即时聊天
基于.net 架构与应用的开发实践,利用c#语言,结合TCP面向连接的可靠网络编程,使用networkStream类和同步TCP编程,实现服务器端与客户端的实时- 即时聊天。
- 2022-02-04 06:58:28下载
- 积分:1
-
一个很好的网络流量监控系统的源程序,网络同步…
一个非常不错的网络流量监控系统vc源码,可以同步显示网络的输出流量,输入流量,总流量。-a very good network traffic monitoring system vc source, network synchronization shows the output flow, input flow, total flow.
- 2022-03-07 19:20:42下载
- 积分:1
-
10-RouterDesignx6
加州伯克里大学有关ip router设计的总体概述的文章(the University of California Baikeli ip router design of a general overview article)
- 2006-11-23 03:52:09下载
- 积分:1