社区
XML/XSL
帖子详情
刚学xml,请问count(child::*[name()='pager_list'])这句话是什么意思?谢谢!
luoxiang2000
2003-09-29 08:51:24
主要是不理解:
1、child::是什么意思?child后面怎么跟着两个:?
2、name()换成nodeName()为什么不行?
...全文
43
5
打赏
收藏
刚学xml,请问count(child::*[name()='pager_list'])这句话是什么意思?谢谢!
主要是不理解: 1、child::是什么意思?child后面怎么跟着两个:? 2、name()换成nodeName()为什么不行?
复制链接
扫一扫
分享
转发到动态
举报
AI
作业
写回复
配置赞助广告
用AI写文章
5 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
colee
2003-10-09
打赏
举报
回复
或count(child::pager_list)
colee
2003-10-09
打赏
举报
回复
位置路径的制定规则如下:
LocationPath ::= RelativeLocationPath
| AbsoluteLocationPath
AbsoluteLocationPath ::= '/' RelativeLocationPath?
| AbsoluteLocationPath
RelativeLocationPath ::= Step
| RelativeLocationPath '/' Step
| AbbreviatedRelativeLocationPath
count(child::*[name()='pager_list']) 表示当前节点下所有节点名为‘pager_list’的节点数
可简写成count(pager_list)
luoxiang2000
2003-10-07
打赏
举报
回复
???
luoxiang2000
2003-09-30
打赏
举报
回复
一个:代表--用来将名字作用范围前缀与元素或属性名分隔开
两个:表示什么?
月光易水
2003-09-29
打赏
举报
回复
1. 代表当前节点下所有的子节点。查阅msxml sdk
2. msxml早期xsl标准支持nodeName(),w3c 标准(xslt1.0)以name()取代之
:_)
购物车
一、View
Page
: 1.
xml
<android.support.v4.view.View
Page
r android:id="@+id/
page
r" android:layout_weight="1" android:layout_width="match_parent" android:layout_height="...
Beetl页面模板文档
类似Javascript语法和习俗,只要半小时就能通过半学半猜完全掌握用法。拒绝其他模板引擎那种非人性化的语法和习俗。同时也能支持html 标签,使得开发CMS系统比较容易 超高的性能:Beetl 远超过主流java模板引擎...
各种屏幕尺寸,以及Android的系统定义
-- Size of the giant number (unread
count
) in the notifications --> <dimen name="status_bar_content_number_size">48sp <!-- Height of the system bar (combined status & navigation); used by SystemUI ...
ecshop 学习笔记
1、根目录:前台程序文件2、admin:后台程序文件夹 --根目录:后台程序文件 *.php文件 --help\zh_cn:各功能的帮助文件 *.
xml
文件 --images:后台页面用图片 --includes:后台公用文件和函数 --js:后台用js脚本 --...
Expandable
List
view购物车
一、View
Page
: 1.
xml
<android.support.v4.view.View
Page
r android:id="@+id/
page
r" android:layout_weight="1" android:layout_width="match_parent" andr...
XML/XSL
8,909
社区成员
22,678
社区内容
发帖
与我相关
我的任务
XML/XSL
XML/XSL相关问题讨论专区
复制链接
扫一扫
分享
社区描述
XML/XSL相关问题讨论专区
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章