-
对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
-
- 2022-01-23 11:02:30下载
- 积分:1
-
用jsp实现的简单网络管理。可对标准网络设备进行标准的网络管理...
用jsp实现的简单网络管理。可对标准网络设备进行标准的网络管理-Jsp achieved with simple network management. Of standard network equipment network management standards
- 2022-07-11 08:37:14下载
- 积分:1
-
一个Apple风格的留言板,界面很清新,用php编写的。
一个Apple风格的留言板,界面很清新,用php编写的。-an Apple-style message board, a very clean interface, with php prepared.
- 2022-05-06 17:19:01下载
- 积分:1
-
此程序是一个通过WINSOKET来编写的程序,和用到了串口编程,实现计算发送信息量是多少。...
此程序是一个通过WINSOKET来编写的程序,和用到了串口编程,实现计算发送信息量是多少。-this procedure is a WINSOKET through the procedures to prepare, and used the serial programming, achieve this calculation is the amount of information.
- 2023-08-03 02:10:03下载
- 积分:1
-
socket聊天java
用javaoic的java实现,包含了服务器和客户端,如果你对此有想法,请发电子邮箱联系我,共同努力改进,分享是人类进步的保证。
- 2022-03-01 02:14:54下载
- 积分:1
-
A tcp/ip protocol stack, including the realization of the arp, tcp, udp, http, f...
一个tcp/ip协议栈,实现了包括arp、tcp、udp、http、ftp、动态分配IP等协议-A tcp/ip protocol stack, including the realization of the arp, tcp, udp, http, ftp, such as dynamic allocation of IP agreements
- 2022-06-17 19:32:42下载
- 积分:1
-
Vb environment realize a system function to operate a simple ping example can ha...
一个在vb环境实现系统ping功能操作的简单范例有需要的朋友可以-Vb environment realize a system function to operate a simple ping example can have a friend in need
- 2023-04-04 09:35:04下载
- 积分:1
-
SSD5课程";数据结构与算法";在练习…
SSD5课程《数据结构与算法》中的练习,无需在环境中更改什么-SSD5 courses "data structures and algorithms" of the exercises in the environment without any changes
- 2022-08-12 23:01:33下载
- 积分:1
-
网页上mail组件
网页上mail组件 -website mail components
- 2022-04-07 03:54:42下载
- 积分:1