-
对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
-
c语言实现的ip校验的算法
c语言实现的ip校验的算法-the ip checksum algorithm
- 2022-01-26 04:52:27下载
- 积分:1
-
socket.ocx组件、中文以及英文帮助文档
ocx文件好找,想找详细的说明文档犹如大海捞针。网上能搜索到和MsWinSck.ocx相关的都是些只言片语,顶多再带半个例子。
- 2022-01-29 02:14:21下载
- 积分:1
-
一个不错的竞价程序
一个不错的竞价程序-a good competitive bidding procedures. !
- 2022-02-06 07:04:08下载
- 积分:1
-
Socket 编程的DOS下和Windows开发包 Microsoft TCP/IP SDK for DOS/Windows
Socket 编程的DOS下和Windows开发包 Microsoft TCP/IP SDK for DOS/Windows-Socket programming DOS and Windows development package
Microsoft TCP/IP SDK for DOS/Windows
- 2022-08-15 22:58:35下载
- 积分:1
-
vc used to achieve the domain search tool
用vc实现的域名查找工具-vc used to achieve the domain search tool
- 2022-05-13 07:48:43下载
- 积分:1
-
实现多线程聊天室
实现多线程聊天室-The realization of multi-threaded chat room
- 2023-08-09 18:35:03下载
- 积分:1
-
stm32 socket server
使用stm32作为主控芯片的socket server示例程序,来自秉火的开发板。
使用stm32作为主控芯片的socket server示例程序,来自秉火的开发板。
使用stm32作为主控芯片的socket server示例程序,来自秉火的开发板。
- 2022-01-21 01:51:29下载
- 积分:1
-
一个非常好的crc软件
一个非常好的crc软件-CRC a very good software
- 2022-06-26 17:45:32下载
- 积分:1
-
运用sokect 编程,发送http请求并接受请求到的报文
运用sokect 编程,发送http请求并接受请求到的报文-Application programming sokect, send http request and accept the request to the Message
- 2023-06-06 05:10:03下载
- 积分:1