[已解决]请教
时间:2004-03-14
来源:互联网
如何求得以下这个单元格总数
<xml id="ye"> <usergroup> <user> <text1>网易1</text1> <href1>http://www.163.com</href1> <text2>无忧1</text2> <href2>http://www.51js.com</href2> <text3>新浪1</text3> <href3>http://www.sina.com.cn</href3> </user> <user> <text1>网易2</text1> <href1>http://www.163.com</href1> <text2>无忧2</text2> <href2>http://www.51js.com</href2> <text3>新浪2</text3> <href3>http://www.sina.com.cn</href3> </user> <user> <text1>网易3</text1> <href1>http://www.163.com</href1> <text2>无忧3</text2> <href2>http://www.51js.com</href2> <text3>新浪3</text3> <href3>http://www.sina.com.cn</href3> </user> <user> <text1>网易4</text1> <href1>http://www.163.com</href1> <text2>无忧4</text2> <href2>http://www.51js.com</href2> <text3>新浪4</text3> <href3>http://www.sina.com.cn</href3> </user> <user> <text1>网易5</text1> <href1>http://www.163.com</href1> <text2>无忧5</text2> <href2>http://www.51js.com</href2> <text3>新浪5</text3> <href3>http://www.sina.com.cn</href3> </user> <user> <text1>网易6</text1> <href1>http://www.163.com</href1> <text2>无忧6</text2> <href2>http://www.51js.com</href2> <text3>新浪6</text3> <href3>http://www.sina.com.cn</href3> </user> <user> <text1>网易7</text1> <href1>http://www.163.com</href1> <text2>无忧7</text2> <href2>http://www.51js.com</href2> <text3>新浪7</text3> <href3>http://www.sina.com.cn</href3> </user> <user> <text1>网易8</text1> <href1>http://www.163.com</href1> <text2>无忧8</text2> <href2>http://www.51js.com</href2> <text3>新浪8</text3> <href3>http://www.sina.com.cn</href3> </user> <user> <text1>网易9</text1> <href1>http://www.163.com</href1> <text2>无忧9</text2> <href2>http://www.51js.com</href2> <text3>新浪9</text3> <href3>http://www.sina.com.cn</href3> </user> <user> <text1>网易10</text1> <href1>http://www.163.com</href1> <text2>无忧10</text2> <href2>http://www.51js.com</href2> <text3>新浪10</text3> <href3>http://www.sina.com.cn</href3> </user> <user> <text1>网易11</text1> <href1>http://www.163.com</href1> <text2>无忧11</text2> <href2>http://www.51js.com</href2> <text3>新浪11</text3> <href3>http://www.sina.com.cn</href3> </user> <user> <text1>网易12</text1> <href1>http://www.163.com</href1> <text2>无忧12</text2> <href2>http://www.51js.com</href2> <text3>新浪12</text3> <href3>http://www.sina.com.cn</href3> </user> <user> <text1>网易13</text1> <href1>http://www.163.com</href1> <text2>无忧13</text2> <href2>http://www.51js.com</href2> <text3>新浪13</text3> <href3>http://www.sina.com.cn</href3> </user> <user> <text1>网易14</text1> <href1>http://www.163.com</href1> <text2>无忧14</text2> <href2>http://www.51js.com</href2> <text3>新浪14</text3> <href3>http://www.sina.com.cn</href3> </user> <user> <text1>网易15</text1> <href1>http://www.163.com</href1> <text2>无忧15</text2> <href2>http://www.51js.com</href2> <text3>新浪15</text3> <href3>http://www.sina.com.cn</href3> </user> <user> <text1>网易16</text1> <href1>http://www.163.com</href1> <text2>无忧16</text2> <href2>http://www.51js.com</href2> <text3>新浪16</text3> <href3>http://www.sina.com.cn</href3> </user> <user> <text1>网易17</text1> <href1>http://www.163.com</href1> <text2>无忧17</text2> <href2>http://www.51js.com</href2> <text3>新浪17</text3> <href3>http://www.sina.com.cn</href3> </user> <user> <text1>网易18</text1> <href1>http://www.163.com</href1> <text2>无忧18</text2> <href2>http://www.51js.com</href2> <text3>新浪18</text3> <href3>http://www.sina.com.cn</href3> </user> <user> <text1>网易19</text1> <href1>http://www.163.com</href1> <text2>无忧19</text2> <href2>http://www.51js.com</href2> <text3>新浪19</text3> <href3>http://www.sina.com.cn</href3> </user> </usergroup> </xml> <table id=tb datasrc=#ye border datapagesize=3 style="border-collapse:collapse;border:1px solid red"> <tr> <td width=100 height=25><a href=datafld datafld=href1><span datafld=text1></span></a></td> <td width=100 height=25><a href=datafld datafld=href2><span datafld=text2></span></a></td> <td width=100 height=25><a href=datafld datafld=href3><span datafld=text3></span></a></td> </tr> </table> <input type=button value=previous onclick="tb.previousPage()"><input type=button value=next onclick="tb.nextPage()">
提示:您可以先修改部分代码再运行
[ 本帖由 yexj00 于 2004-3-14 14:27 最后编辑 ]
<xml id="ye"> <usergroup> <user> <text1>网易1</text1> <href1>http://www.163.com</href1> <text2>无忧1</text2> <href2>http://www.51js.com</href2> <text3>新浪1</text3> <href3>http://www.sina.com.cn</href3> </user> <user> <text1>网易2</text1> <href1>http://www.163.com</href1> <text2>无忧2</text2> <href2>http://www.51js.com</href2> <text3>新浪2</text3> <href3>http://www.sina.com.cn</href3> </user> <user> <text1>网易3</text1> <href1>http://www.163.com</href1> <text2>无忧3</text2> <href2>http://www.51js.com</href2> <text3>新浪3</text3> <href3>http://www.sina.com.cn</href3> </user> <user> <text1>网易4</text1> <href1>http://www.163.com</href1> <text2>无忧4</text2> <href2>http://www.51js.com</href2> <text3>新浪4</text3> <href3>http://www.sina.com.cn</href3> </user> <user> <text1>网易5</text1> <href1>http://www.163.com</href1> <text2>无忧5</text2> <href2>http://www.51js.com</href2> <text3>新浪5</text3> <href3>http://www.sina.com.cn</href3> </user> <user> <text1>网易6</text1> <href1>http://www.163.com</href1> <text2>无忧6</text2> <href2>http://www.51js.com</href2> <text3>新浪6</text3> <href3>http://www.sina.com.cn</href3> </user> <user> <text1>网易7</text1> <href1>http://www.163.com</href1> <text2>无忧7</text2> <href2>http://www.51js.com</href2> <text3>新浪7</text3> <href3>http://www.sina.com.cn</href3> </user> <user> <text1>网易8</text1> <href1>http://www.163.com</href1> <text2>无忧8</text2> <href2>http://www.51js.com</href2> <text3>新浪8</text3> <href3>http://www.sina.com.cn</href3> </user> <user> <text1>网易9</text1> <href1>http://www.163.com</href1> <text2>无忧9</text2> <href2>http://www.51js.com</href2> <text3>新浪9</text3> <href3>http://www.sina.com.cn</href3> </user> <user> <text1>网易10</text1> <href1>http://www.163.com</href1> <text2>无忧10</text2> <href2>http://www.51js.com</href2> <text3>新浪10</text3> <href3>http://www.sina.com.cn</href3> </user> <user> <text1>网易11</text1> <href1>http://www.163.com</href1> <text2>无忧11</text2> <href2>http://www.51js.com</href2> <text3>新浪11</text3> <href3>http://www.sina.com.cn</href3> </user> <user> <text1>网易12</text1> <href1>http://www.163.com</href1> <text2>无忧12</text2> <href2>http://www.51js.com</href2> <text3>新浪12</text3> <href3>http://www.sina.com.cn</href3> </user> <user> <text1>网易13</text1> <href1>http://www.163.com</href1> <text2>无忧13</text2> <href2>http://www.51js.com</href2> <text3>新浪13</text3> <href3>http://www.sina.com.cn</href3> </user> <user> <text1>网易14</text1> <href1>http://www.163.com</href1> <text2>无忧14</text2> <href2>http://www.51js.com</href2> <text3>新浪14</text3> <href3>http://www.sina.com.cn</href3> </user> <user> <text1>网易15</text1> <href1>http://www.163.com</href1> <text2>无忧15</text2> <href2>http://www.51js.com</href2> <text3>新浪15</text3> <href3>http://www.sina.com.cn</href3> </user> <user> <text1>网易16</text1> <href1>http://www.163.com</href1> <text2>无忧16</text2> <href2>http://www.51js.com</href2> <text3>新浪16</text3> <href3>http://www.sina.com.cn</href3> </user> <user> <text1>网易17</text1> <href1>http://www.163.com</href1> <text2>无忧17</text2> <href2>http://www.51js.com</href2> <text3>新浪17</text3> <href3>http://www.sina.com.cn</href3> </user> <user> <text1>网易18</text1> <href1>http://www.163.com</href1> <text2>无忧18</text2> <href2>http://www.51js.com</href2> <text3>新浪18</text3> <href3>http://www.sina.com.cn</href3> </user> <user> <text1>网易19</text1> <href1>http://www.163.com</href1> <text2>无忧19</text2> <href2>http://www.51js.com</href2> <text3>新浪19</text3> <href3>http://www.sina.com.cn</href3> </user> </usergroup> </xml> <table id=tb datasrc=#ye border datapagesize=3 style="border-collapse:collapse;border:1px solid red"> <tr> <td width=100 height=25><a href=datafld datafld=href1><span datafld=text1></span></a></td> <td width=100 height=25><a href=datafld datafld=href2><span datafld=text2></span></a></td> <td width=100 height=25><a href=datafld datafld=href3><span datafld=text3></span></a></td> </tr> </table> <input type=button value=previous onclick="tb.previousPage()"><input type=button value=next onclick="tb.nextPage()">
提示:您可以先修改部分代码再运行
[ 本帖由 yexj00 于 2004-3-14 14:27 最后编辑 ]
作者: yexj00 发布时间: 2004-03-14
<xml id="ye"> <usergroup> <user> <text1>网易1</text1> <href1>[url]http://www.163.com[/url]</href1> <text2>无忧1</text2> <href2>[url]http://www.51js.com[/url]</href2> <text3>新浪1</text3> <href3>[url]http://www.sina.com.cn[/url]</href3> </user> <user> <text1>网易2</text1> <href1>[url]http://www.163.com[/url]</href1> <text2>无忧2</text2> <href2>[url]http://www.51js.com[/url]</href2> <text3>新浪2</text3> <href3>[url]http://www.sina.com.cn[/url]</href3> </user> <user> <text1>网易3</text1> <href1>[url]http://www.163.com[/url]</href1> <text2>无忧3</text2> <href2>[url]http://www.51js.com[/url]</href2> <text3>新浪3</text3> <href3>[url]http://www.sina.com.cn[/url]</href3> </user> <user> <text1>网易4</text1> <href1>[url]http://www.163.com[/url]</href1> <text2>无忧4</text2> <href2>[url]http://www.51js.com[/url]</href2> <text3>新浪4</text3> <href3>[url]http://www.sina.com.cn[/url]</href3> </user> <user> <text1>网易5</text1> <href1>[url]http://www.163.com[/url]</href1> <text2>无忧5</text2> <href2>[url]http://www.51js.com[/url]</href2> <text3>新浪5</text3> <href3>[url]http://www.sina.com.cn[/url]</href3> </user> <user> <text1>网易6</text1> <href1>[url]http://www.163.com[/url]</href1> <text2>无忧6</text2> <href2>[url]http://www.51js.com[/url]</href2> <text3>新浪6</text3> <href3>[url]http://www.sina.com.cn[/url]</href3> </user> <user> <text1>网易7</text1> <href1>[url]http://www.163.com[/url]</href1> <text2>无忧7</text2> <href2>[url]http://www.51js.com[/url]</href2> <text3>新浪7</text3> <href3>[url]http://www.sina.com.cn[/url]</href3> </user> <user> <text1>网易8</text1> <href1>[url]http://www.163.com[/url]</href1> <text2>无忧8</text2> <href2>[url]http://www.51js.com[/url]</href2> <text3>新浪8</text3> <href3>[url]http://www.sina.com.cn[/url]</href3> </user> <user> <text1>网易9</text1> <href1>[url]http://www.163.com[/url]</href1> <text2>无忧9</text2> <href2>[url]http://www.51js.com[/url]</href2> <text3>新浪9</text3> <href3>[url]http://www.sina.com.cn[/url]</href3> </user> <user> <text1>网易10</text1> <href1>[url]http://www.163.com[/url]</href1> <text2>无忧10</text2> <href2>[url]http://www.51js.com[/url]</href2> <text3>新浪10</text3> <href3>[url]http://www.sina.com.cn[/url]</href3> </user> <user> <text1>网易11</text1> <href1>[url]http://www.163.com[/url]</href1> <text2>无忧11</text2> <href2>[url]http://www.51js.com[/url]</href2> <text3>新浪11</text3> <href3>[url]http://www.sina.com.cn[/url]</href3> </user> <user> <text1>网易12</text1> <href1>[url]http://www.163.com[/url]</href1> <text2>无忧12</text2> <href2>[url]http://www.51js.com[/url]</href2> <text3>新浪12</text3> <href3>[url]http://www.sina.com.cn[/url]</href3> </user> <user> <text1>网易13</text1> <href1>[url]http://www.163.com[/url]</href1> <text2>无忧13</text2> <href2>[url]http://www.51js.com[/url]</href2> <text3>新浪13</text3> <href3>[url]http://www.sina.com.cn[/url]</href3> </user> <user> <text1>网易14</text1> <href1>[url]http://www.163.com[/url]</href1> <text2>无忧14</text2> <href2>[url]http://www.51js.com[/url]</href2> <text3>新浪14</text3> <href3>[url]http://www.sina.com.cn[/url]</href3> </user> <user> <text1>网易15</text1> <href1>[url]http://www.163.com[/url]</href1> <text2>无忧15</text2> <href2>[url]http://www.51js.com[/url]</href2> <text3>新浪15</text3> <href3>[url]http://www.sina.com.cn[/url]</href3> </user> <user> <text1>网易16</text1> <href1>[url]http://www.163.com[/url]</href1> <text2>无忧16</text2> <href2>[url]http://www.51js.com[/url]</href2> <text3>新浪16</text3> <href3>[url]http://www.sina.com.cn[/url]</href3> </user> <user> <text1>网易17</text1> <href1>[url]http://www.163.com[/url]</href1> <text2>无忧17</text2> <href2>[url]http://www.51js.com[/url]</href2> <text3>新浪17</text3> <href3>[url]http://www.sina.com.cn[/url]</href3> </user> <user> <text1>网易18</text1> <href1>[url]http://www.163.com[/url]</href1> <text2>无忧18</text2> <href2>[url]http://www.51js.com[/url]</href2> <text3>新浪18</text3> <href3>[url]http://www.sina.com.cn[/url]</href3> </user> <user> <text1>网易19</text1> <href1>[url]http://www.163.com[/url]</href1> <text2>无忧19</text2> <href2>[url]http://www.51js.com[/url]</href2> <text3>新浪19</text3> <href3>[url]http://www.sina.com.cn[/url]</href3> </user> </usergroup> </xml> <table id=tb datasrc=#ye border datapagesize=3 style="border-collapse:collapse;border:1px solid red"> <tr> <td width=100 height=25><a href=datafld datafld=href1><span datafld=text1></span></a></td> <td width=100 height=25><a href=datafld datafld=href2><span datafld=text2></span></a></td> <td width=100 height=25><a href=datafld datafld=href3><span datafld=text3></span></a></td> </tr> </table> <input type=button value=previous onclick="tb.previousPage()"><input type=button value=next onclick="tb.nextPage()"> <input type=button value=Count onclick="alert(ye.XMLDocument.selectNodes('usergroup/user').length)">
提示:您可以先修改部分代码再运行
作者: 风云突变 发布时间: 2004-03-14
佩服.
[ 本帖由 yexj00 于 2004-3-14 14:26 最后编辑 ]
[ 本帖由 yexj00 于 2004-3-14 14:26 最后编辑 ]
作者: yexj00 发布时间: 2004-03-14
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28